Updates
Change of occupational accident (A.T.) occupation

Change of occupational accident (A.T.) occupation

⚠️

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:
  • 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..
  • ocupacion (string) : Worker's occupation, optional. Possible values:
  • duplicate (integer) : Get the PDF as base64 in JSON format in the response; possible values are 1 or null. Optional.
PUT /occupation
{
  "test": 1,
  "regimen": "0111",
  "ccc": "12345678901",
  "dni": "12345678B",
  "nss": "123456789011",
  "fecha_real": "2023-01-01",
  "ocupacion": "a",
  "duplicate": 1
}

Response

Respuesta
{
  "success": true,
  "message": "OK",
  "data": {
    "file": {
      "contentType": "application/pdf",
      "name": "document.pdf",
      "content": "base64"
    }
  }
}