CNO change
⚠️
Add test=1 to run tests without real effects. In production, omit this parameter.
Parameters
- test (number (1)) : For testing, add the test=1 parameter. It must be omitted in production.
- regimen (integer) : Scheme, 4 digits. Possible values:
- 0111: General Scheme
- Table of scheme codes (opens in a new tab)
- ccc (integer) : Contribution account code, 11 digits.
- nss (integer) : Social Security number, 12 digits.
- dni (string) : National identity document.
- fecha_real (date) : Registration date, format YYYY-MM-DD.
- cno (integer) : National Classification of Occupations, maximum 4 digits. Possible values:
- 0011: Armed forces officers
- Table of occupation codes (opens in a new tab)
- duplicate (integer) : Get the PDF as base64 in JSON format in the response; possible values are 1 or null. Optional.
PUT /cno
{
"test": 1,
"regimen": "0111",
"ccc": "12345678901",
"dni": "12345678B",
"nss": "123456789011",
"fecha_real": "2023-01-01",
"cno": "1212",
"duplicate": 1
}Response
Respuesta
{
"success": true,
"message": "OK",
"data": {
"file": {
"contentType": "application/pdf",
"name": "document.pdf",
"content": "base64"
}
}
}