POST api/GetTokenUser
Valida usuario del tms y entrega Token
Request Information
URI Parameters
None.
Body Parameters
LoginDataName | Description | Type | Additional information |
---|---|---|---|
Uid |
Usuario de sistema |
string |
None. |
Pwd |
Password |
string |
None. |
IMEI |
IMEI del equipo usado |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Uid": "sample string 1", "Pwd": "sample string 2", "IMEI": "sample string 3" }
application/xml, text/xml
Sample:
<Estructuras.LoginData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITms.Models"> <IMEI>sample string 3</IMEI> <Pwd>sample string 2</Pwd> <Uid>sample string 1</Uid> </Estructuras.LoginData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
retorna un objeto que contiene un token y su fecha de expiracion
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |