Valuekeep DevelopmentWork
DevelopmentWork
Work
Back | List of Articles

How to create a monitoring?

Last changed in 26/12/2024

This method allows to create a monitoring in a simplified manner.

The method to be used when creating a monitoring:

POST url/api/mytenant/myorganization/assetmanagementcore/monitorings

Json example for creating a monitoring:

{
        "monitoringKey": "0000000001",
        "description": "Temperature Monitoring",
        "averageWindow": 10,
        "remarks": null,
        "unit": "C",
        "locationFunction": null,
        "family": null,
        "brand": null,
        "brandModel": null,
        "assetType": 2,
        "location": null,
        "equipment": "CH01",
        "tool": null,
        "company": "DEMO"
    }

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

  • MonitoringKey: The monitoring key. If this parameter is not filled in, it assumes the defined sequential number. 
  • Description: Short description of the monitoring. This field is mandatory.
  • AverageWindow: Value used to calculate the moving window value.
  • Remarks: Remarks.
  • Unit: Monitoring unit. Mandatory field.
  • LocationFunction: The key of the location function. 
  • Family: The family's key.
  • Brand: The brand's key.
  • BrandModel: The model's key.
  • AssetType: Asset type. (1-location; 2- equipment; 3- tool).
  • Location: The location's key.
  • Equipment: The equipment key.
  • Tool: The tool's key.
  • Company: The company's key.

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

Bookmark or share this article
Esta página foi útil?
Obrigado pelo seu voto.
Related Articles
How to create or delete work orders? How to update a work order? How to change the status of the work order? How to get the failure list? How to create or delete a failure?