POST api/Address/SelectAddress?AddressId={AddressId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AddressId

string

Required

Body Parameters

None.

Response Information

Resource Description

Address
NameDescriptionTypeAdditional information
AddressLine1

string

Required

AddressLine2

string

None.

AddressLine3

string

None.

CountryId

globally unique identifier

Required

County

string

None.

HouseName

string

None.

HouseNumber

string

None.

PostCode

string

Required

Town

string

Required

Response Formats

application/json, text/json

Sample:
{
  "AddressLine1": "sample string 1",
  "AddressLine2": "sample string 2",
  "AddressLine3": "sample string 3",
  "CountryId": "b5d0e736-4ca0-4743-bc86-7b1c8c4ac2ae",
  "County": "sample string 4",
  "HouseName": "sample string 5",
  "HouseNumber": "sample string 6",
  "PostCode": "sample string 7",
  "Town": "sample string 8"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <AddressLine1>sample string 1</AddressLine1>
  <AddressLine2>sample string 2</AddressLine2>
  <AddressLine3>sample string 3</AddressLine3>
  <CountryId>b5d0e736-4ca0-4743-bc86-7b1c8c4ac2ae</CountryId>
  <County>sample string 4</County>
  <HouseName>sample string 5</HouseName>
  <HouseNumber>sample string 6</HouseNumber>
  <PostCode>sample string 7</PostCode>
  <Town>sample string 8</Town>
</Address>