WebAPI - Creating an equipment

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.  {
    "equipmentKey""AVS",
    "equipmentKeySegments"null,
    "description""Sistema Avac",
    "onServiceDate""2021-07-01T00:00:00",
    "externalReferenceID""13LNN458",
    "serial""xt789",
    "purchaseDate""2021-07-12T00:00:00",
    "purchasePrice"
    {
        "amount"2580.000000,
        "baseAmount"2580.000000,
        "reportingAmount"2580.000000,
        "fractionDigits"2,
        "symbol""€"
     },
    "remarks"null,
    "keyword""Sistema Avac",
    "barcode"null,
    "isTool"false,
    "workingTime""23:59:59",
    "manufacturer"null,
    "location""TEC",
    "criticality""00000001",
    "currency""EUR",
    "owner""0004",
    "brand""FF",
    "brandModel""FF100",
    "parentEquipment""PC01",
    "family""CAM",
    "company""DEMO",
    "responsible"null,
    "provider""0003",
    "customer""0015",
     "warrantyStartDate""2022-02-16",
     "warrantyEndDate""2022-02-17",
     "warrantyExtensionEndDate""2022-02-18"
    }

This method allows to create an equipment according to the parameters filled in:


  1. EquipmentKey: The equipment key.. If this parameter is not passed, it assumes the defined sequential number. 
  2. Description: Short description of the equipment. This field is mandatory.
  3. OnServiceDate: Date the equipment entered the service. If this field is not filled in, the current date is assumed.
  4. ExternalReferenceID: External reference code.
  5. Serial: Serial number.
  6. Picture: The equipment image. 
  7. PurchaseDate: Purchase date. 
  8. PurchasePrice: Purchase price.
  9. Remarks: Equipment remarks.
  10. Keyword: Short description of the equipment.
  11. Barcode: The equipment tag.
  12. IsTool: Place False to create the equipment.
  13. WorkingTime: Work time.
  14. Manufacturer:  Manufacturer key.
  15. Location: The equipment location's key. This field is mandatory, when the parent equipment is not filled in.
  16. Criticality: The criticality's key.
  17. Currency: The currency's key.
  18. Owner: The owner's key.
  19. Brand: The brand's key.
  20. BrandModel: The model's key.
  21. ParentEquipment: The parent equipment key. This field is mandatory, when the location field is not filled in.
  22. Family: The family's key.
  23. Company: The company's key.
  24. Responsible: The key of the person in charge.
  25. Supplier: The supplier's key.
  26. Customer: The customer's key.
  27. WarrantyStartDate: The warranty start date.
  28. WarrantyEndDate: The warranty end date.
  29. WarrantyExtensionEndDate: The warranty extension end date.

When this method is executed successfully, it returns HttpStatusCode.201 Created.

 



    • 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 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 - 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 equipment

      This method allows, in a simplified way, to create an equipment. The method to use for creating an equipment is: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Example Json for creating an equipment:  { ...
    • 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 ...