POST api/Access
get Obtiene token GET: api/Access
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| user | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"user": "sample string 1",
"password": "sample string 2"
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecepcionWebService.Models"> <password>sample string 2</password> <user>sample string 1</user> </User>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<UserTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecepcionWebService.Models"> <msg>sample string 2</msg> <token>sample string 1</token> </UserTokenResponse>