Stampfactory
Dokumentation
Sonstiges

Angaben des Arbeitgebers speichern

Employer answers, HR confirmations and the work papers checklist of the review view

PATCH
/personnel_questionnaires/{questionnaire}
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

questionnaire*string

The questionnaire ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Arbeitgeberangaben der Prüfansicht (Teilaktualisierung, Feld-ID → Wert), bestätigte Rückfragen zu Arbeitgeberfeldern und die Arbeitspapiere-Checkliste. lock_version schützt vor parallelen Änderungen (409). Die Werte prüft das Regelwerk des Formular-Schemas.

Response-Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/personnel_questionnaires/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "lock_version": 0  }'
{  "data": {    "id": "string",    "status": "invited",    "group": "review",    "link_expired": true,    "link_expires_at": "string",    "employee": {      "id": "string",      "name": "string",      "surname": "string",      "reference_no": "string",      "position": "string",      "employed_start": "string"    },    "invite_channel": "string",    "employment_type": "regular",    "flat_rate_taxation_planned": true,    "lock_version": 0,    "progress_done": 0,    "progress_total": 0,    "current_step": 0,    "step_count": 0,    "submitted_revision": 0,    "reminder_count": 0,    "last_reminded_at": "string",    "first_opened_at": "string",    "last_activity_at": "string",    "query_answered": true,    "completed_at": "string",    "revoked_at": "string",    "revoke_reason": "string",    "pdf_document_id": "string",    "created_at": "string",    "form_version": "string",    "invite_email": "string",    "person_answers": {      "property1": null,      "property2": null    },    "employer_answers": {      "property1": null,      "property2": null    },    "employer_origins": {      "property1": "string",      "property2": "string"    },    "documents_present": {      "property1": true,      "property2": true    },    "field_reviews": {      "property1": {        "status": "string",        "by": "string",        "at": "string"      },      "property2": {        "status": "string",        "by": "string",        "at": "string"      }    },    "master_data_decisions": {      "property1": {        "decision": "string",        "valid_from": "string"      },      "property2": {        "decision": "string",        "valid_from": "string"      }    },    "evaluation": {      "visible": [        "string"      ],      "errors": {        "property1": [          {            "rule": "string",            "code": "string"          }        ],        "property2": [          {            "rule": "string",            "code": "string"          }        ]      },      "confirms": [        {          "rule": "string",          "key": "string",          "fields": [            "string"          ],          "values": {            "property1": null,            "property2": null          },          "confirmed": true        }      ],      "required": [        "string"      ],      "missing": [        "string"      ],      "deferrable": [        "string"      ]    },    "hints": [      {        "code": "string",        "rule": "string",        "severity": "string",        "section": "string",        "message": "string",        "data": {          "property1": null,          "property2": null        }      }    ],    "diff": [      {        "field": "string",        "existing": null,        "questionnaire": null,        "decision": "string",        "valid_from": "string"      }    ],    "needs_insurance_valid_from": true,    "blockers": {      "property1": [        {          "rule": "string",          "code": "string"        }      ],      "property2": [        {          "rule": "string",          "code": "string"        }      ]    },    "sections": {      "property1": true,      "property2": true    },    "can_complete": true,    "can_see_special_categories": true,    "queries": [      {        "id": "string",        "field_ids": [          "string"        ],        "message": "string",        "created_at": "string",        "created_by_name": "string",        "answered_in_revision": 0      }    ],    "documents": [      {        "id": "string",        "document_type": "string",        "field_id": "string",        "file_name": "string",        "mime_type": "string",        "size_bytes": 0,        "quarantined": true,        "check_result": "string",        "revision": 0,        "transferred_at": "string",        "uploaded_at": "string"      }    ],    "revisions": [      {        "revision": 0,        "submitted_at": "string",        "content_hash": "string",        "employee_signed_by": "string",        "guardian_signed_by": "string",        "confirmations": [          "string"        ]      }    ],    "employer_signed_at": "string",    "employer_signed_by_name": "string"  }}