WebAPI - Deleting a location

WebAPI - Deleting a location

This method allows you to delete a location.

The method to be used when deleting a location is:

DELETE  url/api/mytenant/myorganization/assetmanagementcore/locations/{{companyKey}}/{{locationKey}}

The parameters being replaced on the method are:
  1. companyKey: company key.
  2. locationKey: key of the location 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 – 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 - How to get the locations an employee has access to?

      The method returns the location list and the access level the employee has access to.  The method to be used to get the location list and the access level the employee has access to is: GET ...
    • WebAPI - How to get the tools an employee has access to?

      The method returns the tool list and the access level the employee can access. The method to be used to get the tool list and the access level the employee can access is: GET ...