Detecting language please wait for.......
Dear community members,
I would like to retrieve the status of a WS user via the SDK. With "status", I mean whether the user is enabled or has been disabled. I could not find the property under WSuser object which would help me to find this information. Or I oversaw it.
I would like to find this information via the SDK since I am retrieving the users of a vendor. As far as I could see, I cannot retrieve a vendor from the REST API.
Thanks in advance for your support.
Unfortunately, the REST API doesn't have any methods to retrieve vendors specifically but from the User based endpoints you can see if a User is part of Vendor object.
If you call the Get User or Get Users endpoint using either of the URLs:
Here is a screenshot of the sort of response:
Also, just to add, Did you know its possible to write Custom REST endpoints for WS? In my Role in SDL I have been creating a few for other customers recently to help them with requests like this to fill small gaps and meet specific needs not currently met by the out of the box API.
So if you wanted a dedicated REST endpoint for obtaining Vendor information then is could be achieved in this manner also.
Dear Ryan Betton, Thank you for your answer. I understand that this is not possible via the REST API. Anyway, I am using the SDK because I want to retrieve all users in a vendor. I can achieve this with the SDK but I cannot see in the list of users which property indicates whether an user in the list is active or not. Is this property exposed in the SDK? Regards, Laurent
This is not possible via the REST API. You can try the User based endpoints.
how to delete snapchat