Skip to content

CertificateAction

Manage certificate actions, which represent the association between certificates and actions (such as training, maintenance, or health checks).
You can create, update, delete, and search for certificate actions with advanced filtering and pagination.

Version
2.0.0
OpenAPI version
3.0.0
POST
/v2/certificate-action/index

Returns a paginated and filterable list of certificate actions.
Use POST to allow complex filters via JSON payload.

Parameters for searching certificate actions

object
filter
object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date
tenant_id
string
action_name
string
action_code
string
action_type
string
Allowed values: TRAINING HEALTH PER CHECK MAINTENANCE
resource_id
string format: uuid
certificate_name
string
is_date_inherited
integer
date_release
string format: date
office_name
string
per-page
integer
default: 100 >= 1
page
integer
default: 1 >= 1
sort

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

string
history

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.

boolean
Example
{
"filter": {
"action_type": "TRAINING"
},
"per-page": 10,
"page": 1,
"sort": "action_name"
}

List of certificate actions

Array<object>
object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date
tenant_id
string
action_name
string
action_code
string
action_type
string
Allowed values: TRAINING HEALTH PER CHECK MAINTENANCE
resource_id
string format: uuid
certificate_name
string
is_date_inherited
integer
date_release
string format: date
office_name
string
Example
{
"certificate_action_id": "ca-1",
"certificate_id": "cert-1",
"action_id": "act-1",
"date_expire": "2024-12-31",
"tenant_id": "ten-1",
"action_name": "Safety Training",
"action_code": "A001",
"action_type": "TRAINING",
"resource_id": "res-1",
"certificate_name": "Certificate of Completion",
"is_date_inherited": 0,
"date_release": "2024-01-01",
"office_name": "Main Office"
}
X-Pagination-Current-Page
integer

Current page

X-Pagination-Page-Count
integer

Total number of pages

X-Pagination-Per-Page
integer

Number of items per page

X-Pagination-Total-Count
integer

Total number of items

POST
/v2/certificate-action/create

Create a new certificate action by providing the required details.

Certificate action object to be created

object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date-time
tenant_id
string
Example
{
"certificate_id": "cert-1",
"action_id": "act-1",
"date_expire": "2024-12-31",
"tenant_id": "ten-1"
}

Certificate action created successfully

object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date-time
tenant_id
string
Example
{
"certificate_action_id": "ca-1",
"certificate_id": "cert-1",
"action_id": "act-1",
"date_expire": "2024-12-31",
"tenant_id": "ten-1"
}
GET
/v2/certificate-action/view/{id}

Retrieve a certificate action by its unique ID.

id
required
string format: uuid

ID of the certificate action to retrieve

Certificate action found

object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date
tenant_id
string
action_name
string
action_code
string
action_type
string
Allowed values: TRAINING HEALTH PER CHECK MAINTENANCE
resource_id
string format: uuid
certificate_name
string
is_date_inherited
integer
date_release
string format: date
office_name
string
Example
{
"certificate_action_id": "ca-1",
"certificate_id": "cert-1",
"action_id": "act-1",
"date_expire": "2024-12-31",
"tenant_id": "ten-1",
"action_name": "Safety Training",
"action_code": "A001",
"action_type": "TRAINING",
"resource_id": "res-1",
"certificate_name": "Certificate of Completion",
"is_date_inherited": 0,
"date_release": "2024-01-01",
"office_name": "Main Office"
}

Certificate action not found

DELETE
/v2/certificate-action/delete/{id}

Delete a certificate action by its unique ID.
If force=true, all related entities will also be deleted.

id
required
string format: uuid

ID of the certificate action to delete

force
boolean

Force the deletion of the entity and all related entities

Certificate action 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

PUT
/v2/certificate-action/update/{id}

Update an existing certificate action by its unique ID.

id
required
string format: uuid

ID of the certificate action to update

Certificate action object with updated data

object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date-time
tenant_id
string
Example
{
"date_expire": "2025-12-31"
}

Certificate action updated successfully

object
certificate_action_id
string
certificate_id
string
action_id
string
date_expire
string format: date-time
tenant_id
string
Example
{
"certificate_action_id": "ca-1",
"date_expire": "2025-12-31"
}

Certificate action not found