Webapi - Deleting a work order type

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 are:
  1. workordertypeKey The key of the work order type you wish to delete.
 
When this method is executed successfully, it returns HttpStatusCode.204.



    • Related Articles

    • 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 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: ...
    • 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 ...
    • Webapi - Creating a work order type

      This method allows to create a work order type in a simplified manner.   The method to be used when creating a work order type is:   POST url/api/mytenant/myorganization/maintenancecore/workordertypes   Json example for creating a work order type: ...
    • 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 ...