POST api/Autenticacao

Request Information

URI Parameters

None.

Body Parameters

AutenticacaoRequest
NameDescriptionTypeAdditional information
Token

globally unique identifier

None.

IdPortal

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "132a314b-0329-4b31-b66d-bcb921cced5f",
  "IdPortal": 2
}

application/xml, text/xml

Sample:
<AutenticacaoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LinxMicrovix.Web.Requests">
  <IdPortal>2</IdPortal>
  <Token>132a314b-0329-4b31-b66d-bcb921cced5f</Token>
</AutenticacaoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RetornoAutenticacao
NameDescriptionTypeAdditional information
Token

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "d03e1651-8452-41b5-8992-1e3858aac3db"
}

application/xml, text/xml

Sample:
<RetornoAutenticacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LinxMicrovix.Web.Responses">
  <Token>d03e1651-8452-41b5-8992-1e3858aac3db</Token>
</RetornoAutenticacao>