SweetConnect LogoSweetConnect
ApiMaintenances

Retrieve multiple Maintenances

GET
/v1/maintenances
AuthorizationBearer <token>

In: header

Query Parameters

fields?array<string>

Selects resource fields. Docs

s?string

Adds search condition. Docs

filter?array<string>

Adds filter condition. Docs

or?array<string>

Adds OR condition. Docs

sort?array<string>

Adds sort by field. Docs

join?array<string>

Adds relational resources. Docs

limit?integer

Limit amount of resources. Docs

offset?integer

Offset amount of resources. Docs

page?integer

Page portion of 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"
{
  "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": {
    "count": 0,
    "total": 0,
    "page": 0,
    "pageCount": 0
  }
}