GET api/ConsultaViagem/BuscaViagem/{token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

ParametrosViagem
NameDescriptionTypeAdditional information
num_viag

integer

None.

date_de

string

None.

date_ate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "num_viag": 1,
  "date_de": "sample string 2",
  "date_ate": "sample string 3"
}

text/xml

Sample:
<ParametrosViagem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RDCAPI.Models">
  <date_ate>sample string 3</date_ate>
  <date_de>sample string 2</date_de>
  <num_viag>1</num_viag>
</ParametrosViagem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

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