Gets an addres by id.

Request Information

Parameters

NameDescriptionAdditional information
id The id of the address

Define this parameter in the request URI.

Response Information

Returns: The address model

Response body formats

application/json, text/json

Sample:
{
  "Uri": "/addresses/1",
  "Id": 1,
  "CompanyUri": "/companies/2",
  "Name": "Leveringsadres",
  "StreetNr": "Example street 1",
  "Zip": "1000",
  "City": "Brussels",
  "Country": "BEL",
  "CompanyId": 2
}

application/xml, text/xml

Sample:
<AddressRestGet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>Leveringsadres</Name>
  <StreetNr>Example street 1</StreetNr>
  <Zip>1000</Zip>
  <City>Brussels</City>
  <Country>BEL</Country>
  <CompanyId>2</CompanyId>
  <Uri>/addresses/1</Uri>
  <Id>1</Id>
  <CompanyUri>/companies/2</CompanyUri>
</AddressRestGet>