SweetConnect LogoSweetConnect
ApiMaintenances

Retrieve a single Maintenance

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

In: header

Path Parameters

id*string

Query Parameters

fields?array<string>

Selects resource fields. Docs

join?array<string>

Adds relational resources. Docs

cache?integer

Reset cache (if was enabled). Docs

Range0 <= value <= 1

Response Body

application/json

curl -X GET "https://test.sweetconnect.io/api/wds/v1/maintenances/string"
{
  "data": {
    "id": "string",
    "owner": "string",
    "title": "string",
    "pdmId": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "assetId": "string",
    "assetName": "string",
    "description": "string",
    "active": true,
    "structure": "string",
    "part": "string",
    "responsibilityGroup": "operator",
    "dueDate": "2019-08-24T14:15:22Z",
    "startValue": 0,
    "interval": 0,
    "intervalUnit": "none",
    "componentsList": "string",
    "toolsList": "string",
    "showFixedDialog": true,
    "showStateDialog": true,
    "showInputDialog": true,
    "inputFieldLabel": "string",
    "reminder": {
      "id": "string",
      "interval": 0,
      "intervalUnit": "years"
    }
  },
  "meta": {}
}