ColdstarRefrigeration

<back to all web services

GetCustomers

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

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 /GetCustomers HTTP/1.1 
Host: api.coldstarrefrigeration.co.uk 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfCustomersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ColdstarRefrigeration.ViewModels">
  <CustomersViewModel>
    <AddressLine1>String</AddressLine1>
    <AddressLine2>String</AddressLine2>
    <AddressLine3>String</AddressLine3>
    <AddressLine4>String</AddressLine4>
    <County>String</County>
    <EmailAddress>String</EmailAddress>
    <Id>0</Id>
    <IsActive>false</IsActive>
    <Name>String</Name>
    <Postcode>String</Postcode>
    <Telephone>String</Telephone>
    <TownCity>String</TownCity>
  </CustomersViewModel>
</ArrayOfCustomersViewModel>