POST api/{ext}/address/PostalLookup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ext

string

None.

Body Parameters

PostalLookupParm
NameDescriptionTypeAdditional information
CountryID

string

None.

PostalCode

string

None.

CalculateDistance

boolean

None.

LookupCourier

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryID": "sample string 1",
  "PostalCode": "sample string 2",
  "CalculateDistance": true,
  "LookupCourier": true
}

application/xml, text/xml

Sample:
<PostalLookupParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Shipper1.Models">
  <CalculateDistance>true</CalculateDistance>
  <CountryID>sample string 1</CountryID>
  <LookupCourier>true</LookupCourier>
  <PostalCode>sample string 2</PostalCode>
</PostalLookupParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.