POST api/mobile/gettoken
Get Token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AuthTokenModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| LastClientBusinessUnitId | globally unique identifier |
None. |
|
| UserName | string |
None. |
|
| LastClientBusinessUnitName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "95fc24f9-8012-4dbe-8fbe-e19b7770cc81",
"LastClientBusinessUnitId": "2fd8cbf8-6d32-4dda-9735-e15507145a4e",
"UserName": "sample string 2",
"LastClientBusinessUnitName": "sample string 3"
}
application/xml, text/xml
Sample:
<AuthTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.CPCNL.BLL.Models.ApiModels"> <Id>95fc24f9-8012-4dbe-8fbe-e19b7770cc81</Id> <LastClientBusinessUnitId>2fd8cbf8-6d32-4dda-9735-e15507145a4e</LastClientBusinessUnitId> <LastClientBusinessUnitName>sample string 3</LastClientBusinessUnitName> <UserName>sample string 2</UserName> </AuthTokenModel>