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

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

GenericResponse

NameDescriptionTypeAdditional Information
ResponseCode

APIResponseCodes

None.

Message

string

None.

CorrelationId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 0,
  "Message": "sample string 1",
  "CorrelationId": "sample string 2"
}

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">
  <CorrelationId>sample string 2</CorrelationId>
  <Message>sample string 1</Message>
  <ResponseCode>Success</ResponseCode>
</GenericResponse>