WebAPI - Creating a location function

WebAPI - Creating a location function

This method allows to create a location function in a simplified manner.

The method to be used when creating a function location is:

POST url/api/mytenant/myorganization/assetmanagementcore/locationfunctions

Json example for creating a function location: 


  1.  {
            "locationFunctionKey""AC",
            "description""Área de circulação",
            "remarks"null,
            "parentLocationFunction""ED",
            "locationFunctionFamilies": [
                {
                    "family""ASP",
                }
            ]
        }
This method allows to create a function location according to the parameters filled in:
locationFunctionKey: The family's key. Mandatory field.
description: Short description of the family. This field is mandatory.
remarks: Remarks.
parentLocationFunction: The key of the location function.
family: The family's key.
When this method is executed successfully, it returns HttpStatusCode.OK.

    • Related Articles

    • WebAPI - Creating a request

      This method allows to create a request in a simplified manner. The method to be used when creating a request: POST url/api/mytenant/myorganization/Requests/requests Json example for creating a request: { "requestKey": "00001", "description": "Vidro ...
    • WebAPI - Creating a warehouse

      This method allows to create a warehouse in a simplified manner. The method to be used when creating a warehouse: POST url/api/mytenant/myorganization/inventorycore/warehouses Json example for creating a warehouse: 1. { "warehouseKey": "W2", ...
    • WebAPI - Creating a location

      This method allows to create a location in a simplified manner. The method to be used when creating a location is: POST url/api/mytenant/myorganization/assetmanagementcore/locations Json example for creating a location: {         "locationKey": "ED", ...
    • WebAPI - Creating a tool

      This method allows to create a tool in a simplified manner. The method to be used when creating a tool is: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating a tool: 1.     {     "equipmentKey": "PCR", ...
    • WebAPI - Creating an equipment

      This method allows to create an equipment in a simplified manner. The method to be used when creating an equipment: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating an equipment: 1.       { ...