POST api/Payout/ApproveRejectedInvoice
Request Information
URI Parameters
None.
Body Parameters
ApproveRejectedInvoicePrm| Name | Description | Type | Additional information |
|---|---|---|---|
| invoiceId | integer |
None. |
|
| approveRejectedById | integer |
None. |
|
| approveRejectedStatus | integer |
None. |
|
| invoicePartialAmount | decimal number |
None. |
|
| comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"invoiceId": 1,
"approveRejectedById": 2,
"approveRejectedStatus": 3,
"invoicePartialAmount": 4.0,
"comment": "sample string 5"
}
text/html
Sample:
{"invoiceId":1,"approveRejectedById":2,"approveRejectedStatus":3,"invoicePartialAmount":4.0,"comment":"sample string 5"}
application/xml, text/xml
Sample:
<ApproveRejectedInvoicePrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <approveRejectedById>2</approveRejectedById> <approveRejectedStatus>3</approveRejectedStatus> <comment>sample string 5</comment> <invoiceId>1</invoiceId> <invoicePartialAmount>4</invoicePartialAmount> </ApproveRejectedInvoicePrm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/12/28 05:18:21",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/12/28 05:18:21","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>