POST v1/Customer/CustomerMailerIDList

Request Information

URI Parameters

None.

Body Parameters

CustomerMailerRequest
NameDescriptionTypeAdditional information
CustomerId

integer

Required

Matching regular expression pattern: ([1-4]+)

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1
}

application/xml, text/xml

Sample:
<CustomerMailerRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerId>1</CustomerId>
</CustomerMailerRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerMailerRequest'.

Response Information

Resource Description

Collection of CustomerMailerResponse
NameDescriptionTypeAdditional information
ItemCode

string

None.

ItemDesc

string

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemCode": "sample string 1",
    "ItemDesc": "sample string 2",
    "Active": true
  },
  {
    "ItemCode": "sample string 1",
    "ItemDesc": "sample string 2",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerMailerResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerMailerResponse>
    <ItemCode>sample string 1</ItemCode>
    <ItemDesc>sample string 2</ItemDesc>
    <Active>true</Active>
  </CustomerMailerResponse>
  <CustomerMailerResponse>
    <ItemCode>sample string 1</ItemCode>
    <ItemDesc>sample string 2</ItemDesc>
    <Active>true</Active>
  </CustomerMailerResponse>
</ArrayOfCustomerMailerResponse>