Developer Q&A

Ask a Question
Back to All

Unable to delete WorkOrders

(edited)

Hi,

I wanted to verify that I should or should not be able to delete WorkOrders via the API. I see the DeleteCommand in the API docs, but I do not know if it is supported by the WorkOrder entity. My attempts in deleting a WorkOrder resulted in this response:

{
'ErrorInfo': {
'Number': 1000,
'Description': 'Delete operation is not supported by WorkOrder entity.',
'Type': 'Corrigo.Web.Services.CorrigoService.Helpers.CorrigoServiceException'
},
'EntitySpecifier': {
'EntityType': 'WorkOrder',
'Id': 441715
},
'NestedEntitiesOperationResults': None
}

Is the list of entities not supported by the Delete command documented somewhere?