POST api/customer/required

Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of CustomerLite
NameDescriptionTypeAdditional information
CustomerCode

string

None.

CustomerName

string

None.

PhoneNo

string

None.

PhoneNo2

string

None.

FaxNo

string

None.

EmailAddress

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

Address4

string

None.

Address5

string

None.

DefaultDeliveryCode

string

None.

PostCode

string

None.

Category1

string

None.

Category2

string

None.

RequireOrderNumber

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerCode": "sample string 1",
    "CustomerName": "sample string 2",
    "PhoneNo": "sample string 3",
    "PhoneNo2": "sample string 4",
    "FaxNo": "sample string 5",
    "EmailAddress": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "Address4": "sample string 10",
    "Address5": "sample string 11",
    "DefaultDeliveryCode": "sample string 12",
    "PostCode": "sample string 13",
    "Category1": "sample string 14",
    "Category2": "sample string 15",
    "RequireOrderNumber": true
  },
  {
    "CustomerCode": "sample string 1",
    "CustomerName": "sample string 2",
    "PhoneNo": "sample string 3",
    "PhoneNo2": "sample string 4",
    "FaxNo": "sample string 5",
    "EmailAddress": "sample string 6",
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "Address4": "sample string 10",
    "Address5": "sample string 11",
    "DefaultDeliveryCode": "sample string 12",
    "PostCode": "sample string 13",
    "Category1": "sample string 14",
    "Category2": "sample string 15",
    "RequireOrderNumber": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.AR">
  <CustomerLite>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <Address3>sample string 9</Address3>
    <Address4>sample string 10</Address4>
    <Address5>sample string 11</Address5>
    <Category1>sample string 14</Category1>
    <Category2>sample string 15</Category2>
    <CustomerCode>sample string 1</CustomerCode>
    <CustomerName>sample string 2</CustomerName>
    <DefaultDeliveryCode>sample string 12</DefaultDeliveryCode>
    <EmailAddress>sample string 6</EmailAddress>
    <FaxNo>sample string 5</FaxNo>
    <PhoneNo>sample string 3</PhoneNo>
    <PhoneNo2>sample string 4</PhoneNo2>
    <PostCode>sample string 13</PostCode>
    <RequireOrderNumber>true</RequireOrderNumber>
  </CustomerLite>
  <CustomerLite>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <Address3>sample string 9</Address3>
    <Address4>sample string 10</Address4>
    <Address5>sample string 11</Address5>
    <Category1>sample string 14</Category1>
    <Category2>sample string 15</Category2>
    <CustomerCode>sample string 1</CustomerCode>
    <CustomerName>sample string 2</CustomerName>
    <DefaultDeliveryCode>sample string 12</DefaultDeliveryCode>
    <EmailAddress>sample string 6</EmailAddress>
    <FaxNo>sample string 5</FaxNo>
    <PhoneNo>sample string 3</PhoneNo>
    <PhoneNo2>sample string 4</PhoneNo2>
    <PostCode>sample string 13</PostCode>
    <RequireOrderNumber>true</RequireOrderNumber>
  </CustomerLite>
</ArrayOfCustomerLite>