SweetConnect LogoSweetConnect
ApiMaintenances

Completes a maintenance

POST
/v1/maintenances/{id}/complete
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

value?number|null
fixed?boolean|null
state?string|null
numericInput?number|null
comment?string|null

Response Body

application/json

curl -X POST "https://test.sweetconnect.io/api/wds/v1/maintenances/string/complete" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": "string",
    "owner": "string",
    "userId": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "value": 0,
    "fixed": true,
    "state": "string",
    "numericInput": 0,
    "comment": "string"
  },
  "meta": {}
}