๐จ๐ด SISCONMP โ ์ด์ก ๊ฒ์ฆ
์๋ํฌ์ธํธโ
GET https://api.verifik.co/v2/co/sisconmp/trainings
SISCONMP(Sistema de Control y Monitoreo de Personal)์์ ์ด์กยทํ๋ฌผ ์
์ ๋ฑ์ ๊ต์ก ๋ฑ๋ก์ ํ์ธํฉ๋๋ค. ์ฐธ๊ฐ์ documentTypeยทdocumentNumber ๋ฅผ ์ฟผ๋ฆฌ๋ก ๋ณด๋ด ๊ต์ก๊ธฐ๊ดยท๊ณผ์ ๋ช
ยท๋ฐ๊ธยท๋ง๋ฃยท์๊ฒฉ ์ํ ๋ฑ์ ์กฐํํฉ๋๋ค.
ํค๋(Headers)โ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
๋งค๊ฐ๋ณ์(Parameters)โ
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | ์ ๋ถ์ฆ ์ ํ. CC, CE, PA ์ค ํ๋. |
documentNumber | string | yes | ์ฐธ๊ฐ์ ๋ฌธ์ ๋ฒํธ(๊ณต๋ฐฑยท๋ง์นจํ ์์). |
์์ฒญ(Request)โ
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/sisconmp/trainings", {
params: {
documentType: "CC",
documentNumber: "123456789",
},
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/sisconmp/trainings"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "123456789"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
์๋ต(Response)โ
- 200
- 404
- 409
{
"data": {
"DIVcodigHeadquarters": "11001000",
"DIVnameHeadquarters": "BOGOTA",
"NIDHeadquarters": "9131",
"NIT_educationalInstitution": "901139908",
"class": "",
"dateExpedition": "2021/09/11",
"dateExpeditionLicense": "2016/12/10",
"descriptionClass": "",
"documentNumber": "1030644022",
"documentType": "CC",
"expirationDate": "2023/09/11",
"expirationDateLicense": "2026/12/10",
"inactive": "No",
"lastName": "URIBE SANCHEZ",
"licenseNumber": "1030644022",
"nameFile": "ejemplo",
"nameHeadquarters": "INSTITUCION DE EDUCACION PARA EL TRABAJO Y EL DESARROLLO HUMANO CORPOIBEROAMERICANA S.A.S",
"nameTraining": "CURSO BASICO",
"names": "CHRISTIAN XAVIER",
"numericalValueClass": "0",
"typeTraining": "CURSO BASICO",
"typeVehicle": ""
},
"signature": {"message": "Certified by Verifik.co", "dateTime": "July 13, 2023 4:05 PM"}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType. missing documentNumber"
}
์ฐธ๊ณ (Notes)โ
- SISCONMP๋ ์ํ๋ฌผ ์ด์ก ์ธ๋ ฅ์ ๊ด๋ฆฌยท๋ชจ๋ํฐ๋ง ์ ๋์ ๋๋ค.
- CURSO BASICO ๋ ๊ธฐ์ด ๊ณผ์ ์์์ ๋๋ค.
- ์ด์ ์ฆ๋ช ์๋ ์ ํจ ๊ธฐํ์ด ์์ผ๋ฉฐ ๊ฐฑ์ ์ด ํ์ํ ์ ์์ต๋๋ค.
inactive: "No"๋ ํด๋น ๊ธฐ๋ก์ด ์ ํจํจ์ ๋ํ๋ด๋ ์์์ ๋๋ค.