POST api/Payments/SubmitPaymentLog
To submit online payment log in DB
Request Information
URI Parameters
None.
Body Parameters
The retrieval params model.
OnlinePaymentLogsName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
None. |
|
PaymentRequestData | string |
None. |
|
PaymentResponceData | string |
None. |
|
IsPaymentSuccessful | integer |
None. |
|
CreatedBy | string |
None. |
|
UpdatedBy | string |
None. |
|
Status | string |
None. |
|
Amount | string |
None. |
|
ReceiptReference | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "PaymentRequestData": "sample string 2", "PaymentResponceData": "sample string 3", "IsPaymentSuccessful": 1, "CreatedBy": "sample string 4", "UpdatedBy": "sample string 5", "Status": "sample string 6", "Amount": "sample string 7", "ReceiptReference": "sample string 8" }
application/xml, text/xml
Sample:
<OnlinePaymentLogs 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 7</Amount> <CreatedBy>sample string 4</CreatedBy> <IsPaymentSuccessful>1</IsPaymentSuccessful> <PaymentRequestData>sample string 2</PaymentRequestData> <PaymentResponceData>sample string 3</PaymentResponceData> <ReceiptReference>sample string 8</ReceiptReference> <SessionKey>sample string 1</SessionKey> <Status>sample string 6</Status> <UpdatedBy>sample string 5</UpdatedBy> </OnlinePaymentLogs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |