POST api/Invoices
Creates a new invoice for an existing consumption.
Request Information
URI Parameters
None.
Body Parameters
The invoice data to be created.
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 creation operation.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.