ActionSessionSubscription
Manage action session subscriptions, which represent the participation of a resource (person, material, etc.) in a specific action session.
You can create, update, delete, and search for action session subscriptions with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Section titled “Operations” POST /v2/action-session-subscription/index
Returns a paginated and filterable list of action session subscriptions.
Use POST to allow complex filters via JSON payload.
Request Body
Section titled “Request Body ”Parameters for searching action session subscriptions
object
object
Additional data
Validity from action_session or action
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "action_session_id": "sess-1" }, "per-page": 10, "page": 1, "sort": "date_begin"}
Responses
Section titled “ Responses ”List of action session subscriptions
object
Additional data
Validity from action_session or action
Example
{ "action_session_subscription_id": "subscr-1", "action_session_id": "sess-1", "action_subscription_id": "asub-1", "done": 1, "warning": 0, "date_begin": "2024-01-10", "date_expire": "2024-01-11", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
Headers
Section titled “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
create
Section titled “create” POST /v2/action-session-subscription/create
Create a new action session subscription by providing the required details.
Request Body required
Section titled “Request Body required ”Action session subscription object to be created
object
Additional data
Certificate generated by the subscription, optional
Example
{ "action_session_id": "sess-1", "action_subscription_id": "asub-1", "done": 1, "warning": 0, "date_begin": "2024-01-10", "date_expire": "2024-01-11", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
Responses
Section titled “ Responses ”Action session subscription created successfully
object
Additional data
Certificate generated by the subscription, optional
Example
{ "action_session_subscription_id": "subscr-1", "action_session_id": "sess-1", "action_subscription_id": "asub-1", "done": 1, "warning": 0, "date_begin": "2024-01-10", "date_expire": "2024-01-11", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
GET /v2/action-session-subscription/view/{id}
Retrieve an action session subscription by its unique ID.
Path Parameters
Section titled “Path Parameters ”ID of the action session subscription to retrieve
Responses
Section titled “ Responses ”Action session subscription found
object
Additional data
Validity from action_session or action
Example
{ "action_session_subscription_id": "subscr-1", "action_session_id": "sess-1", "action_subscription_id": "asub-1", "done": 1, "warning": 0, "date_begin": "2024-01-10", "date_expire": "2024-01-11", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
Action session subscription not found
delete
Section titled “delete” DELETE /v2/action-session-subscription/delete/{id}
Delete an action session subscription by its unique ID.
If force=true, all related entities will also be deleted.
Path Parameters
Section titled “Path Parameters ”ID of the action session subscription to delete
Query Parameters
Section titled “Query Parameters ”Force the deletion of the entity and all related entities
Responses
Section titled “ Responses ”Action session subscription deleted successfully
If force=false, the operation is interrupted and the list of connected entities that will be deleted in case of confirmation (force=true) is returned
update
Section titled “update” PUT /v2/action-session-subscription/update/{id}
Update an existing action session subscription by its unique ID.
Path Parameters
Section titled “Path Parameters ”ID of the action session subscription to update
Request Body required
Section titled “Request Body required ”Action session subscription object with updated data
object
Additional data
Certificate generated by the subscription, optional
Example
{ "done": 0, "warning": 1}
Responses
Section titled “ Responses ”Action session subscription updated successfully
object
Additional data
Certificate generated by the subscription, optional
Example
{ "action_session_subscription_id": "subscr-1", "done": 0, "warning": 1}
Action session subscription not found