GET enquiry/GetLoanHistory/{phone}/pageIndex/pageSize?pageIndex={pageIndex}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
phone

string

Required

pageIndex

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

Resource Description

LoanHistoryResponse
NameDescriptionTypeAdditional information
totalCount

integer

None.

pendingAccounts

Collection of LoanHistoryModel

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:
{
  "totalCount": 1,
  "pendingAccounts": [
    {
      "AccountNumber": "sample string 1",
      "AmountDisbursed": 1.0,
      "BookDate": "2019-07-23T23:39:22.5715754+01:00",
      "CustAcNo": "sample string 2",
      "AcDesc": "sample string 3",
      "Status": "sample string 4",
      "ModifiedDate": "2019-07-23T23:39:22.5715754+01:00",
      "AccountClass": "sample string 5",
      "OustandingBalance": "sample string 6"
    },
    {
      "AccountNumber": "sample string 1",
      "AmountDisbursed": 1.0,
      "BookDate": "2019-07-23T23:39:22.5715754+01:00",
      "CustAcNo": "sample string 2",
      "AcDesc": "sample string 3",
      "Status": "sample string 4",
      "ModifiedDate": "2019-07-23T23:39:22.5715754+01:00",
      "AccountClass": "sample string 5",
      "OustandingBalance": "sample string 6"
    }
  ],
  "ack_id": "sample string 2",
  "response_descr": "sample string 3",
  "response_code": "sample string 4",
  "full_description": "sample string 5",
  "DisplayMessage": "sample string 6"
}

application/xml, text/xml

Sample:
<LoanHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <DisplayMessage>sample string 6</DisplayMessage>
  <full_description>sample string 5</full_description>
  <response_code>sample string 4</response_code>
  <response_descr>sample string 3</response_descr>
  <ack_id>sample string 2</ack_id>
  <pendingAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/sales_portal_common.Data_Objects___Generated">
    <d2p1:LoanHistoryModel>
      <d2p1:AcDesc>sample string 3</d2p1:AcDesc>
      <d2p1:AccountClass>sample string 5</d2p1:AccountClass>
      <d2p1:AccountNumber>sample string 1</d2p1:AccountNumber>
      <d2p1:AmountDisbursed>1</d2p1:AmountDisbursed>
      <d2p1:BookDate>2019-07-23T23:39:22.5715754+01:00</d2p1:BookDate>
      <d2p1:CustAcNo>sample string 2</d2p1:CustAcNo>
      <d2p1:ModifiedDate>2019-07-23T23:39:22.5715754+01:00</d2p1:ModifiedDate>
      <d2p1:OustandingBalance>sample string 6</d2p1:OustandingBalance>
      <d2p1:Status>sample string 4</d2p1:Status>
    </d2p1:LoanHistoryModel>
    <d2p1:LoanHistoryModel>
      <d2p1:AcDesc>sample string 3</d2p1:AcDesc>
      <d2p1:AccountClass>sample string 5</d2p1:AccountClass>
      <d2p1:AccountNumber>sample string 1</d2p1:AccountNumber>
      <d2p1:AmountDisbursed>1</d2p1:AmountDisbursed>
      <d2p1:BookDate>2019-07-23T23:39:22.5715754+01:00</d2p1:BookDate>
      <d2p1:CustAcNo>sample string 2</d2p1:CustAcNo>
      <d2p1:ModifiedDate>2019-07-23T23:39:22.5715754+01:00</d2p1:ModifiedDate>
      <d2p1:OustandingBalance>sample string 6</d2p1:OustandingBalance>
      <d2p1:Status>sample string 4</d2p1:Status>
    </d2p1:LoanHistoryModel>
  </pendingAccounts>
  <totalCount>1</totalCount>
</LoanHistoryResponse>