Webapi - Deleting a work order consumption report

Webapi - Deleting a work order consumption report

 This method allows you to delete a work order consumption report.
 
The method used to delete a work order consumption report is:
 
DELETE  url/api/mytenant/myorganization/maintenance/workorderreportconsumptions/{{companyKey}}/{{workorderreportconsumptionKey}}
 
The parameters being replaced on the method are:
  1. companyKey: The company key
  2. modelKey: The key of the consumption report you wish to delete.
 
When this method is executed successfully, it returns HttpStatusCode.204.


    • Related Articles

    • WebAPI – How do I update the material consumption report?

       This method allows to change a material consumption. The method to be used when changing the work order material consumption ...
    • Webapi - Creating a consumption report in a work order

      This method allows you to create a consumption report in a work order in a simplified way.   The method used to create a consumption report in a work order is:   POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workOrderReportConsumptions   ...
    • Webapi - Deleting a work order labor report

      This method allows you to delete a work order labor report.  The method used to delete a work order labor report is:   DELETE  url/api/mytenant/myorganization/maintenance/workorderreportlabors/{{companyKey}}/{{workorderreportlaborKey}} The parameters ...
    • 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 to update the misc costs report?

      This method allows you to change the misc cost of a work order. The method to be used for changing one other cost is: POST /api/mytenant/myorganization/maintenance/workorderreportmisccosts / ...