POST ConsultaAereo/Aeroportos?filtro={filtro}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filtro

string

Required

Body Parameters

None.

Response Information

Resource Description

ContainerObjectOfAeroportoDTO
NameDescriptionTypeAdditional information
TotalItens

integer

None.

Completed

boolean

None.

Success

boolean

None.

HasResult

boolean

None.

Erro

Exception

None.

MensagemErro

string

None.

Data

Collection of AeroportoDTO

None.

Token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItens": 1,
  "Completed": true,
  "Success": false,
  "HasResult": false,
  "Erro": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "MensagemErro": "sample string 3",
  "Data": [
    {
      "Index": 1,
      "Iata": "sample string 2",
      "Nome": "sample string 3",
      "Cidade": "sample string 4",
      "Estado": "sample string 5",
      "Pais": "sample string 6",
      "Latitude": "sample string 7",
      "Longitude": "sample string 8",
      "TimeZone": "sample string 9",
      "urlImagens": [
        "sample string 1",
        "sample string 2"
      ],
      "Internacional": true,
      "Prioridade": 11,
      "Icao": "sample string 12"
    },
    {
      "Index": 1,
      "Iata": "sample string 2",
      "Nome": "sample string 3",
      "Cidade": "sample string 4",
      "Estado": "sample string 5",
      "Pais": "sample string 6",
      "Latitude": "sample string 7",
      "Longitude": "sample string 8",
      "TimeZone": "sample string 9",
      "urlImagens": [
        "sample string 1",
        "sample string 2"
      ],
      "Internacional": true,
      "Prioridade": 11,
      "Icao": "sample string 12"
    }
  ],
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<ContainerObjectOfAeroportoDTOFn19pq3u xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model">
  <Completed>true</Completed>
  <Data>
    <AeroportoDTO>
      <Cidade>sample string 4</Cidade>
      <Estado>sample string 5</Estado>
      <Iata>sample string 2</Iata>
      <Icao>sample string 12</Icao>
      <Index>1</Index>
      <Internacional>true</Internacional>
      <Latitude>sample string 7</Latitude>
      <Longitude>sample string 8</Longitude>
      <Nome>sample string 3</Nome>
      <Pais>sample string 6</Pais>
      <Prioridade>11</Prioridade>
      <TimeZone>sample string 9</TimeZone>
      <urlImagens xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </urlImagens>
    </AeroportoDTO>
    <AeroportoDTO>
      <Cidade>sample string 4</Cidade>
      <Estado>sample string 5</Estado>
      <Iata>sample string 2</Iata>
      <Icao>sample string 12</Icao>
      <Index>1</Index>
      <Internacional>true</Internacional>
      <Latitude>sample string 7</Latitude>
      <Longitude>sample string 8</Longitude>
      <Nome>sample string 3</Nome>
      <Pais>sample string 6</Pais>
      <Prioridade>11</Prioridade>
      <TimeZone>sample string 9</TimeZone>
      <urlImagens xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </urlImagens>
    </AeroportoDTO>
  </Data>
  <Erro xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Erro>
  <MensagemErro>sample string 3</MensagemErro>
  <Token>sample string 4</Token>
  <TotalItens>1</TotalItens>
</ContainerObjectOfAeroportoDTOFn19pq3u>