POST api/Auth/Token

Request Information

URI Parameters

None.

Body Parameters

Auth
NameDescriptionTypeAdditional information
RefreshToken

string

Required

User

string

None.

Senha

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RefreshToken": "sample string 1",
  "User": "sample string 2",
  "Senha": "sample string 3"
}

application/xml, text/xml

Sample:
<Auth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISuply.Models">
  <RefreshToken>sample string 1</RefreshToken>
  <Senha>sample string 3</Senha>
  <User>sample string 2</User>
</Auth>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Auth'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />