The High Altitude Job Eligibility service allows you to verify if a citizen is qualified for jobs that involve working in high-altitude environments. By using this service, you can retrieve a list of relevant courses that the citizen has completed, along with the institutions that provided these courses. This information helps ensure that individuals are properly trained and certified for high-altitude work requirements.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Valid parameters: CC, CE. CC
documentNumber String True Document number of the person to consult, without spaces or points. 123456789

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/ministerio-de-trabajo/certificados>',
  params: {documentType: 'CC', documentNumber: '123456789'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response 200 - (Successful response)

{
  "data": [
    {
      "program": "TRABAJO EN ALTURAS",
      "level": "REENTRENAMIENTO",
      "document": "123456678999",
      "startDate": "09/08/2019 12:00:00 a. m.",
      "endDate": "10/08/2019 12:00:00 a. m.",
      "organization": "INGENIERIA SEGURIDAD SALUD  AMBIENTE",
      "campus": "INGENIERIA SEGURIDAD SALUD AMBIENTE S.A.S."
    },
    {
      "program": "TRABAJO EN ALTURAS",
      "level": "REENTRENAMIENTO",
      "document": "1234567899",
      "startDate": "16/12/2020 12:00:00 a. m.",
      "endDate": "17/12/2020 12:00:00 a. m.",
      "organization": "CAJA DE COMPENSACION FAMILIAR DE BOYACA  COMFABOY",
      "campus": "COMFABOY CENTRO TSA SOGAMOSO"
    }
  ],
  "signature": {
    "dateTime": "March 22, 2022 4:36 AM",
    "message": "Certified by Verifik.co"
  }
}

Other responses

Code Description Response Body
404 Not Found Information not found.

| { "code": "NotFound", "message": "Record not found.", "signature": { "dateTime": "August 31, 2022 3:24 PM", "message": "Certified by Verifik.co" } } | | 409 | Conflict | Some parameters are missing.

| { "code": "MissingParameter", "message": "missing documentType\n. missing documentNumber\n" } | | 409 | Conflict | Invalid documentType for this query. | { "code": "MissingParameter", "message": "documentType must be one of: [CC,CE]" } |