GET api/postal/{code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PostalCodeInfo
NameDescriptionTypeAdditional information
Ciudad

string

None.

Municipio

string

None.

Settlement

string

None.

Estado

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Ciudad": "sample string 1",
    "Municipio": "sample string 2",
    "Settlement": "sample string 3",
    "Estado": "sample string 4"
  },
  {
    "Ciudad": "sample string 1",
    "Municipio": "sample string 2",
    "Settlement": "sample string 3",
    "Estado": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPostalCodeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrmAppsUP.Areas.Api.Models">
  <PostalCodeInfo>
    <Ciudad>sample string 1</Ciudad>
    <Estado>sample string 4</Estado>
    <Municipio>sample string 2</Municipio>
    <Settlement>sample string 3</Settlement>
  </PostalCodeInfo>
  <PostalCodeInfo>
    <Ciudad>sample string 1</Ciudad>
    <Estado>sample string 4</Estado>
    <Municipio>sample string 2</Municipio>
    <Settlement>sample string 3</Settlement>
  </PostalCodeInfo>
</ArrayOfPostalCodeInfo>