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": "f398f145-471b-4736-a2a6-6ac06e6431d3",
"user-id": "88f4f98d-ee2a-4aed-8129-16a2078d185c",
"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>f398f145-471b-4736-a2a6-6ac06e6431d3</CustomerID> <JsonWebToken>sample string 3</JsonWebToken> <UserID>88f4f98d-ee2a-4aed-8129-16a2078d185c</UserID> </AuthenticationToken>