GET enquiry/GetLoanHistoryByAccountNumber/{accountnumber}/pageIndex/pageSize?pageIndex={pageIndex}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountnumber

string

Required

pageIndex

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

Resource Description

LoanForLiquidationResponse
NameDescriptionTypeAdditional information
Account_Details

AccountDetails

None.

pendingAccounts

Collection of LoanForLiquidation

None.

ack_id

string

None.

response_descr

string

None.

response_code

string

None.

full_description

string

None.

DisplayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Account_Details": {
    "cust_acc_no": "sample string 1",
    "customer_name": "sample string 2",
    "customer_no": "sample string 3",
    "ac_desc": "sample string 4",
    "mobile_number": "sample string 5",
    "avl_bal": 1.0
  },
  "pendingAccounts": [
    {
      "account_no": "sample string 1",
      "customer_name": "sample string 2",
      "amount_disbursed": 1.0,
      "book_date": "2019-07-23T23:03:11.9941696+01:00",
      "cust_ac_no": "sample string 3",
      "ac_desc": "sample string 4",
      "status": "sample string 5",
      "modified_date": "2019-07-23T23:03:11.9941696+01:00",
      "account_class": "sample string 6",
      "amount_left": 1.0
    },
    {
      "account_no": "sample string 1",
      "customer_name": "sample string 2",
      "amount_disbursed": 1.0,
      "book_date": "2019-07-23T23:03:11.9941696+01:00",
      "cust_ac_no": "sample string 3",
      "ac_desc": "sample string 4",
      "status": "sample string 5",
      "modified_date": "2019-07-23T23:03:11.9941696+01:00",
      "account_class": "sample string 6",
      "amount_left": 1.0
    }
  ],
  "ack_id": "sample string 1",
  "response_descr": "sample string 2",
  "response_code": "sample string 3",
  "full_description": "sample string 4",
  "DisplayMessage": "sample string 5"
}

application/xml, text/xml

Sample:
<LoanForLiquidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <DisplayMessage>sample string 5</DisplayMessage>
  <full_description>sample string 4</full_description>
  <response_code>sample string 3</response_code>
  <response_descr>sample string 2</response_descr>
  <Account_Details xmlns:d2p1="http://schemas.datacontract.org/2004/07/sales_portal_common.Data_Objects___Generated">
    <d2p1:ac_desc>sample string 4</d2p1:ac_desc>
    <d2p1:avl_bal>1</d2p1:avl_bal>
    <d2p1:cust_acc_no>sample string 1</d2p1:cust_acc_no>
    <d2p1:customer_name>sample string 2</d2p1:customer_name>
    <d2p1:customer_no>sample string 3</d2p1:customer_no>
    <d2p1:mobile_number>sample string 5</d2p1:mobile_number>
  </Account_Details>
  <ack_id>sample string 1</ack_id>
  <pendingAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/sales_portal_common.Data_Objects___Generated">
    <d2p1:LoanForLiquidation>
      <d2p1:ac_desc>sample string 4</d2p1:ac_desc>
      <d2p1:account_class>sample string 6</d2p1:account_class>
      <d2p1:account_no>sample string 1</d2p1:account_no>
      <d2p1:amount_disbursed>1</d2p1:amount_disbursed>
      <d2p1:amount_left>1</d2p1:amount_left>
      <d2p1:book_date>2019-07-23T23:03:11.9941696+01:00</d2p1:book_date>
      <d2p1:cust_ac_no>sample string 3</d2p1:cust_ac_no>
      <d2p1:customer_name>sample string 2</d2p1:customer_name>
      <d2p1:modified_date>2019-07-23T23:03:11.9941696+01:00</d2p1:modified_date>
      <d2p1:status>sample string 5</d2p1:status>
    </d2p1:LoanForLiquidation>
    <d2p1:LoanForLiquidation>
      <d2p1:ac_desc>sample string 4</d2p1:ac_desc>
      <d2p1:account_class>sample string 6</d2p1:account_class>
      <d2p1:account_no>sample string 1</d2p1:account_no>
      <d2p1:amount_disbursed>1</d2p1:amount_disbursed>
      <d2p1:amount_left>1</d2p1:amount_left>
      <d2p1:book_date>2019-07-23T23:03:11.9941696+01:00</d2p1:book_date>
      <d2p1:cust_ac_no>sample string 3</d2p1:cust_ac_no>
      <d2p1:customer_name>sample string 2</d2p1:customer_name>
      <d2p1:modified_date>2019-07-23T23:03:11.9941696+01:00</d2p1:modified_date>
      <d2p1:status>sample string 5</d2p1:status>
    </d2p1:LoanForLiquidation>
  </pendingAccounts>
</LoanForLiquidationResponse>