Webapi - Deleting a misc cost type

Webapi - Deleting a misc cost type

This method allows you to delete a misc cost type.

 The method to be used when deleting a misc cost type is:
 
DELETE  url/api/mytenant/myorganization/maintenancecore/misccoststypes/{{companyKey}}/{{misccoststypeKey}}

The parameters being replaced on the method are:

  1. companyKey: Company key.
  2. misccoststypeKey: The key of the misc cost type you wish to delete.

 

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


    • Related Articles

    • Webapi - Deleting a misc cost

      This method allows you to delete a misc cost.   The method to be used when deleting a misc cost is:   DELETE  url/api/mytenant/myorganization/maintenancecore/misccosts/{{misccostKey}}   The parameters being replaced on the method are: misccostKey: ...
    • Webapi - Creating a misc cost type

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

      This method allows to create a misc cost in a simplified manner.  The method to be used when creating a misc cost is:   POST url/api/mytenant/myorganization/maintenancecore/misccosts  Json example for creating a misc cost: { ...
    • Webapi - Creating a misc cost report in a work order

      This method allows you to create a misc cost report in a work order in a simplified way. The method used to create a misc cost report in a work order is: POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workOrderReportmisccosts Json example ...