WebAPI - Creating a meter reading
This method allows to create a meter reading in a simplified manner.
The method to be used when creating a meter reading:
POST url/api/mytenant/myorganization/assetmanagement/meterValues
Json example for creating a meter reading:
{
"meterValueKey": "01",
"date": "2021-07-21T11:39:58+01:00",
"meterReading":2606,
"incrementValue": null,
"remarks": null,
"meter": "M_001",
"workOrder": "OT0007",
"company": "DEMO",
"assetType": 1,
"equipmnt": null,
"location": "AM",
"tool": null
}
This
method allows to create a meter reading according to the parameters filled in:- MetertValueKey: The
meter reading's key. If this parameter is not filled in, it assumes the defined
sequential number.
- Date: Reading
report date. This field is mandatory.
- MeterReading: The
meter reading's value. If the meter is of the type increment, this field is
null. Mandatory field, when the meter is of the reading type.
- IncrementValue: The
meter increment's value. If the meter is of the reading type, this field is
null. Mandatory field, when the meter is of the Increment type.
- Remarks: Remarks.
- Meter: Key
of the meter whose reading you wish to record. This field is mandatory.
- WorkOrder: The
key of the work order whose meter reading you wish to record.
- Company: The
company's key.
- AssetType:
Asset type. (1- Location. 2- Equipment. 3- Tool.) Mandatory field.
- Equipment: The
equipment key.
- Location: The
location's key.
- Tool: The
tool'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 meter
This method allows to create a meter in a simplified manner. The method to be used when creating a meter: POST url/api/mytenant/myorganization/assetmanagementcore/meters Json example for creating a meter: 1. { "meterKey": "001", ...
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", ...