GET api/AuthenticationToken?username={username}&passwordmd5={passwordmd5}&customerid={customerid}&otp={otp}&otk={otk}&sut={sut}&iscustomer={iscustomer}
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| UserID | globally unique identifier |
None. |
|
| JsonWebToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"customer-id": "a257325a-0fe0-4200-a038-92559fd405a6",
"user-id": "e1990777-5e56-43a4-8020-2116b48ee1e0",
"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>a257325a-0fe0-4200-a038-92559fd405a6</CustomerID> <JsonWebToken>sample string 3</JsonWebToken> <UserID>e1990777-5e56-43a4-8020-2116b48ee1e0</UserID> </AuthenticationToken>