Webapi - Deleting a unit

Webapi - Deleting a unit

This method allows you to delete a unit.

 The method to be used when deleting a unit is:
 
DELETE  url/api/mytenant/myorganization/corepatterns/units/{{unitKey}}

 The parameters being replaced on the method are:
  1. unitKey: key of the unit you wish to delete.

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

 



    • Related Articles

    • WebAPI - Deleting a requisition

      This method allows you to delete a requisition. The method to be used when deleting a requisition is: DELETE  url/api/mytenant/myorganization/requisitions/requisitions/{{company}}/{{requisitionKey}} The parameters being replaced on the method are: ...
    • WebAPI - Deleting a brand

      This method allows you to delete a brand. The method to be used when deleting a brand is:  DELETE  url/api/mytenant/myorganization/businesscore/brands/{{brandKey}}  The parameters being replaced on the method are: {{brandKey}}: key of the brand you ...
    • Webapi - Creating a unit

      This method allows to create a unit in a simplified manner.  The method to be used when creating a unit is:   POST url/api/mytenant/myorganization/corepatterns/units  Json example for creating a unit: {         "unitKey": "HR", ...
    • 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 - Record and Maintenance of Parts and Services

      This method allows to manage the record and maintenance of parts and services. For the inventory (parts), besides recording the part, it is also possible to classify it in terms of inventory, by identifying: the default warehouse, the minimum and ...