Stampfactory
Dokumentation
Recruiting

Bewerbungsphase ändern

Any transition; answers the application and the fresh stage counts of its posting

PUT
/recruiting/applications/{application}/stage
AuthentifizierungBearer <token>

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

Ort: header

Pfadparameter

application*string

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Stage change of an application (OpenSpec add-recruiting, D7): every stage is allowed, backwards too.

Response-Body

application/json

application/json

application/json

curl -X PUT "https://example.com/recruiting/applications/string/stage" \  -H "Content-Type: application/json" \  -d '{    "stage": "new"  }'
{  "data": {    "application": {      "id": "string",      "job_posting_id": "string",      "posting": {        "id": "string",        "title": "string",        "status": "draft"      },      "first_name": "string",      "last_name": "string",      "full_name": "string",      "email": "string",      "phone": "string",      "profile_url": "string",      "cover_letter": "string",      "stage": "new",      "source": "career_page",      "locale": "string",      "privacy_acknowledged_at": "string",      "privacy_notice_version": 0,      "submitted_at": "string",      "rejected_at": "string",      "hired_at": "string",      "employee_id": "string",      "is_purged": true,      "purged_at": "string",      "possible_duplicate": true,      "duplicate_count": 0,      "duplicate_on_posting_count": 0,      "retention_due_at": "string",      "retention_hint": true,      "mail_templates": [        "rejection"      ],      "can_convert": true,      "can_create_questionnaire": true,      "documents": [        {          "id": "string",          "kind": "cv",          "original_filename": "string",          "mime_type": "string",          "size_bytes": 0,          "quarantined": true,          "check_result": "string",          "check_state": "pending",          "checked_at": "string",          "downloadable": true,          "created_at": "string"        }      ],      "events": [        {          "id": "string",          "type": "stage_changed",          "from_stage": "new",          "to_stage": "new",          "body": "string",          "mail_template": "rejection",          "mail_subject": "string",          "user_id": "string",          "user_name": "string",          "created_at": "string"        }      ]    },    "stage_counts": {      "new": 0,      "review": 0,      "interview": 0,      "offer": 0,      "hired": 0,      "rejected": 0    }  }}