POST api/Payments/GetPaymentHistory

Get Previous Payments For PrimaryMember

Request Information

URI Parameters

None.

Body Parameters

PaymentHistoryRequestModel
NameDescriptionTypeAdditional information
EntityId

integer

None.

DueId

integer

None.

PolicyId

string

None.

DueDate

string

None.

PaymentDate

string

None.

PaymentMethod

string

None.

ConfirmationCode

string

None.

Currency

string

None.

Amount

string

None.

ReceiptId

integer

None.

Status

string

None.

SortParam

integer

None.

PageNumber

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityId": 1,
  "DueId": 2,
  "PolicyId": "sample string 3",
  "DueDate": "sample string 4",
  "PaymentDate": "sample string 5",
  "PaymentMethod": "sample string 6",
  "ConfirmationCode": "sample string 7",
  "Currency": "sample string 8",
  "Amount": "sample string 9",
  "ReceiptId": 1,
  "Status": "sample string 10",
  "SortParam": 1,
  "PageNumber": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<PaymentHistoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.Data.Models.Payments">
  <Amount>sample string 9</Amount>
  <ConfirmationCode>sample string 7</ConfirmationCode>
  <Currency>sample string 8</Currency>
  <DueDate>sample string 4</DueDate>
  <DueId>2</DueId>
  <EntityId>1</EntityId>
  <PageNumber>1</PageNumber>
  <PageSize>1</PageSize>
  <PaymentDate>sample string 5</PaymentDate>
  <PaymentMethod>sample string 6</PaymentMethod>
  <PolicyId>sample string 3</PolicyId>
  <ReceiptId>1</ReceiptId>
  <SortParam>1</SortParam>
  <Status>sample string 10</Status>
</PaymentHistoryRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.