POST api/Access/AuthenticationCavali

Request Information

URI Parameters

None.

Body Parameters

Token
NameDescriptionTypeAdditional information
key_client

string

None.

Request Formats

application/json, text/json

Sample:
{
  "key_client": "sample string 1"
}

application/xml, text/xml

Sample:
<Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiCavaliExterno.Models.WS">
  <key_client>sample string 1</key_client>
</Token>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RequestService
NameDescriptionTypeAdditional information
result

integer

None.

token

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": 1,
  "token": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<RequestService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiCavaliExterno.Controllers">
  <message>sample string 3</message>
  <result>1</result>
  <token>sample string 2</token>
</RequestService>