GET api/AuthenticationToken?username={username}&passwordmd5={passwordmd5}&customerid={customerid}&otp={otp}&otk={otk}&sut={sut}&iscustomer={iscustomer}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

None.

passwordmd5

string

None.

customerid

globally unique identifier

None.

otp

string

None.

otk

string

None.

sut

string

None.

iscustomer

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

AuthenticationToken
NameDescriptionTypeAdditional information
CustomerID

globally unique identifier

None.

UserID

globally unique identifier

None.

JsonWebToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "customer-id": "a9cdf8e8-8fc8-48f2-a4f8-0187f9bf4f08",
  "user-id": "a390949b-016e-4cbe-a25e-33da96a786b9",
  "json-web-token": "sample string 3"
}

application/xml, text/xml

Sample:
<AuthenticationToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models">
  <CustomerID>a9cdf8e8-8fc8-48f2-a4f8-0187f9bf4f08</CustomerID>
  <JsonWebToken>sample string 3</JsonWebToken>
  <UserID>a390949b-016e-4cbe-a25e-33da96a786b9</UserID>
</AuthenticationToken>