POST api/OmniPay/RetrieveOmnipayLoansLists

Request Information

URI Parameters

None.

Body Parameters

GetOmnipayLoansFilter
NameDescriptionTypeAdditional information
CustomerId

integer

None.

PhoneNumber

string

None.

CustomerRef

string

None.

ChargeBucket

string

None.

PageNo

integer

None.

RecordsPerPage

integer

None.

StartDate

date

None.

EndDate

date

None.

IsPaid

OmnipayLoansPaidEnums

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "PhoneNumber": "sample string 2",
  "CustomerRef": "sample string 3",
  "ChargeBucket": "sample string 4",
  "PageNo": 1,
  "RecordsPerPage": 1,
  "StartDate": "2024-09-19T18:19:55.1407186+01:00",
  "EndDate": "2024-09-19T18:19:55.1407186+01:00",
  "IsPaid": 0
}

application/xml, text/xml

Sample:
<GetOmnipayLoansFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ChargeBucket>sample string 4</ChargeBucket>
  <CustomerId>1</CustomerId>
  <CustomerRef>sample string 3</CustomerRef>
  <EndDate>2024-09-19T18:19:55.1407186+01:00</EndDate>
  <IsPaid>UnPaid</IsPaid>
  <PageNo>1</PageNo>
  <PhoneNumber>sample string 2</PhoneNumber>
  <RecordsPerPage>1</RecordsPerPage>
  <StartDate>2024-09-19T18:19:55.1407186+01:00</StartDate>
</GetOmnipayLoansFilter>

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

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2024/09/19 18:19:55",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>