Certificates
Create a Certificate
Create a new certificate.
post/v1/certificate/
Request
- Base URLhttps://developer.beta.salussafety.io
- URLhttps://developer.beta.salussafety.io/v1/certificate/
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: https://guardian.beta.salussafety.io/token
- or OAuth 2Authorization code: https://guardian.beta.salussafety.io/authorizeToken URL: https://guardian.beta.salussafety.io/token
Request body
Example request
{
"type": "First Aid",
"userId": 1,
"expiryDate": "2027-10-19T22:47:16.828976",
"trainingCompanyId": 13,
"approved": true,
"approvedByUserId": 13,
"offline": true,
"providerId": 15,
"companyCertificationTypeId": 12
}Response
Successful Response
Example response
{
"data": {
"type": "First Aid",
"userId": 1,
"expiryDate": "2027-10-19T22:47:16.828976",
"trainingCompanyId": 13,
"approved": true,
"approvedByUserId": 13,
"offline": true,
"providerId": 15,
"id": 1,
"url": "/upload/example-certificate.jpg",
"urlBack": "/upload/example-certificate-back.jpg"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.