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": "2e4c4d75-2845-482e-980b-7995f8f2b00b",
"user-id": "a697662e-fc50-4f17-a0b1-db5e0dbf4966",
"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>2e4c4d75-2845-482e-980b-7995f8f2b00b</CustomerID> <JsonWebToken>sample string 3</JsonWebToken> <UserID>a697662e-fc50-4f17-a0b1-db5e0dbf4966</UserID> </AuthenticationToken>