POST v1/Customer/CustomerMailerIDList

Returns Customer's Mailer list

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

CustomerMailerRequest
NameDescriptionTypeAdditional information
CustomerId

provide customer Id

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

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>