GET api/endereco/getenderecos

Obtém a lista de endereços do cliente.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetEnderecosClienteResult
NameDescriptionTypeAdditional information
Enderecos

Collection of GetEnderecosItemResult

None.

Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Enderecos": [
    {
      "EnderecoId": 1,
      "NomeEndereco": "sample string 2",
      "Endereco": "sample string 3",
      "Cidade": "sample string 4",
      "Estado": "sample string 5",
      "Cep": "sample string 6",
      "Numero": "sample string 7",
      "Bairro": "sample string 8",
      "Complemento": "sample string 9",
      "Latitude": "sample string 10",
      "Longitude": "sample string 11",
      "Distancia": "sample string 12",
      "Duracao": "sample string 13",
      "DistanciaValue": 14
    },
    {
      "EnderecoId": 1,
      "NomeEndereco": "sample string 2",
      "Endereco": "sample string 3",
      "Cidade": "sample string 4",
      "Estado": "sample string 5",
      "Cep": "sample string 6",
      "Numero": "sample string 7",
      "Bairro": "sample string 8",
      "Complemento": "sample string 9",
      "Latitude": "sample string 10",
      "Longitude": "sample string 11",
      "Distancia": "sample string 12",
      "Duracao": "sample string 13",
      "DistanciaValue": 14
    }
  ],
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GetEnderecosClienteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded>true</Succeeded>
  <Enderecos>
    <GetEnderecosItemResult>
      <Bairro>sample string 8</Bairro>
      <Cep>sample string 6</Cep>
      <Cidade>sample string 4</Cidade>
      <Complemento>sample string 9</Complemento>
      <Distancia>sample string 12</Distancia>
      <DistanciaValue>14</DistanciaValue>
      <Duracao>sample string 13</Duracao>
      <Endereco>sample string 3</Endereco>
      <EnderecoId>1</EnderecoId>
      <Estado>sample string 5</Estado>
      <Latitude>sample string 10</Latitude>
      <Longitude>sample string 11</Longitude>
      <NomeEndereco>sample string 2</NomeEndereco>
      <Numero>sample string 7</Numero>
    </GetEnderecosItemResult>
    <GetEnderecosItemResult>
      <Bairro>sample string 8</Bairro>
      <Cep>sample string 6</Cep>
      <Cidade>sample string 4</Cidade>
      <Complemento>sample string 9</Complemento>
      <Distancia>sample string 12</Distancia>
      <DistanciaValue>14</DistanciaValue>
      <Duracao>sample string 13</Duracao>
      <Endereco>sample string 3</Endereco>
      <EnderecoId>1</EnderecoId>
      <Estado>sample string 5</Estado>
      <Latitude>sample string 10</Latitude>
      <Longitude>sample string 11</Longitude>
      <NomeEndereco>sample string 2</NomeEndereco>
      <Numero>sample string 7</Numero>
    </GetEnderecosItemResult>
  </Enderecos>
</GetEnderecosClienteResult>