Skip to main content
Version: Next

removeTicketFromPurchaseDoc

DELETE 

/purchase-docs/headers/:headerId/tickets/:ticketId

Removes the ticket identified by ticketId from the purchase document identified by headerId, deleting all the PurchaseDocLine records linked to the ticket's item services.

To access the service you need at least one of the following permissions:

Permission (one of)
createPurchaseOrder
updatePurchaseOrder
deletePurchaseOrder

Request

Responses

The ticket and its related purchase document lines have been successfully deleted.