Sonstiges
Personalfragebogen öffnen
Session: welcome data, prefilled and masked answers, rule evaluation, uploads. The first call marks the questionnaire as opened
Authentifizierung
questionnaireToken X-Questionnaire-Token<token>
Token des Personalfragebogen-Links (nur im Header, nie in URL oder Query).
Ort: header
Response-Body
application/json
application/json
curl -X GET "https://example.com/questionnaire/session"{ "data": { "session_id": "string", "status": "invited", "editable": true, "editable_fields": [ "string" ], "current_step": 0, "step_count": 0, "company_name": "string", "first_name": "string", "surname": "string", "entry_date": "string", "link_expires_at": "string", "privacy_notice": "string", "construction_industry": true, "allow_cash_payment": true, "employment_type": "string", "flat_rate_taxation_planned": true, "minijob_limit_cents": 0, "answers": { "property1": null, "property2": null }, "origins": { "property1": "string", "property2": "string" }, "masked": [ "string" ], "bank": { "country": "string", "bic_required": true, "bank_name": "string", "bic": "string" }, "evaluation": { "visible": [ "string" ], "hidden": [ "string" ], "errors": { "property1": [ { "rule": "string", "code": "string" } ], "property2": [ { "rule": "string", "code": "string" } ] }, "confirms": [ { "rule": "string", "key": "string", "fields": [ "string" ], "confirmed": true } ], "derived": { "property1": { "value": null, "mode": "string", "rule": "string", "source": "string" }, "property2": { "value": null, "mode": "string", "rule": "string", "source": "string" } }, "allowed": { "property1": [ null ], "property2": [ null ] }, "required": [ "string" ], "missing": [ "string" ], "deferrable": [ "string" ] }, "documents": [ { "id": "string", "document_type": "string", "field_id": "string", "file_name": "string", "mime_type": "string", "size_bytes": 0, "status": "string", "locked": true, "uploaded_at": "string" } ], "open_query": { "message": "string", "field_ids": [ "string" ], "created_at": "string" }, "submitted_at": "string", "revision": 0, "content_hash": "string", "progress": { "done": 0, "total": 0, "sections": { "property1": true, "property2": true } } }}