Download OpenAPI specification:Download
The instruction-service is used to configure and manage instructions in alarms.
Creates an instruction for the passed catalog
activeID | integer <int64> |
alarmID | integer <int64> |
catalogID | integer <int64> |
description | string |
directAction | any |
endTime | any |
endUser | integer <int64> |
id | integer <int64> |
name | string |
nextInstructions | Array of integers <int64> [ items <int64 > ] |
previousInstructions | Array of integers <int64> [ items <int64 > ] |
startTime | any |
startUser | integer <int64> |
userComment | string |
{- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
{- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
Returns the instruction with the passed id
id required | integer id of the requested instruction |
{- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
Updates the instruction with the passed id with the passed parameters
id required | integer id of the requested instruction |
activeID | integer <int64> |
alarmID | integer <int64> |
catalogID | integer <int64> |
description | string |
directAction | any |
endTime | any |
endUser | integer <int64> |
id | integer <int64> |
name | string |
nextInstructions | Array of integers <int64> [ items <int64 > ] |
previousInstructions | Array of integers <int64> [ items <int64 > ] |
startTime | any |
startUser | integer <int64> |
userComment | string |
{- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
Deletes the catalog with the passed id
alarmID required | integer id of the alarm |
instructionID required | integer id of the alarm |
updated instruction
activeID | integer <int64> |
alarmID | integer <int64> |
catalogID | integer <int64> |
description | string |
directAction | any |
endTime | any |
endUser | integer <int64> |
id | integer <int64> |
name | string |
nextInstructions | Array of integers <int64> [ items <int64 > ] |
previousInstructions | Array of integers <int64> [ items <int64 > ] |
startTime | any |
startUser | integer <int64> |
userComment | string |
{- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
Deletes the catalog with the passed id
id required | integer id of the alarm |
{- "activeInstructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "alarmID": 0,
- "instructionCatalogID": 0,
- "scenarioID": 0
}
Creates a new instruction catalog with the passed values
catalog payload that should be created
description | string |
id | integer <int64> |
Array of objects (Instruction) | |
name | string |
organizationID | integer <int64> |
{- "description": "string",
- "id": 0,
- "instructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "name": "string",
- "organizationID": 0
}
{- "description": "string",
- "id": 0,
- "instructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "name": "string",
- "organizationID": 0
}
Returns all paginated catalogs for the passed organization
id required | integer id of the requested catalog |
{- "description": "string",
- "id": 0,
- "instructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "name": "string",
- "organizationID": 0
}
Updates the catalog with the passed id and passed parameters
id required | integer id of the catalag |
catalog payload that should be created
description | string |
id | integer <int64> |
Array of objects (Instruction) | |
name | string |
organizationID | integer <int64> |
{- "description": "string",
- "id": 0,
- "instructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "name": "string",
- "organizationID": 0
}
Returns all paginated catalogs for the passed organization
organization required | integer |
limit | integer [ 1 .. 50 ] Default: 10 limits alarm list output to passed amount. |
offset | integer Default: 0 defines the offset for pagination |
{- "catalogs": [
- {
- "description": "string",
- "id": 0,
- "instructions": [
- {
- "activeID": 0,
- "alarmID": 0,
- "catalogID": 0,
- "description": "string",
- "directAction": null,
- "endTime": null,
- "endUser": 0,
- "id": 0,
- "name": "string",
- "nextInstructions": [
- 0
], - "previousInstructions": [
- 0
], - "startTime": null,
- "startUser": 0,
- "userComment": "string"
}
], - "name": "string",
- "organizationID": 0
}
], - "totalCatalogs": 0
}