PUT api/Invoices/{id}

Updates the payment or cancellation status of an existing invoice.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Invoice
NameDescriptionTypeAdditional 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.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.