GET api/address/Retrieve?id={id}
returns address full details after passing the id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ERP.Domain.CustomerPortal.AddressesName | Description | Type | Additional information |
---|---|---|---|
Postcode | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
HouseName | string |
None. |
|
County | string |
None. |
|
Town | string |
None. |
|
Country | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "postcode": "sample string 1", "addressLine1": "sample string 2", "addressLine2": "sample string 3", "houseName": "sample string 4", "county": "sample string 5", "town": "sample string 6", "country": "sample string 7" }
application/xml, text/xml
Sample:
<Addresses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Domain.CustomerPortal"> <AddressLine1>sample string 2</AddressLine1> <AddressLine2>sample string 3</AddressLine2> <Country>sample string 7</Country> <County>sample string 5</County> <HouseName>sample string 4</HouseName> <Postcode>sample string 1</Postcode> <Town>sample string 6</Town> </Addresses>