Get the historical records of maintenance done for the device requested.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Body Params application/json
>= 5 characters<= 50 characters
Request samples
curl --location --request POST '/maintenance/history' \
--header 'token;' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"devId": "string"
}'
Responses
response status (http status)
Indicator item number (Sr.no -1,2,3)
Value of indicator at time the maintenance has been done
Indicator threshold value
Date when maintenance has been done in yyyyMMdd
{
"status": 0,
"data": [
{
"itemNo": 0,
"itemName": "string",
"value": 0,
"threshold": 0,
"cost": 0,
"remark": "string",
"date": "string"
}
]
}
Modified at 2025-02-28 08:12:14