WebAPI - Deleting a Work Order

WebAPI - Deleting a Work Order

This method allows you to delete a work order.

The method to use for deleting a work order is:

DELETE url/api/mytenant/myorganization/maintenance/workorders/{{companyKey}}/{{workorderKey}}

The parameters to be overridden in the method are:

  1. companykey: the company key
  2. workorderKey: the key of the workorder you want to delete.

When this method is successfully executed it returns an HttpStatusCode.204.


    • Related Articles

    • Webapi - Deleting a work order type

      This method allows you to delete a work order type.  The method to be used when deleting a work order type is:   DELETE  url/api/mytenant/myorganization/maintenancecore/workordertypes/{{workordertypeKey}}  The parameters being replaced on the method ...
    • WebAPI – How can I change the work order state?

      This method allows you to change a work order state. The method to be used for changing the work order change is: Post {{url}/api/{{tenant}}/{{organization}}/maintenance/workorders/changeSchemaEntityState/{{companyKey}} The parameters in the method ...
    • WebAPI – How do I update a work order?

      This method offers a simplified way of performing changes to the Work orders. The method to be used to create a work order is:    POST /api/mytenant/myorganization/maintenance/workorders/updateWorkOrderInfo/{{companyKey}}/{{workOrderKey}} The ...
    • WebAPI - Deleting a Miscellaneous Cost Record from a Work Order

      This method allows you to delete a miscellaneous cost record from a work order. The method to use for deleting a miscellaneous cost record from a work order is: DELETE ...
    • WebAPI – How do I create work orders?

      This method offers a simple way of creating a Work Order for a specific Asset, Location, Tool or Route. The method to be used to create a work order is: POST /api/mytenant/myorganization/maintenance/workorders/newWorkOrderInfo Json example to create ...