WebAPI - Creating a warehouse

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",

    "description""Manutenção 2",

    "streetName""Av. do Progresso, 36 ",

    "buildingNumber""987",

    "cityName""Vila Fria",

    "postalZone""9630-800",

    "company""DEMO",

    "region""PT-CO",

    "country""PT"

}


This method allows to create a warehouse according to the parameters filled in:

  1. WarehouseKey: The warehouse key. This field is mandatory.
  2. Description: Short description of the warehouse. This field is mandatory.
  3. StreetName: Street.
  4. BuildingNumber: Building number.
  5. PostalZone: Postal code.
  6. Company: The company's key.
  7. Region: Region key.
  8. Country: The country's key.

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


    • Related Articles

    • WebAPI - Creating a requisition type

      This method allows creating a type of requisition in a simplified manner. The method to be used to create a requisition type is: POST url/api/mytenant/myorganization/requisitionscore/requisitiontypes Json example for creating a type of requisition:  ...
    • 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.       { ...
    • 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 ...
    • 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 ...