POST api/auth/logincustomer

Submits username and password to receive a login session token for a specific customer. Note that the username can be either CustomerId or phone number.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A Base64-encoded token, to be submitted in the authorization header of subsequent calls to the API.

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>