Attempts to authenticate the provided user id and password
| Header | Name | Description | Type | Additional information |
|---|---|---|---|---|
| Accept | Mime Type |
The accept header used to specify the acceptable response mime type |
string |
Optional |
None.
The login request containing the user name and password to authenticate
{
"UserId": "sample string 1",
"Password": "sample string 2",
"AppKey": "b8a8fac5-6e5c-4b72-ac8a-e098630c154e",
"SecondaryId": "sample string 4"
}
A user authentication response containing the results of the authentication request
{
"IsAuthenticated": true,
"SecurityToken": "c76df78c-4043-4078-96af-a4ba5aa62124",
"UserId": "sample string 1",
"Status": 0,
"SecondaryId": "sample string 1",
"Role": 0,
"CorpId": null
}
An error response containing the details about a failed api request
{
"error": {
"batcherror": {
"operationindex": 1,
"requestindex": 2
},
"code": "UnknownError",
"innererror": {
"innererror": {
"message": {
"lang": "en-US",
"value": "sample string 3"
},
"type": "sample string 5",
"trace": "sample string 4"
},
"message": {
"lang": "en-US",
"value": "sample string 6"
},
"type": "sample string 8",
"trace": "sample string 7"
},
"message": {
"lang": "en-US",
"value": "sample string 9"
}
}
}