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