Skip to content

Certificate

Represents a certificate that can be linked to various resources such as people, materials, or equipment. Includes key details like issue date, expiration date, result/outcome, and additional notes. Used to track compliance and qualification status across the organization.

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

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

Parameters for searching certificates

object
filter
object
name
string
action_type
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
warning
integer
Allowed values: 0 1
{
"name": "Certificate of Completion",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"warning": 0,
"validity_unit": "YEAR",
"validity": 1
}
per-page
integer
default: 100 >= 1
page
integer
default: 1 >= 1
sort
string
Allowed values: date_release date_expire name action_type
history
boolean
Example
{
"filter": {
"name": "Certificate of Completion",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"warning": 0,
"validity_unit": "YEAR",
"validity": 1
},
"per-page": 20,
"page": 1,
"sort": "name"
}

List of certificates

Array<object>
object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
{
"certificate_id": "123e4567-e89b-12d3-a456-426655440000",
"date_release": "2022-01-01",
"date_expire": "2023-01-01",
"name": "Certificate of Completion",
"note": "This certificate is valid for one year.",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"data": {
"additional_info": "This certificate was issued by the training department."
},
"warning": 0,
"tenant_id": "123e4567-e89b-12d3-a456-426655440000",
"validity_unit": "YEAR",
"validity": 1
}
Example
{
"certificate_id": "123e4567-e89b-12d3-a456-426655440000",
"date_release": "2022-01-01",
"date_expire": "2023-01-01",
"name": "Certificate of Completion",
"note": "This certificate is valid for one year.",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"data": {
"additional_info": "This certificate was issued by the training department."
},
"warning": 0,
"tenant_id": "123e4567-e89b-12d3-a456-426655440000",
"validity_unit": "YEAR",
"validity": 1
}
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

GET
/v2/certificate/view/{id}

Retrieve a certificate by its unique ID.

id
required
string format: uuid

ID of the certificate to retrieve

Certificate found

object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
Example
{
"certificate_id": "123e4567-e89b-12d3-a456-426655440000",
"date_release": "2022-01-01",
"date_expire": "2023-01-01",
"name": "Certificate of Completion",
"note": "This certificate is valid for one year.",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"data": {
"additional_info": "This certificate was issued by the training department."
},
"warning": 0,
"tenant_id": "123e4567-e89b-12d3-a456-426655440000",
"validity_unit": "YEAR",
"validity": 1
}

Certificate not found

POST
/v2/certificate/create

Create a new certificate by providing the required details.

Certificate object to be created

object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
Example
{
"date_release": "2023-01-01",
"name": "Certificate of Safety",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"tenant_id": "123e4567-e89b-12d3-a456-426655440000",
"validity_unit": "YEAR",
"validity": 1
}

Certificate created successfully

object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
Example
{
"certificate_id": "223e4567-e89b-12d3-a456-426655440000",
"date_release": "2023-01-01",
"name": "Certificate of Safety",
"action_type": "TRAINING",
"resource_id": "123e4567-e89b-12d3-a456-426655440000",
"tenant_id": "123e4567-e89b-12d3-a456-426655440000",
"validity_unit": "YEAR",
"validity": 1
}
PUT
/v2/certificate/update/{id}

Update an existing certificate by its unique ID.

id
required
string format: uuid

ID of the certificate to update

Certificate object with updated data

object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
Example
{
"name": "Updated Certificate",
"validity": 2
}

Certificate updated successfully

object
certificate_id
required
string format: uuid
date_release
required
string format: date
date_expire
string format: date
name
required
string
<= 255 characters
note
string
action_type
required
string
Allowed values: TRAINING MAINTENANCE HEALTH CHECK PER
resource_id
required
string
Allowed values: PERSON MATERIAL_ITEM ROLE WORK_GROUP WORK_ENVIRONMENT SUBSTANCE EQUIPMENT
data
object
warning
integer
Allowed values: 0 1
tenant_id
required
string format: uuid
validity_unit
string
Allowed values: YEAR MONTH DAY
validity
integer
Example
{
"certificate_id": "123e4567-e89b-12d3-a456-426655440000",
"name": "Updated Certificate",
"validity": 2
}

Certificate not found

DELETE
/v2/certificate/delete/{id}

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

id
required
string format: uuid

ID of the certificate to delete

force
boolean

Force the deletion of the entity and all related entities

Certificate 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