WebAPI - Creating a equipment

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: 

  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"
    }​

This method allows you to create a device according to the parameters you have filled in:

i.                     EquipmentKey: The key of the equipment. If this parameter is not passed, it assumes the defined sequence number.

ii.                   Description: Brief description of the equipment. This field is mandatory.

iii.                 OnServiceDate: The date the equipment went into service. If this field is not filled in, the current date is assumed.

iv.                 ExternalReferenceID: Code of the external reference.

v.                   Serial: Serial number.

vi.                 Picture: The image of the equipment.

vii.                PurchaseDate: Date of purchase.

viii.              PurchasePrice: The purchase price.

ix.                  Remarks: Remarks from the equipment.

x.                   Keyword: Brief description of the equipment.

xi.                  Barcode: The tag of the equipment.

xii.                IsTool: Set to False for equipment creation.

xiii.              WorkingTime: Working time.

xiv.              Manufacturer:  Manufacturer key.

xv.                Location: The key of the equipment's location. This field is mandatory, when the parent equipment is not filled in.

xvi.              Criticality: The key of criticality.

xvii.             Currency: The currency key.

xviii.           Owner: The owner key.

xix.              Brand: The key of the brand.

xx.                BrandModel: The key of the model.

xxi.              ParentEquipment: The key of the parent equipment. This field is required when the location field is not filled in.

xxii.             Family: The key of the family.

xxiii.           Company: The key of the company.

xxiv.           Responsible: The key of the responsible.

xxv.             Supplier: The key of the supplier.

xxvi.           Customer: The key of the customer.




    • Related Articles

    • 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: { ...
    • 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 equipment an employee has access to?

      The method returns the equipment list and the access level the employee has access to.  The method to be used to get the equipment list and the access level the employee has access to is: GET ...
    • 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 - Deleting an equipment

      This method allows you to delete an equipment.  The method to be used when deleting an equipment is:   DELETE  url/api/mytenant/myorganization/assetmanagementcore/equipmentItems/{{companyKey}}/{{equipmentKey}}   The parameters being replaced on the ...