Stampfactory
Dokumentation
Sonstiges

Personalfragebogen abbrechen

„Fragebogen abbrechen“ (D15)

POST
/personnel_questionnaires/{questionnaire}/revoke
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.

„Fragebogen abbrechen“ mit optionalem Grund (D15).

Response-Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/personnel_questionnaires/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"  }}