POST api/Auth/login
Request Information
URI Parameters
None.
Body Parameters
TokenModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| IsExpired | boolean |
None. |
|
| IsValid | boolean |
None. |
|
| Ip | string |
Required |
|
| UserId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"IsExpired": true,
"IsValid": true,
"Ip": "sample string 4",
"UserId": 1
}
application/xml, text/xml
Sample:
<TokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/egestaoacesso.Models"> <Ip>sample string 4</Ip> <IsExpired>true</IsExpired> <IsValid>true</IsValid> <Token>sample string 1</Token> <UserId>1</UserId> </TokenModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.