WebAPI - Creating a Monitoring

WebAPI - Creating a Monitoring

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:

  1.  {
            "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:

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

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



    • Related Articles

    • 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 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 monitoring value

      This method allows to create a monitoring value in a simplified manner. The method to be used when creating a monitoring value: POST url/api/mytenant/myorganization/assetmanagement/monitoringvalues Json example for creating a monitoring value: 1.     ...
    • 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", ...