GET api/getCheckInvoicePayment?companyCode={companyCode}&contractNo={contractNo}&amount={amount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
|
| contractNo | string |
Required |
|
| amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
getLatestInvoiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsDuplicate | integer |
None. |
|
| MESSAGE | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsDuplicate": 1,
"MESSAGE": "sample string 2"
}
application/xml, text/xml
Sample:
<getLatestInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GasPaymentAPI.Models"> <IsDuplicate>1</IsDuplicate> <MESSAGE>sample string 2</MESSAGE> </getLatestInvoiceModel>