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
Request Code Samples
curl --location --request POST '/maintenance/history' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"devId": "string"
}'
Responses
{
"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