GET api/users/{id}/subjects
Requires authentication. Returns all subjects for a given user If successful returns "200 OK", with the body of the response containing a representation of the the subjects. If not found, returns "404 Not Found" If CRM operations fail for an un-recoverable reason, the service returns "502 Bad Gateway" Any other server-side errors return "500 Internal Server Error"
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
UserSubjectsListRepresentation
UserSubjectListsRepresentationName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique identifier - same as in CRM |
globally unique identifier |
None. |
TotalResults | integer |
None. |
|
ResourceList | Collection of SubjectRepresentation |
None. |
|
Links | Collection of Link |
None. |
Response Formats
application/json, text/json, application/hal+json, application/hal+xml
Sample:
Sample not available.