POST papi/v1/generatetoken
Security
Anonymous API
Request Information
URI Parameters
None.
Required Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
ConsumerId |
Represents the value of the consumer id. Allow multiple values: no. |
2426 | integer | None |
Optional Headers
Name | Description | Sample | Type | Default |
---|---|---|---|---|
ApplicationType |
Represents the value of the consumer's application type. Allow multiple values: no. |
1 | ApplicationType | None |
Accept-Language |
Represents the value of the desired language for translations. Allow multiple values: yes. |
es | string | en |
Body Parameters
TokenAuthRequestName | Description | Type | Additional information |
---|---|---|---|
Otoken | string |
Required |
|
AuthType | AuthType |
None. |
|
SourceID | integer |
None. |
|
DeviceID | string |
None. |
|
VerifyExpiryYN | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Otoken": "sample string 1", "AuthType": "None", "SourceID": 2, "DeviceID": "sample string 3", "VerifyExpiryYN": true }
application/xml, text/xml
Sample:
<TokenAuthRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Otoken>sample string 1</Otoken> <AuthType>None</AuthType> <SourceID>2</SourceID> <DeviceID>sample string 3</DeviceID> <VerifyExpiryYN>true</VerifyExpiryYN> </TokenAuthRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AuthenticatedUserName | Description | Type | Additional information |
---|---|---|---|
UserDetails | IUserInfo |
None. |
|
PasswordHash | string |
None. |
|
PinHash | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserDetails": null, "PasswordHash": "sample string 1", "PinHash": "sample string 2" }