POST api/ValidateLogin
Request Information
URI Parameters
None.
Body Parameters
SubscriberLogin| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<SubscriberLogin xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserName>sample string 1</UserName> <Password>sample string 2</Password> </SubscriberLogin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnObjectOfsubscriberLogingResp| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Messages | Collection of string |
None. |
|
| ErrorCode | integer |
None. |
|
| Response | subscriberLogingResp |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Messages": [
"sample string 1",
"sample string 2"
],
"ErrorCode": 2,
"Response": {
"AuthToken": "sample string 1",
"IsPasswordUpdated": true,
"IsPasswordCompliant": true,
"ErrorCode": 4,
"RefreshToken": "sample string 5",
"IsValid": true,
"IsExpired": true
}
}
application/xml, text/xml
Sample:
<ReturnObjectOfsubscriberLogingResp xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IsSuccess>true</IsSuccess>
<Messages>
<string>sample string 1</string>
<string>sample string 2</string>
</Messages>
<ErrorCode>2</ErrorCode>
<Response>
<AuthToken>sample string 1</AuthToken>
<IsPasswordUpdated>true</IsPasswordUpdated>
<IsPasswordCompliant>true</IsPasswordCompliant>
<ErrorCode>4</ErrorCode>
<RefreshToken>sample string 5</RefreshToken>
<IsValid>true</IsValid>
<IsExpired>true</IsExpired>
</Response>
</ReturnObjectOfsubscriberLogingResp>