POST api/Postcode/AddressLookup

Request Information

URI Parameters

None.

Body Parameters

PostcodeViewModel
NameDescriptionTypeAdditional information
Postcode

string

String length: inclusive between 0 and 10

Identifier

string

None.

County

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "postcode": "sample string 1",
  "identifier": "sample string 2",
  "county": "sample string 3"
}

application/xml, text/xml

Sample:
<WizardViewModels.PostcodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model">
  <County>sample string 3</County>
  <Identifier>sample string 2</Identifier>
  <Postcode>sample string 1</Postcode>
</WizardViewModels.PostcodeViewModel>

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.