| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| DELETE |
api/invoice/{id}
|
Delete |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/invoice/{id}
|
GetById |
id
(Query)
|
Task<ActionResult<InvoiceMasterDto>>
|
| PUT |
api/invoice/{id}
|
Update |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/invoice/{id}/details
|
GetWithDetails |
id
(Query)
|
Task<ActionResult<InvoiceMasterWithDetailsDto>>
|
| GET |
api/invoice/{invoiceMasterId}/items
|
GetInvoiceDetails |
invoiceMasterId
(Query)
|
Task<ActionResult<IEnumerable<InvoiceDetailsDto>>>
|
| POST |
api/invoice/{invoiceMasterId}/items
|
CreateInvoiceDetail |
invoiceMasterId
(Query)
dto
(Body)
|
Task<ActionResult<InvoiceDetailsDto>>
|
| POST |
api/invoice/Create
|
Create |
dto
(Body)
|
Task<ActionResult<InvoiceMasterDto>>
|
| GET |
api/invoice/GetAll
|
GetAll | None |
Task<ActionResult<IEnumerable<InvoiceMasterDto>>>
|
| DELETE |
api/invoice/items/{id}
|
DeleteInvoiceDetail |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/invoice/items/{id}
|
GetInvoiceDetailById |
id
(Query)
|
Task<ActionResult<InvoiceDetailsDto>>
|
| PUT |
api/invoice/items/{id}
|
UpdateInvoiceDetail |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/invoice/shareholder/{boxId}
|
GetByBoxId |
boxId
(Query)
|
Task<ActionResult<IEnumerable<InvoiceMasterDto>>>
|
| GET |
api/invoice/with-details
|
GetAllWithDetails | None |
Task<ActionResult<IEnumerable<InvoiceMasterWithDetailsDto>>>
|
JS_Loading