SweetConnect LogoSweetConnect
ApiMaintenances

Get last history of a maintenance

GET
/v1/maintenances/{id}/history/last
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://test.sweetconnect.io/api/wds/v1/maintenances/string/history/last"
{
  "data": {
    "id": "string",
    "owner": "string",
    "userId": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "value": 0,
    "fixed": true,
    "state": "string",
    "numericInput": 0,
    "comment": "string"
  },
  "meta": {}
}