POST v1/Customer/CustomerPostageAccountList

Returns the list of postage accounts for a customer

This is secure method and requires below attributes in header

Authorization: Authorize Token

Request Information

URI Parameters

None.

Body Parameters

CustomerPostageAccountListRequest
NameDescriptionTypeAdditional information
PostageAccountID

PostageAccountID

integer

None.

CustomerID

CustomerID

integer

Required

AccountNumber

AccountNumber

string

None.

Active

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PostageAccountID": 1,
  "CustomerID": 1,
  "AccountNumber": "sample string 2",
  "Active": true
}

application/xml, text/xml

Sample:
<CustomerPostageAccountListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <PostageAccountID>1</PostageAccountID>
  <CustomerID>1</CustomerID>
  <AccountNumber>sample string 2</AccountNumber>
  <Active>true</Active>
</CustomerPostageAccountListRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "PostageAccountID": 1,
    "CustomerID": 4,
    "AccountNumber": "sample string 5",
    "Description": "sample string 1",
    "Balance": 2.0,
    "CreditAmount": 3.0,
    "Active": true
  },
  {
    "PostageAccountID": 1,
    "CustomerID": 4,
    "AccountNumber": "sample string 5",
    "Description": "sample string 1",
    "Balance": 2.0,
    "CreditAmount": 3.0,
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerPostageAccountListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerPostageAccountListResponse>
    <PostageAccountID>1</PostageAccountID>
    <CustomerID>4</CustomerID>
    <AccountNumber>sample string 5</AccountNumber>
    <Active>true</Active>
    <Description>sample string 1</Description>
    <Balance>2</Balance>
    <CreditAmount>3</CreditAmount>
  </CustomerPostageAccountListResponse>
  <CustomerPostageAccountListResponse>
    <PostageAccountID>1</PostageAccountID>
    <CustomerID>4</CustomerID>
    <AccountNumber>sample string 5</AccountNumber>
    <Active>true</Active>
    <Description>sample string 1</Description>
    <Balance>2</Balance>
    <CreditAmount>3</CreditAmount>
  </CustomerPostageAccountListResponse>
</ArrayOfCustomerPostageAccountListResponse>