POST api/Token/Login
Request Information
URI Parameters
None.
Body Parameters
LoginRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserCode | string |
None. |
|
| PassWord | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserCode": "sample string 1",
"PassWord": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <PassWord>sample string 2</PassWord> <UserCode>sample string 1</UserCode> </LoginRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TokenInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | integer |
None. |
|
| Token | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": 1,
"Token": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<TokenInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <Message>sample string 3</Message> <Success>1</Success> <Token>sample string 2</Token> </TokenInfo>