Get a user
Name | Type | Required | Optional | Searchable | Note |
---|---|---|---|---|---|
userid | numeric | REQUIRED, Passed via URI |
http://devsandbox.targetsolutions.com/v1/users/{userid}
GET /users/{userid} HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: llkSJyBMm/bLicUexj0F7A==
Cache-Control: no-cache
{ "links":{ "credentials":"http://devsandbox.targetsolutions.com/v1/users/484703/credentials", "acccss/modules":"http://devsandbox.targetsolutions.com/v1/users/484703/access/modules", "resourcelink":"http://devsandbox.targetsolutions.com/v1/users/484703", "groups":"http://devsandbox.targetsolutions.com/v1/users/484703/groups", "access/groups":"http://devsandbox.targetsolutions.com/v1/users/484703/access/groups" }, "firstname":"2sd32a", "employeeid":"2sd32a", "email":[ ], "username":"2sd32a@2sd32.com", "status":"Expired", "lastname":"2sd32a", "userid":484703 }
{ "httpcode":200, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901", "developermessage":"The request returned zero results.", "statuscode":901, "status":"ok" }
{ "httpcode":401, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800", "developermessage":"A request was made to a resource that you do not have ownership of.", "statuscode":800, "status":"access denied" }