POST api/Login?siteId={siteId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteId | integer |
Required |
Body Parameters
LoginRequestName | Description | Type | Additional information |
---|---|---|---|
Unique | string |
None. |
|
password | string |
None. |
|
token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Unique": "sample string 1", "password": "sample string 2", "token": "sample string 3" }
application/xml, text/xml
Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LoginService.Models"> <Unique>sample string 1</Unique> <password>sample string 2</password> <token>sample string 3</token> </LoginRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginAnswerName | Description | Type | Additional information |
---|---|---|---|
HasMoreLoginOptions | boolean |
None. |
|
IsVerified | boolean |
None. |
|
IsNeedCaptcha | boolean |
None. |
|
DynamicList | Collection of Dictionary of string [key] and string [value] |
None. |
|
Link | string |
None. |
|
Link2 | string |
None. |
|
SiteName1 | string |
None. |
|
SiteName2 | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "HasMoreLoginOptions": true, "IsVerified": true, "IsNeedCaptcha": true, "DynamicList": [ { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } ], "Link": "sample string 4", "Link2": "sample string 5", "SiteName1": "sample string 6", "SiteName2": "sample string 7" }
application/xml, text/xml
Sample:
<LoginAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LoginService.Models"> <DynamicList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:ArrayOfKeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </d2p1:ArrayOfKeyValueOfstringstring> <d2p1:ArrayOfKeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </d2p1:ArrayOfKeyValueOfstringstring> </DynamicList> <HasMoreLoginOptions>true</HasMoreLoginOptions> <IsNeedCaptcha>true</IsNeedCaptcha> <IsVerified>true</IsVerified> <Link>sample string 4</Link> <Link2>sample string 5</Link2> <SiteName1>sample string 6</SiteName1> <SiteName2>sample string 7</SiteName2> </LoginAnswer>