POST api/DueToPayPayment/GetResponsebyVendors?OperatorID={OperatorID}&Number={Number}&billamount={billamount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OperatorID | integer |
Required |
|
| Number | string |
Required |
|
| billamount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
VendorBillPaymentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| BillPaid | decimal number |
None. |
|
| IsBillPaid | boolean |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"BillPaid": 1.0,
"IsBillPaid": true,
"success": true,
"code": "sample string 4",
"message": "sample string 5",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<DueToPayModel.VendorBillPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<code>sample string 4</code>
<errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</errors>
<message>sample string 5</message>
<success>true</success>
<BillPaid>1</BillPaid>
<IsBillPaid>true</IsBillPaid>
</DueToPayModel.VendorBillPaymentResponse>