GET api/product/GetCustomerList

Get list of customers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
CustomerNumber

integer

None.

CustomerName

string

None.

ShipToList

Collection of ShipTo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerNumber": 1,
    "CustomerName": "sample string 2",
    "ShipToList": [
      {
        "ShipToCode": "sample string 1",
        "ShipToName": "sample string 2",
        "Address": "sample string 3",
        "City": "sample string 4",
        "State": "sample string 5",
        "ZipCode": "sample string 6",
        "CountryCode": "sample string 7",
        "Phone": "sample string 8",
        "Fax": "sample string 9",
        "Email": "sample string 10",
        "WarehouseCode": "sample string 11",
        "DeliveryMethod": "sample string 12",
        "PriceCode": "sample string 13",
        "PriceExceptionCode": "sample string 14",
        "IsDefault": true
      },
      {
        "ShipToCode": "sample string 1",
        "ShipToName": "sample string 2",
        "Address": "sample string 3",
        "City": "sample string 4",
        "State": "sample string 5",
        "ZipCode": "sample string 6",
        "CountryCode": "sample string 7",
        "Phone": "sample string 8",
        "Fax": "sample string 9",
        "Email": "sample string 10",
        "WarehouseCode": "sample string 11",
        "DeliveryMethod": "sample string 12",
        "PriceCode": "sample string 13",
        "PriceExceptionCode": "sample string 14",
        "IsDefault": true
      }
    ]
  },
  {
    "CustomerNumber": 1,
    "CustomerName": "sample string 2",
    "ShipToList": [
      {
        "ShipToCode": "sample string 1",
        "ShipToName": "sample string 2",
        "Address": "sample string 3",
        "City": "sample string 4",
        "State": "sample string 5",
        "ZipCode": "sample string 6",
        "CountryCode": "sample string 7",
        "Phone": "sample string 8",
        "Fax": "sample string 9",
        "Email": "sample string 10",
        "WarehouseCode": "sample string 11",
        "DeliveryMethod": "sample string 12",
        "PriceCode": "sample string 13",
        "PriceExceptionCode": "sample string 14",
        "IsDefault": true
      },
      {
        "ShipToCode": "sample string 1",
        "ShipToName": "sample string 2",
        "Address": "sample string 3",
        "City": "sample string 4",
        "State": "sample string 5",
        "ZipCode": "sample string 6",
        "CountryCode": "sample string 7",
        "Phone": "sample string 8",
        "Fax": "sample string 9",
        "Email": "sample string 10",
        "WarehouseCode": "sample string 11",
        "DeliveryMethod": "sample string 12",
        "PriceCode": "sample string 13",
        "PriceExceptionCode": "sample string 14",
        "IsDefault": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoasterAPI.Customers">
  <Customer>
    <CustomerName>sample string 2</CustomerName>
    <CustomerNumber>1</CustomerNumber>
    <ShipToList>
      <ShipTo>
        <Address>sample string 3</Address>
        <City>sample string 4</City>
        <CountryCode>sample string 7</CountryCode>
        <DeliveryMethod>sample string 12</DeliveryMethod>
        <Email>sample string 10</Email>
        <Fax>sample string 9</Fax>
        <IsDefault>true</IsDefault>
        <Phone>sample string 8</Phone>
        <PriceCode>sample string 13</PriceCode>
        <PriceExceptionCode>sample string 14</PriceExceptionCode>
        <ShipToCode>sample string 1</ShipToCode>
        <ShipToName>sample string 2</ShipToName>
        <State>sample string 5</State>
        <WarehouseCode>sample string 11</WarehouseCode>
        <ZipCode>sample string 6</ZipCode>
      </ShipTo>
      <ShipTo>
        <Address>sample string 3</Address>
        <City>sample string 4</City>
        <CountryCode>sample string 7</CountryCode>
        <DeliveryMethod>sample string 12</DeliveryMethod>
        <Email>sample string 10</Email>
        <Fax>sample string 9</Fax>
        <IsDefault>true</IsDefault>
        <Phone>sample string 8</Phone>
        <PriceCode>sample string 13</PriceCode>
        <PriceExceptionCode>sample string 14</PriceExceptionCode>
        <ShipToCode>sample string 1</ShipToCode>
        <ShipToName>sample string 2</ShipToName>
        <State>sample string 5</State>
        <WarehouseCode>sample string 11</WarehouseCode>
        <ZipCode>sample string 6</ZipCode>
      </ShipTo>
    </ShipToList>
  </Customer>
  <Customer>
    <CustomerName>sample string 2</CustomerName>
    <CustomerNumber>1</CustomerNumber>
    <ShipToList>
      <ShipTo>
        <Address>sample string 3</Address>
        <City>sample string 4</City>
        <CountryCode>sample string 7</CountryCode>
        <DeliveryMethod>sample string 12</DeliveryMethod>
        <Email>sample string 10</Email>
        <Fax>sample string 9</Fax>
        <IsDefault>true</IsDefault>
        <Phone>sample string 8</Phone>
        <PriceCode>sample string 13</PriceCode>
        <PriceExceptionCode>sample string 14</PriceExceptionCode>
        <ShipToCode>sample string 1</ShipToCode>
        <ShipToName>sample string 2</ShipToName>
        <State>sample string 5</State>
        <WarehouseCode>sample string 11</WarehouseCode>
        <ZipCode>sample string 6</ZipCode>
      </ShipTo>
      <ShipTo>
        <Address>sample string 3</Address>
        <City>sample string 4</City>
        <CountryCode>sample string 7</CountryCode>
        <DeliveryMethod>sample string 12</DeliveryMethod>
        <Email>sample string 10</Email>
        <Fax>sample string 9</Fax>
        <IsDefault>true</IsDefault>
        <Phone>sample string 8</Phone>
        <PriceCode>sample string 13</PriceCode>
        <PriceExceptionCode>sample string 14</PriceExceptionCode>
        <ShipToCode>sample string 1</ShipToCode>
        <ShipToName>sample string 2</ShipToName>
        <State>sample string 5</State>
        <WarehouseCode>sample string 11</WarehouseCode>
        <ZipCode>sample string 6</ZipCode>
      </ShipTo>
    </ShipToList>
  </Customer>
</ArrayOfCustomer>