POST api/Payments/GetOnlinePaymentReceiptForDownload

To Downlod Online Payment Receipt

Request Information

URI Parameters

None.

Body Parameters

PaymentReceitpObj
NameDescriptionTypeAdditional information
SessionKey

string

None.

RequestId

string

None.

DueId

integer

None.

PaymentMethod

string

None.

Amount

decimal number

None.

Currency

string

None.

ReceiptId

string

None.

EntityId

integer

None.

PolicyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "RequestId": "sample string 2",
  "DueId": 3,
  "PaymentMethod": "sample string 4",
  "Amount": 5.0,
  "Currency": "sample string 6",
  "ReceiptId": "sample string 7",
  "EntityId": 8,
  "PolicyId": 9
}

application/xml, text/xml

Sample:
<PaymentReceitpObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.Data.Models.Payments">
  <Amount>5</Amount>
  <Currency>sample string 6</Currency>
  <DueId>3</DueId>
  <EntityId>8</EntityId>
  <PaymentMethod>sample string 4</PaymentMethod>
  <PolicyId>9</PolicyId>
  <ReceiptId>sample string 7</ReceiptId>
  <RequestId>sample string 2</RequestId>
  <SessionKey>sample string 1</SessionKey>
</PaymentReceitpObj>

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.