Certificate Types

Create Certificate Type

Create a new certificate type to assign to company certificates.

post/v1/certificate/type/

Request

  • Base URL
    https://developer.beta.salussafety.io
  • URL
    https://developer.beta.salussafety.io/v1/certificate/type/
  • Auth
    • HTTP bearer
    • or OAuth 2
      Client credentials
      Token URL: https://guardian.beta.salussafety.io/token
    • or OAuth 2
      Authorization code: https://guardian.beta.salussafety.io/authorize
      Token URL: https://guardian.beta.salussafety.io/token

Request body

namestring required

The name of the type

requiredboolean required

Determines if certificate is required by the company

Example request

{
  "name": "First Aid",
  "required": true
}

Response

Successful Response

errorboolean

A boolean error indicator.

messagestring nullable

Optional message.

Example response

{
  "data": {
    "name": "First Aid",
    "required": true,
    "id": 1,
    "slug": "first-aid"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.