GET api/PostalCodeLookupAddress?Postalcode={Postalcode}&HouseNumber={HouseNumber}&CountryId={CountryId}

This is a service for retrieving an address object with the zipcode and house number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Postalcode

The postal/zipcode to search with

string

Required

HouseNumber

The number of the house to search with

string

Required

CountryId

The country Id (NL for The Netherlands, B for Belgium)

string

Required

Body Parameters

None.

Response Information

Resource Description

The address object

PostalCodeLookupAddress
NameDescriptionTypeAdditional information
City

string

None.

Street

string

None.

HouseNumber

string

None.

Postcode

string

None.

Municipality

string

None.

Province

string

None.

AddressType

string

None.

RdX

string

None.

RdY

string

None.

Latitude

string

None.

Longitude

string

None.

Response Formats

application/json, text/json

Sample:
{
  "City": "sample string 1",
  "Street": "sample string 2",
  "HouseNumber": "sample string 3",
  "Postcode": "sample string 4",
  "Municipality": "sample string 5",
  "Province": "sample string 6",
  "AddressType": "sample string 7",
  "RdX": "sample string 8",
  "RdY": "sample string 9",
  "Latitude": "sample string 10",
  "Longitude": "sample string 11"
}

application/xml, text/xml

Sample:
<PostalCodeLookupAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZipCodeApi.Models">
  <AddressType>sample string 7</AddressType>
  <City>sample string 1</City>
  <HouseNumber>sample string 3</HouseNumber>
  <Latitude>sample string 10</Latitude>
  <Longitude>sample string 11</Longitude>
  <Municipality>sample string 5</Municipality>
  <Postcode>sample string 4</Postcode>
  <Province>sample string 6</Province>
  <RdX>sample string 8</RdX>
  <RdY>sample string 9</RdY>
  <Street>sample string 2</Street>
</PostalCodeLookupAddress>