Opfab API (SNAPSHOT)

Download OpenAPI specification:

OperatorFabric API documentation

cards consultation

Everything concerning cards retrieving

Get card

Get card with its id

path Parameters
id
required
string

The id parameter is constructed as follows : {process}.{processInstanceId}

Responses

Get cards matching given criteria

Get published cards matching the criteria given as parameters. Results are limited to the cards that the calling user is allowed to see (based on the card recipients). For performance reasons, the response does not contain all lightCard fields, the returned fields are : id, uid,publisher, processVersion,process, processInstanceId,state,title,summary,publishDate,startDate,endDate,severity, publisherType, representative,representativeType. The other fields are set to null.

Request Body schema: application/json
page
number

Page number

size
number

Page size (max number of items in page)

adminMode
boolean
includeChildCards
boolean
latestUpdateOnly
boolean
Array of objects (FilterModel)
selectedFields
Array of strings

Responses

Request samples

Content type
application/json
{
  • "page": 0,
  • "size": 0,
  • "adminMode": true,
  • "includeChildCards": true,
  • "latestUpdateOnly": true,
  • "filters": [
    ],
  • "selectedFields": [
    ]
}

Get card subscription

Get cards restricted to calling user. Cards all come with empty data and details. requesting this end point opens an SSE connection

query Parameters
rangeStart
string <date-time>

start of time range to get published card

rangeEnd
string <date-time>

end of time range to get published card

notification
boolean
Default: false

If true, connection is kept for notification of new cards (not related to the specified range)

clientId
string

A unique id to identify client to allow for reconnection (an autogenerated UUID is the best solution)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update existing subscription

Update existing subscription

path Parameters
uiId
required
string

unique ui client id associated to subscription

Request Body schema: application/json

updated subscription

rangeStart
object (EpochDate)

Number of milliseconds since Epoch (long integer)

rangeEnd
object (EpochDate)

Number of milliseconds since Epoch (long integer)

Responses

Request samples

Content type
application/json
{
  • "rangeStart": 1551868290379,
  • "rangeEnd": 1551868290379
}

Response samples

Content type
application/json
{
  • "rangeStart": 1551868290379,
  • "rangeEnd": 1551868290379
}

Get archived card

Get archived card with the given id

path Parameters
id
required
string

Responses

Get archived cards matching given criteria

Get archived cards matching the criteria given as parameters. Results are limited to the cards that the calling user is allowed to see (based on the card recipients). For performance reasons, the response does not contain all lightCard fields, the returned fields are : id, uid,publisher, processVersion,process, processInstanceId,state,title,summary,publishDate,startDate,endDate,severity, publisherType, representative,representativeType. The other fields are set to null.

Request Body schema: application/json
page
number

Page number

size
number

Page size (max number of items in page)

adminMode
boolean
includeChildCards
boolean
latestUpdateOnly
boolean
Array of objects (FilterModel)
selectedFields
Array of strings

Responses

Request samples

Content type
application/json
{
  • "page": 0,
  • "size": 0,
  • "adminMode": true,
  • "includeChildCards": true,
  • "latestUpdateOnly": true,
  • "filters": [
    ],
  • "selectedFields": [
    ]
}

cards publication

Everything concerning publishing cards

Post card

Publish one card to OperatorFabric

Request Body schema: application/json
publisher
required
string

Unique ID of the entity or service publishing the card

processVersion
required
string

Version of the associated process

process
required
string

ID of the associated process

processInstanceId
required
string

ID of the associated process instance

state
required
string

associated process state name

publishDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

lttd
object (EpochDate)

Number of milliseconds since Epoch (long integer)

startDate
required
object (EpochDate)

Number of milliseconds since Epoch (long integer)

endDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

expirationDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

severity
required
string (SeverityEnum)
Enum: "ALARM" "ACTION" "COMPLIANT" "INFORMATION"

Severity of the card subject >

  • ALARM - The process instance behind the card is in critical condition
  • ACTION - The process instance behind the card is expecting an action from the user
  • COMPLIANT - The process related to the card is in a compliant status
  • INFORMATION - Purely informational card
tags
Array of strings

Tags associated with the card

object (RRule)

An object representing the recurrence of the card (as defined in the RFC 5545)

Array of objects (TimeSpan)

List of business time span associated to card

required
object (I18n)

describes an i18n label

required
object (I18n)

describes an i18n label

titleTranslated
string

Card title translated

summaryTranslated
string

Card summary translated

userRecipients
Array of strings

List of user recipients

groupRecipients
Array of strings

List of group recipients

entitiesAllowedToRespond
Array of strings

List of entities that can respond

entitiesRequiredToRespond
Array of strings

List of entities that have to respond. It will be taken into account in addition to entitiesAllowedToRespond to determine if a user can send a response. If present and not empty, this list will be used for display in the card detail header instead of entitiesAllowedToRespond.

entityRecipients
Array of strings

List of entity recipients

entityRecipientsForInformation
Array of strings

List of entity recipients for information : Among entityRecipients which one are only for information.

entitiesAllowedToEdit
Array of strings

List of entities that can edit the card

data
object

Business data

hasBeenAcknowledged
boolean

Is true if the card was acknowledged by current user

entitiesAcks
Array of strings

List of entities that acknowledged the card

hasBeenRead
boolean

Is true if the card was read by current user

publisherType
string (PublisherTypeEnum)
Enum: "EXTERNAL" "ENTITY"

Publisher type >

  • EXTERNAL - The sender is an external service.
  • ENTITY - The sender of the card is the user on behalf of the entity.
  • USER - The sender of the card is the user himself.
representative
string

Used in case of sending card as a representative of an entity or a publisher (unique ID of the entity or publisher)

representativeType
string (PublisherTypeEnum)
Enum: "EXTERNAL" "ENTITY"

Publisher type >

  • EXTERNAL - The sender is an external service.
  • ENTITY - The sender of the card is the user on behalf of the entity.
  • USER - The sender of the card is the user himself.
wktGeometry
string

Contains WKT geometry string ex. 'POINT (6.476709 52.569132)'

wktProjection
string

Contains projection ex. 'EPSG:4326'

secondsBeforeTimeSpanForReminder
integer >= 0
actions
Array of strings (CardActionEnum)
Items Enum: "PROPAGATE_READ_ACK_TO_PARENT_CARD" "KEEP_CHILD_CARDS" "KEEP_EXISTING_ACKS_AND_READS" "KEEP_EXISTING_PUBLISH_DATE" "STORE_ONLY_IN_ARCHIVES" "NOT_NOTIFIED"

Responses

Request samples

Content type
application/json
{
  • "uid": 12345,
  • "id": "cardIdFromMyProcess",
  • "publisher": "MyService",
  • "processVersion": "0.0.1",
  • "process": "MyProcess",
  • "processInstanceId": "MyProcess_001",
  • "state": "started",
  • "publishDate": 1546300800000,
  • "lttd": 1546387230000,
  • "startDate": 1546387200000,
  • "endDate": 1546387250000,
  • "expirationDate": 1546397250000,
  • "severity": "ACTION",
  • "tags": [
    ],
  • "title": {
    },
  • "summary": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "uid": "string"
}

Patch existing card

Patch existing card

path Parameters
id
required
string

card id

Request Body schema: application/json

card containing fields to be updated

publisher
required
string

Unique ID of the entity or service publishing the card

processVersion
required
string

Version of the associated process

process
required
string

ID of the associated process

processInstanceId
required
string

ID of the associated process instance

state
required
string

associated process state name

publishDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

lttd
object (EpochDate)

Number of milliseconds since Epoch (long integer)

startDate
required
object (EpochDate)

Number of milliseconds since Epoch (long integer)

endDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

expirationDate
object (EpochDate)

Number of milliseconds since Epoch (long integer)

severity
required
string (SeverityEnum)
Enum: "ALARM" "ACTION" "COMPLIANT" "INFORMATION"

Severity of the card subject >

  • ALARM - The process instance behind the card is in critical condition
  • ACTION - The process instance behind the card is expecting an action from the user
  • COMPLIANT - The process related to the card is in a compliant status
  • INFORMATION - Purely informational card
tags
Array of strings

Tags associated with the card

object (RRule)

An object representing the recurrence of the card (as defined in the RFC 5545)

Array of objects (TimeSpan)

List of business time span associated to card

required
object (I18n)

describes an i18n label

required
object (I18n)

describes an i18n label

titleTranslated
string

Card title translated

summaryTranslated
string

Card summary translated

userRecipients
Array of strings

List of user recipients

groupRecipients
Array of strings

List of group recipients

entitiesAllowedToRespond
Array of strings

List of entities that can respond

entitiesRequiredToRespond
Array of strings

List of entities that have to respond. It will be taken into account in addition to entitiesAllowedToRespond to determine if a user can send a response. If present and not empty, this list will be used for display in the card detail header instead of entitiesAllowedToRespond.

entityRecipients
Array of strings

List of entity recipients

entityRecipientsForInformation
Array of strings

List of entity recipients for information : Among entityRecipients which one are only for information.

entitiesAllowedToEdit
Array of strings

List of entities that can edit the card

data
object

Business data

hasBeenAcknowledged
boolean

Is true if the card was acknowledged by current user

entitiesAcks
Array of strings

List of entities that acknowledged the card

hasBeenRead
boolean

Is true if the card was read by current user

publisherType
string (PublisherTypeEnum)
Enum: "EXTERNAL" "ENTITY"

Publisher type >

  • EXTERNAL - The sender is an external service.
  • ENTITY - The sender of the card is the user on behalf of the entity.
  • USER - The sender of the card is the user himself.
representative
string

Used in case of sending card as a representative of an entity or a publisher (unique ID of the entity or publisher)

representativeType
string (PublisherTypeEnum)
Enum: "EXTERNAL" "ENTITY"

Publisher type >

  • EXTERNAL - The sender is an external service.
  • ENTITY - The sender of the card is the user on behalf of the entity.
  • USER - The sender of the card is the user himself.
wktGeometry
string

Contains WKT geometry string ex. 'POINT (6.476709 52.569132)'

wktProjection
string

Contains projection ex. 'EPSG:4326'

secondsBeforeTimeSpanForReminder
integer >= 0
actions
Array of strings (CardActionEnum)
Items Enum: "PROPAGATE_READ_ACK_TO_PARENT_CARD" "KEEP_CHILD_CARDS" "KEEP_EXISTING_ACKS_AND_READS" "KEEP_EXISTING_PUBLISH_DATE" "STORE_ONLY_IN_ARCHIVES" "NOT_NOTIFIED"

Responses

Request samples

Content type
application/json
{
  • "uid": 12345,
  • "id": "cardIdFromMyProcess",
  • "publisher": "MyService",
  • "processVersion": "0.0.1",
  • "process": "MyProcess",
  • "processInstanceId": "MyProcess_001",
  • "state": "started",
  • "publishDate": 1546300800000,
  • "lttd": 1546387230000,
  • "startDate": 1546387200000,
  • "endDate": 1546387250000,
  • "expirationDate": 1546397250000,
  • "severity": "ACTION",
  • "tags": [
    ],
  • "title": {
    },
  • "summary": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "uid": "string"
}

Delete cards

Delete cards from OperatorFabric where card endDate is before the specified date or where card has no endDate and startDate is before the specified date.

query Parameters
string

Responses

Delete a card

Delete a card

path Parameters
id
required
string

The id parameter is constructed as follows : {process}.{processInstanceId}

Responses

Update current card adding a user acknowledgement

Update current card users acknowledgements, adding a new item, by card id and authenticated user

path Parameters
uid
required
string

The card uid

Responses

Update current card removing a user acknowledgement

Update current card users acknowledgements, removing an item, by card id and authenticated user

path Parameters
uid
required
string

The card uid

Responses

Update current card adding a user read

Update current card users reads, adding a new item, by card id and authenticated user

path Parameters
uid
required
string

The card uid

Responses

Update current card removing a user read

Update current card users reads, removing an item, by card id and authenticated user

path Parameters
uid
required
string

The card uid

Responses

Update current card removing acknowledgements and reads

Update current card removing acknowledgements and reads, send the card with updated publishDate

path Parameters
uid
required
string

The card uid

Responses

Reset the card publication rate limiter

Reset the card publication rate limiter

Responses

users

Everything concerning users

Get a list of all existing users

Get a list of all existing users, with pagination and filter options

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Post a new user

Create a new user. If the user already exists, then an update of the user will be made. Be careful, login must be minimum 2 characters and must only contain lowercase letters, _, -, . or digits.

Request Body schema: application/json

User to be created

login
required
string

Login must be minimum 2 characters and must only contain lowercase letters, _, -, . or digits.

firstName
string
lastName
string
email
string
comment
string
groups
Array of strings[ items unique ]
entities
Array of strings[ items unique ]

Responses

Request samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Get an existing user

Get an existing user from their login

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Update existing user

Update existing user

path Parameters
login
required
string

user login (should match login in request body)

Request Body schema: application/json

User to be updated (login should match path parameter)

login
required
string

Login must be minimum 2 characters and must only contain lowercase letters, _, -, . or digits.

firstName
string
lastName
string
email
string
comment
string
groups
Array of strings[ items unique ]
entities
Array of strings[ items unique ]

Responses

Request samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Delete a user

Delete a user

path Parameters
login
required
string

User login

Responses

Get a user's settings

Get existing user's settings from their login

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "locale": "en"
}

Update existing user settings

Update existing user settings

path Parameters
login
required
string

user login (should match login in request body)

Request Body schema: application/json

User settings to be updated (login should match path parameter)

login
required
string

User login

locale
string

User using browser format

playSoundForAlarm
boolean

If this is set to true, a sound will be played for incoming cards with ALARM severity.

playSoundForAction
boolean

If this is set to true, a sound will be played for incoming cards with ACTION severity.

playSoundForCompliant
boolean

If this is set to true, a sound will be played for incoming cards with COMPLIANT severity.

playSoundForInformation
boolean

If this is set to true, a sound will be played for incoming cards with INFORMATION severity.

systemNotificationAlarm
boolean

If this is set to true, a notification will be sent for incoming cards with ALARM severity.

systemNotificationAction
boolean

If this is set to true, a notification will be sent for incoming cards with ACTION severity.

systemNotificationCompliant
boolean

If this is set to true, a notification will be sent for incoming cards with COMPLIANT severity.

systemNotificationInformation
boolean

If this is set to true, a notification will be sent for incoming cards with INFORMATION severity.

playSoundOnExternalDevice
boolean

If set to true and the user has an external device configured, sounds will be played on this device rather than in the browser

replayEnabled
boolean

If this is set to true, sounds for incoming cards or reminders will be replayed until the user clicks anywhere on the screen.

replayInterval
integer

Interval (in seconds) between sound replays.

hallwayMode
boolean

If this is set to true, hallway mode for feed screen will be enabled

remoteLoggingEnabled
boolean

If this is set to true, some of the ui logs are stored in the log file of cards-consultation service

showAcknowledgmentFooter
boolean

If this is set to true, always show entities acknowledgments footer in card details

openNextCardOnAcknowledgment
boolean

If this is set to true, in feed page, after card acknowledgment open next card in the feed

object

Filters on processes and states for user feed (exclusion filter)

object

Indicates for which process states the user will be notified by email

entitiesDisconnected
Array of strings

Entities not represented by the user for his current session

sendCardsByEmail
boolean

If this is set to true, Opfab will send unread cards notification by email

emailToPlainText
boolean

If this is set to true, the emails' bodies will be plain text

sendDailyEmail
boolean

If this is set to true, an email will be sent daily with all the cards received during the day

sendWeeklyEmail
boolean

If this is set to true, an email will be sent weekly with all the cards received during the week

email
string

Email address to use as recipient for email notifications

emailAttachmentTemplate
string

Name of the handlebar template to use to build the email's attachement

emailAttachmentFileName
string

Name of the attachement file in the email

timezoneForEmails
string

Timezone used for emails sent by opfab

Responses

Request samples

Content type
application/json
{
  • "login": "jcleese",
  • "locale": "en"
}

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "locale": "en"
}

Patch existing user settings

Patch existing user settings

path Parameters
login
required
string

user login

Request Body schema: application/json

User settings to be updated

login
required
string

User login

locale
string

User using browser format

playSoundForAlarm
boolean

If this is set to true, a sound will be played for incoming cards with ALARM severity.

playSoundForAction
boolean

If this is set to true, a sound will be played for incoming cards with ACTION severity.

playSoundForCompliant
boolean

If this is set to true, a sound will be played for incoming cards with COMPLIANT severity.

playSoundForInformation
boolean

If this is set to true, a sound will be played for incoming cards with INFORMATION severity.

systemNotificationAlarm
boolean

If this is set to true, a notification will be sent for incoming cards with ALARM severity.

systemNotificationAction
boolean

If this is set to true, a notification will be sent for incoming cards with ACTION severity.

systemNotificationCompliant
boolean

If this is set to true, a notification will be sent for incoming cards with COMPLIANT severity.

systemNotificationInformation
boolean

If this is set to true, a notification will be sent for incoming cards with INFORMATION severity.

playSoundOnExternalDevice
boolean

If set to true and the user has an external device configured, sounds will be played on this device rather than in the browser

replayEnabled
boolean

If this is set to true, sounds for incoming cards or reminders will be replayed until the user clicks anywhere on the screen.

replayInterval
integer

Interval (in seconds) between sound replays.

hallwayMode
boolean

If this is set to true, hallway mode for feed screen will be enabled

remoteLoggingEnabled
boolean

If this is set to true, some of the ui logs are stored in the log file of cards-consultation service

showAcknowledgmentFooter
boolean

If this is set to true, always show entities acknowledgments footer in card details

openNextCardOnAcknowledgment
boolean

If this is set to true, in feed page, after card acknowledgment open next card in the feed

object

Filters on processes and states for user feed (exclusion filter)

object

Indicates for which process states the user will be notified by email

entitiesDisconnected
Array of strings

Entities not represented by the user for his current session

sendCardsByEmail
boolean

If this is set to true, Opfab will send unread cards notification by email

emailToPlainText
boolean

If this is set to true, the emails' bodies will be plain text

sendDailyEmail
boolean

If this is set to true, an email will be sent daily with all the cards received during the day

sendWeeklyEmail
boolean

If this is set to true, an email will be sent weekly with all the cards received during the week

email
string

Email address to use as recipient for email notifications

emailAttachmentTemplate
string

Name of the handlebar template to use to build the email's attachement

emailAttachmentFileName
string

Name of the attachement file in the email

timezoneForEmails
string

Timezone used for emails sent by opfab

Responses

Request samples

Content type
application/json
{
  • "login": "jcleese",
  • "locale": "en"
}

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "locale": "en"
}

Synchronize user data

Synchronize user data with JWT token

Responses

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "firstName": "John",
  • "lastName": "Cleese",
  • "groups": [
    ],
  • "entities": [
    ]
}

Update list of group users

Update list of group users, users not included in given list are removed from group

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of user ids representing exactly the intended list of group users after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add users to group

ONLY add users to group (no deletion)

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of user ids to be added to group

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all users from group

remove all users from group

path Parameters
id
required
string

Group id

Responses

Remove user from group

ONLY remove user from group (no addition)

path Parameters
id
required
string

Group id

login
required
string

User login

Responses

Update list of entity users

Update list of entity users, users not included in given list are removed from entity.

path Parameters
id
required
string

Entity id

Request Body schema: application/json

Array of user logins representing exactly the intended list of entity users after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add users to entity

ONLY add users to entity (no deletion).

path Parameters
id
required
string

Entity id

Request Body schema: application/json

Array of user logins to be added to entity

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all users from entity

remove all users from entity.

path Parameters
id
required
string

Entity id

Responses

Remove user from entity

ONLY remove user from entity (no addition).

path Parameters
id
required
string

Entity id

login
required
string

User login

Responses

Get an existing user's perimeters

Get existing user's perimeters from their login.

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Get information about the user connected and his perimeters

Get information about the user connected and his perimeters.

Responses

Response samples

Content type
application/json
{
  • "userData": {
    },
  • "computedPerimeters": [
    ]
}

Get information about a user and his perimeters

Get information about a user and his perimeters.

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
{
  • "userData": {
    },
  • "computedPerimeters": [
    ]
}

Get user action logs

Get the list the user actions.

query Parameters
login
Array of strings

usernames of the users who performed the actions

action
Array of strings

types of actions performed

dateFrom
number

Date as number of milliseconds since epoch. If this query parameter is set, only cards with a publishDate that is after this date will be returned. This parameter should be unique or a BAD REQUEST will be returned.

dateTo
number

Date as number of milliseconds since epoch. If this query parameter is set, only cards with a publishDate that is before this date will be returned. This parameter should be unique or a BAD REQUEST will be returned.

page
number

Page number of the page to retrieve. If "size" is set but "page" isn't, the default page returned will be the first (number 0). If "page" is set but "size" isn't, the default size will be 10 items. If neither "page" nor "size" is set, the response will contain a single page containing all matching cards. This parameter should be unique or a BAD REQUEST will be returned.

size
number

Size of the results pages. If "size" is set but "page" isn't, the default page returned will be the first (number 0). If "page" is set but "size" isn't, the default size will be 10 items. If neither "page" nor "size" is set, the response will contain a single page containing all matching cards. This parameter should be unique or a BAD REQUEST will be returned.

Responses

Response samples

Content type
application/json
{
  • "content": [
    ],
  • "first": true,
  • "last": true,
  • "totalPages": 0,
  • "totalElements": 0,
  • "numberOfElements": 0,
  • "size": 0,
  • "number": 0
}

Get last user action

Get the list the user actions.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get a last user action, for a specific user

Get a last user action, for a specific user

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
{
  • "login": "jcleese",
  • "lastActionDate": 1719911567000
}

Set notification for a process/state for all users

Configure process/state notification for all users

path Parameters
process
required
string

process id

state
required
string

state id

Responses

Unset process/state notification for all users

Remove process/state notification for all users

path Parameters
process
required
string

process id

state
required
string

state id

Responses

Set email notification for a process/state for all users

Configure process/state email notification for all users

path Parameters
process
required
string

process id

state
required
string

state id

Responses

Unset email notification for a process/state for all users

Remove process/state email notification for all users

path Parameters
process
required
string

process id

state
required
string

state id

Responses

groups

Everything concerning groups

Get a list of all existing groups

Get a list of all existing groups, with pagination and filter options

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Post a new group

Create a new group of users

Request Body schema: application/json

Group to be created

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

name
string
description
string
users
Array of strings[ items unique ]
perimeters
Array of strings[ items unique ]
permissions
Array of strings (PermissionEnum)
Items Enum: "ADMIN" "ADMIN_BUSINESS_PROCESS" "VIEW_ALL_CARDS" "VIEW_ALL_CARDS_FOR_USER_PERIMETERS" "VIEW_USER_ACTION_LOGS" "READONLY"

Responses

Request samples

Content type
application/json
{
  • "id": "WANDA",
  • "name": "Wanda",
  • "description": "They were not as successful in Fierce Creatures."
}

Response samples

Content type
application/json
{
  • "id": "WANDA",
  • "name": "Wanda",
  • "description": "They were not as successful in Fierce Creatures."
}

Update existing group

Update existing group

path Parameters
id
required
string

Id of group to be updated (should match "id group" in request body)

Request Body schema: application/json

Updated group data (should match "id group" path parameter)

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

name
string
description
string
users
Array of strings[ items unique ]
perimeters
Array of strings[ items unique ]
permissions
Array of strings (PermissionEnum)
Items Enum: "ADMIN" "ADMIN_BUSINESS_PROCESS" "VIEW_ALL_CARDS" "VIEW_ALL_CARDS_FOR_USER_PERIMETERS" "VIEW_USER_ACTION_LOGS" "READONLY"

Responses

Request samples

Content type
application/json
{
  • "id": "WANDA",
  • "name": "Wanda",
  • "description": "They were not as successful in Fierce Creatures."
}

Response samples

Content type
application/json
{
  • "id": "WANDA",
  • "name": "Wanda",
  • "description": "They were not as successful in Fierce Creatures."
}

Get a group

Get an existing group of users

path Parameters
id
required
string

Group id

Responses

Response samples

Content type
application/json
{
  • "id": "WANDA",
  • "name": "Wanda",
  • "description": "They were not as successful in Fierce Creatures."
}

Delete group

Delete a group

path Parameters
id
required
string

Group id

Responses

Update list of group users

Update list of group users, users not included in given list are removed from group

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of user ids representing exactly the intended list of group users after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add users to group

ONLY add users to group (no deletion)

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of user ids to be added to group

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all users from group

remove all users from group

path Parameters
id
required
string

Group id

Responses

Remove user from group

ONLY remove user from group (no addition)

path Parameters
id
required
string

Group id

login
required
string

User login

Responses

Update groups that have this perimeter

Update list of groups that have this perimeter, groups not included in given list lose this perimeter.

path Parameters
id
required
string

Perimeter id

Request Body schema: application/json

Array of group id representing exactly the intended list of groups that must have this perimeter after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add groups to perimeter

ONLY add groups to perimeter (no deletion).

path Parameters
id
required
string

Perimeter id

Request Body schema: application/json

Array of group id to be added to perimeter

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all groups from perimeter

remove all groups from perimeter.

path Parameters
id
required
string

Perimeter id

Responses

Remove group from perimeter

ONLY remove group from perimeter (no addition).

path Parameters
idPerimeter
required
string

Perimeter id

idGroup
required
string

Group id

Responses

Get a group's perimeters

Get existing group's perimeters from their id.

path Parameters
id
required
string

group id

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Update list of perimeters for group

Update list of perimeters for group, perimeters not included in given list are no longer linked to the group.

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of perimeter id representing exactly the intended list of perimeters that must be linked to the group after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add perimeters to group

ONLY add perimeters to group (no deletion).

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of perimeter id to be added to group

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

entities

Everything concerning entities

Get all entities.

Fetch a list of all existing entities, with pagination and filter options.

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Post an entity of users

Create a new entity of users.

Request Body schema: application/json

Entity to be created

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

name
string
description
string
labels
Array of strings
parents
Array of strings[ items unique ]
roles
Array of strings (RoleEnum)
Items Enum: "ACTIVITY_AREA" "ACTIVITY_AREA_GROUP" "CARD_SENDER" "CARD_RECEIVER"

Responses

Request samples

Content type
application/json
{
  • "id": "ENTITY1",
  • "name": "Control Room 1",
  • "description": "Control Room 1"
}

Response samples

Content type
application/json
{
  • "id": "ENTITY1",
  • "name": "Control Room 1",
  • "description": "Control Room 1"
}

Update existing entity

Update existing entity.

path Parameters
id
required
string

Id of entity to be updated (should match id in request body)

Request Body schema: application/json

Updated entity data (should match id path parameter)

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

name
string
description
string
labels
Array of strings
parents
Array of strings[ items unique ]
roles
Array of strings (RoleEnum)
Items Enum: "ACTIVITY_AREA" "ACTIVITY_AREA_GROUP" "CARD_SENDER" "CARD_RECEIVER"

Responses

Request samples

Content type
application/json
{
  • "id": "ENTITY1",
  • "name": "Control Room 1",
  • "description": "Control Room 1"
}

Response samples

Content type
application/json
{
  • "id": "ENTITY1",
  • "name": "Control Room 1",
  • "description": "Control Room 1"
}

Fetch an existing entity of users

Fetch an existing entity of users.

path Parameters
id
required
string

Entity id

Responses

Response samples

Content type
application/json
{
  • "id": "ENTITY1",
  • "name": "Control Room 1",
  • "description": "Control Room 1"
}

Delete an entity

Delete an entity

path Parameters
id
required
string

Entity id

Responses

Update list of entity users

Update list of entity users, users not included in given list are removed from entity.

path Parameters
id
required
string

Entity id

Request Body schema: application/json

Array of user logins representing exactly the intended list of entity users after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add users to entity

ONLY add users to entity (no deletion).

path Parameters
id
required
string

Entity id

Request Body schema: application/json

Array of user logins to be added to entity

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all users from entity

remove all users from entity.

path Parameters
id
required
string

Entity id

Responses

Remove user from entity

ONLY remove user from entity (no addition).

path Parameters
id
required
string

Entity id

login
required
string

User login

Responses

perimeters

Everything concerning perimeters

Get all perimeters

Get a list of all existing perimeters.

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Post a new perimeter

Create a new perimeter.

Request Body schema: application/json

Perimeter to be created

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

process
string
Array of objects (StateRight)

Responses

Request samples

Content type
application/json
{
  • "id": "Process1Perimeter1",
  • "process": "Process1",
  • "stateRights": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "Process1Perimeter1",
  • "process": "Process1",
  • "stateRights": [
    ]
}

Update existing perimeter

Update existing perimeter.

path Parameters
id
required
string

Id of perimeter to be updated (should match id in request body)

Request Body schema: application/json

Updated perimeter data (should match id path parameter)

id
required
string

Id must be minimum 2 characters and must only contain letters, _, - or digits.

process
string
Array of objects (StateRight)

Responses

Request samples

Content type
application/json
{
  • "id": "Process1Perimeter1",
  • "process": "Process1",
  • "stateRights": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "Process1Perimeter1",
  • "process": "Process1",
  • "stateRights": [
    ]
}

Fetch an existing perimeter

Fetch an existing perimeter.

path Parameters
id
required
string

Perimeter id

Responses

Response samples

Content type
application/json
{
  • "id": "Process1Perimeter1",
  • "process": "Process1",
  • "stateRights": [
    ]
}

Delete a perimeter

Delete a perimeter

path Parameters
id
required
string

Perimeter id

Responses

Update groups that have this perimeter

Update list of groups that have this perimeter, groups not included in given list lose this perimeter.

path Parameters
id
required
string

Perimeter id

Request Body schema: application/json

Array of group id representing exactly the intended list of groups that must have this perimeter after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add groups to perimeter

ONLY add groups to perimeter (no deletion).

path Parameters
id
required
string

Perimeter id

Request Body schema: application/json

Array of group id to be added to perimeter

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Remove all groups from perimeter

remove all groups from perimeter.

path Parameters
id
required
string

Perimeter id

Responses

Remove group from perimeter

ONLY remove group from perimeter (no addition).

path Parameters
idPerimeter
required
string

Perimeter id

idGroup
required
string

Group id

Responses

Get a group's perimeters

Get existing group's perimeters from their id.

path Parameters
id
required
string

group id

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Update list of perimeters for group

Update list of perimeters for group, perimeters not included in given list are no longer linked to the group.

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of perimeter id representing exactly the intended list of perimeters that must be linked to the group after update

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Add perimeters to group

ONLY add perimeters to group (no deletion).

path Parameters
id
required
string

Group id

Request Body schema: application/json

Array of perimeter id to be added to group

Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Get an existing user's perimeters

Get existing user's perimeters from their login.

path Parameters
login
required
string

user login

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

processes

Everything concerning processes

Get existing processes.

Get existing processes. If the query parameter allVersions is absent or set to false, only the latest version of the processes will be returned.

query Parameters
allVersions
boolean

If true, all versions of processes will be returned.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Post process configuration bundle

Upload process configuration bundle. Bundle is a gzipped tarball (tar.gz) containing a config.json file (containing a Process object in json notation) and the associated resource files

Request Body schema: multipart/form-data
required
file
required
string <binary>

file to upload

Responses

Response samples

Content type
application/json
{
  • "id": "some_business_process",
  • "name": "some_business_process.label",
  • "version": "v1.0",
  • "initial_state": {
    },
  • "other_state": {
    }
}

Delete all existing process configuration data

Delete all existing process configuration data

Responses

Get configuration data for a given process

Get configuration data for a given process

path Parameters
processId
required
string

Id of the process to retrieve

query Parameters
version
string

Expected version of process (defaults to latest)

Responses

Response samples

Content type
application/json
{
  • "id": "some_business_process",
  • "name": "some_business_process.label",
  • "version": "v1.0",
  • "initial_state": {
    },
  • "other_state": {
    }
}

Delete process configuration data

Delete existing process configuration data

path Parameters
processId
required
string

Id of the process to delete

Responses

Get all versions of configuration data for a given process

Get all versions of configuration data for a given process

path Parameters
processId
required
string

Id of the process to retrieve

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get existing template

Get template, if file exists return file (application/handlebars) otherwise return error message (application/json)

path Parameters
processId
required
string

Id of the process to retrieve

templateName
required
string

Name of template to retrieve (w.o. extension)

query Parameters
version
string

Expected version of template (defaults to latest)

Responses

Response samples

Content type
"string"

Get css file

Get css file, if file exists return file (text/css) otherwise return error message (application/json)

path Parameters
processId
required
string

Id of the process to retrieve

cssFileName
required
string

Name of stylesheet file to retrieve (w.o. extension)

query Parameters
version
string

Expected version of stylesheet (defaults to latest)

Responses

Response samples

Content type
"string"

Get i18n translation file

Get i18n file, if file exists return file (text/plain) otherwise return error message (application/json)

path Parameters
processId
required
string

Id of the process to retrieve

query Parameters
version
string

Expected version of i18n (defaults to latest)

Responses

Response samples

Content type
"string"

Get response associated with a given state of a given process

Get response associated with a given state of a given process, returns a response (application/json)

path Parameters
processId
required
string

Id of the process to retrieve

state
required
string

Name of state

query Parameters
version
string

Required version of process (defaults to latest)

Responses

Response samples

Content type
application/json
{
  • "lock": true,
  • "state": "string",
  • "externalRecipients": [
    ],
  • "emittingEntityAllowedToRespond": true,
  • "showConfirmationPopup": true
}

Delete specific version of the configuration data for a given process

Delete specific version of the configuration data for a given process

path Parameters
processId
required
string

Id of the process to delete

version
required
string

Version of process to delete

Responses

Get the groups of processes

Get the groups of processes

Responses

Response samples

Content type
application/json
{
  • "groups": [
    ]
}

Upload file defining the groups of processes

Upload file defining the groups of processes. This file must be in json format and is saved to disk, under the name 'processGroups.json'.

Request Body schema: multipart/form-data
required
file
required
string <binary>

file to upload

Responses

Get the process monitoring configuration

Get the process monitoring configuration

Responses

Response samples

Content type
application/json
{
  • "fields": [
    ],
  • "fieldsForProcesses": [
    ],
  • "filters": {
    }
}

Post the json defining the process monitoring config

Post the json defining the process monitoring config This json is saved to disk, under the name 'processmonitoring.json'. The uploaded file should be a valid JSON file containing the ProcessMonitoring object structure as defined in the schema

Request Body schema: multipart/form-data
required
file
required
string <binary>

file to upload

Responses

business data

Everything concerning business data

Get the list of the available business data

Get the list of the available business data

Responses

Response samples

Content type
application/json
{ }

Delete all business data

Delete all business data

Responses

Get a business data

Get a business data

path Parameters
resourceName
required
string

Name of the resource

Responses

Response samples

Content type
application/json
{ }

Post file containing businessdata

Upload file containing businessdata This file must be in json format and is saved to disk.

path Parameters
resourceName
required
string

Name of the resource

Request Body schema: multipart/form-data
required
file
required
string <binary>

file to upload

Responses

Delete a business data

Delete a business data

path Parameters
resourceName
required
string

Name of the resource

Responses

realtime screen

Realtime screen configuration

Get the configuration for the real time screen

Get the configuration for the real time screen

Responses

Response samples

Content type
application/json
{
  • "realTimeScreens": [
    ]
}

Post file defining the configuration for the real time screen

Upload file defining the configuration for the real time screen. This file must be in json format and is saved to disk, under the name 'realtimescreens.json'.

Request Body schema: multipart/form-data
required
file
required
string <binary>

file to upload

Responses