POST api/AuthToken
Request Information
URI Parameters
None.
Body Parameters
AuthTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| pwdHash | string |
None. |
|
| username | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"pwdHash": "sample string 1",
"username": "sample string 2"
}
application/xml, text/xml
Sample:
<AuthTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qnips.CheckoutAPI.Models"> <pwdHash>sample string 1</pwdHash> <username>sample string 2</username> </AuthTokenRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AuthTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AuthToken": "sample string 1"
}
application/xml, text/xml
Sample:
<AuthTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qnips.CheckoutAPI.Models"> <AuthToken>sample string 1</AuthToken> </AuthTokenResponse>