Update existing invoices

patch

/service/v1/mainInvoice

This endpoint is used to update existing invoices.

Request

Supported Media Types
Header Parameters
Body ()
Request Body that contains invoiceList required for updating an existing Invoices
Root Schema : InvoiceCollection
Type: object
Collection of Invoices.
Show Source
Nested Schema : invoiceList
Type: array
Show Source
Nested Schema : Invoice
Type: object
Invoice model
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Bad Request
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top