GET api/User?userId={userId}
Gets the session's logged-in customer. Needs a valid session token: 401 otherwise. An error (500) if userId isn't the session's own user, or the user doesn't exist.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
The session's user ID. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The customer.
User| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
The user ID. |
globally unique identifier |
None. |
|
The email address, which is also the login name. |
string |
None. |
|
| FirstName |
First name. |
string |
None. |
| LastName |
Last name. |
string |
None. |
| Description |
The name Monad shows for the customer. |
string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.