Retrieves information about the current user.
Content Type:
application/xml
or
application/json
Basic details of the user or an error message.
| XML JSON |
|---|
<Response>
<Result>
<ID>long</ID> <!--Unique member ID-->
<Code>string</Code> <!--Member code-->
<Username>string</Username>
<ShortName>string</ShortName> <!--First and last names-->
<Category>string</Category> <!--Category code-->
<IsServiceAccount>bool</IsServiceAccount>
<Contact>
<ID>long</ID> <!--Contact number (unique ID)-->
<FileAs>string</FileAs> <!--File-as name-->
</Contact>
</Result>
<Message>string</Message> <!--Error message-->
</Response>
|
{
"Result": {
"ID": "long", // Unique member ID
"Code": "string", // Member code
"Username": "string",
"ShortName": "string", // First and last names
"Category": "string", // Category code
"IsServiceAccount": "bool",
"Contact": {
"ID": "long", // Contact number (unique ID)
"FileAs": "string" // File-as name
}
},
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 200 OK | The operation completed successfully. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 500 Internal Server Error | An internal error occurred. |