Amazon Refrigeration

<back to all web services

GetCustomerSites

The following routes are available for this service:
GET/GetCustomerSites

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /GetCustomerSites HTTP/1.1 
Host: amazon-api.squareonesystems.co.uk 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfCustomerSitesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmazonRefrigeration.ViewModels">
  <CustomerSitesViewModel>
    <AddressLine1>String</AddressLine1>
    <AddressLine2>String</AddressLine2>
    <AddressLine3>String</AddressLine3>
    <County>String</County>
    <CustomerId>0</CustomerId>
    <EmailAddress>String</EmailAddress>
    <Id>0</Id>
    <Name>String</Name>
    <Postcode>String</Postcode>
    <Telephone>String</Telephone>
    <TownCity>String</TownCity>
  </CustomerSitesViewModel>
</ArrayOfCustomerSitesViewModel>