POST v1/Generic/GetCustomerDepositAccountList

Return all of Customer's Deposit Accounts

Request Information

URI Parameters

None.

Body Parameters

Deposit Account Input Request (CustomerID)

CustomerDepositAccountRequest
NameDescriptionTypeAdditional information
CustomerID

Returns Customer ID - 11690

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1
}

application/xml, text/xml

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

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

Response Information

Resource Description

Collection of CustomerDepositAccountResponse
NameDescriptionTypeAdditional information
PostageAccountID

integer

None.

CustomerID

integer

None.

AccountNumber

string

None.

Active

boolean

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfCustomerDepositAccountResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerDepositAccountResponse>
    <PostageAccountID>1</PostageAccountID>
    <CustomerID>2</CustomerID>
    <AccountNumber>sample string 3</AccountNumber>
    <Active>true</Active>
  </CustomerDepositAccountResponse>
  <CustomerDepositAccountResponse>
    <PostageAccountID>1</PostageAccountID>
    <CustomerID>2</CustomerID>
    <AccountNumber>sample string 3</AccountNumber>
    <Active>true</Active>
  </CustomerDepositAccountResponse>
</ArrayOfCustomerDepositAccountResponse>