PUT api/Invoices/{id}
Updates the payment or cancellation status of an existing invoice.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceId | integer |
None. |
|
| ConsumptionId | integer |
None. |
|
| IssueDate | date |
None. |
|
| InvoiceAmount | decimal number |
None. |
|
| IsCancelled | boolean |
None. |
|
| IsPaid | boolean |
None. |
|
| Consumption | Consumption |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The result of the invoice update operation.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.