POST v1/Customer/GetCustomerDepositAccount

Returns the list of postage accounts for a customer

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

CustomerPostageAccountNumberByCustomerIDRequest
NameDescriptionTypeAdditional information
CustomerID

CustomerID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1
}

application/xml, text/xml

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

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 'CustomerPostageAccountNumberByCustomerIDRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountNumber": "sample string 1"
  },
  {
    "AccountNumber": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerPostageAccountNumberByCustomerIDResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerPostageAccountNumberByCustomerIDResponse>
    <AccountNumber>sample string 1</AccountNumber>
  </CustomerPostageAccountNumberByCustomerIDResponse>
  <CustomerPostageAccountNumberByCustomerIDResponse>
    <AccountNumber>sample string 1</AccountNumber>
  </CustomerPostageAccountNumberByCustomerIDResponse>
</ArrayOfCustomerPostageAccountNumberByCustomerIDResponse>