GET api/Login?user={user}&pass={pass}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| user | string |
Required |
|
| pass | string |
Required |
Body Parameters
None.
Response Information
Resource Description
LoginApp| Name | Description | Type | Additional information |
|---|---|---|---|
| login_correcto | integer |
None. |
|
| token | string |
None. |
|
| nombre_vendedor | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"login_correcto": 1,
"token": "sample string 2",
"nombre_vendedor": "sample string 3"
}
application/xml, text/xml
Sample:
<LoginApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppVendedoresREST"> <login_correcto>1</login_correcto> <nombre_vendedor>sample string 3</nombre_vendedor> <token>sample string 2</token> </LoginApp>