POST api/Authentication?timeStamp={timeStamp}&username={username}&publicKey={publicKey}
Creates a login token that gets passed with the DeckCommerce Login page URL so a user can login to DeckCommerce.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| timeStamp | string |
Required |
|
| username | string |
Required |
|
| publicKey | string |
Required |
Body Parameters
None.
Response Information
Resource Description
A response code. If success, then then a URL is passed back in the message.
| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1"
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API"> <Message>sample string 1</Message> <ResponseCode>Success</ResponseCode> </GenericResponse>