POST api/AuthToken

Request Information

URI Parameters

None.

Body Parameters

AuthTokenRequest
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AuthTokenRequest'.

Response Information

Resource Description

AuthTokenResponse
NameDescriptionTypeAdditional 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>