Apply for job
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers. Please use the Frontend API V3.
Applying for a job posting
This method either gets an exisiting application or creates a new one, its endpoint is /jobs/{jobDbId}/apply:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/jobs/{jobDbId}/apply?creationMode={creationMode}" |
with TOKEN being user access token, note that in contrast to most of the functionality in the job API, a client client access token is not sufficient. The {jobDbId} corresponds to the ID of the job in the database, the {creationMode} defines how the new application is to be created, You find more details below.
The system attempts to localize the resulting ApplicationData using information from the header. In the curl example you can manipulate the header by adding -H “Accept-Language:{locale}”, whereat locale can be en, de and so on.
Path parameters
Name | Description | Data Type |
---|---|---|
jobDbId | The ID of the job in the jobs database. | String |
Query parameters
Name | Description | Data Type | Default Value |
---|---|---|---|
trackerId | Used to remember the user through multiple applications. Currently not used! | String | empty string |
creationMode | How to create a new application, if necessary. Must be either CREATE_EMPTY, CREATE_COPY or CREATE_COPY_ATTACHMENTS. | String | n/a |
Response values
Upon | Returned value | Description |
---|---|---|
success | JSON-encoded ApplicationData-object | the application |
error | 400 – BAD REQUEST | The given Job ID is invalid or the user applied to the position before. |
authorization error | 401 / 403 | See here for details. |
Example return value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ "id": "ee156980136b4a15b27c3ac2908a2651", "activated": false, "updated": 0, "sent": 0, "projectId": "c9a386ed3c194ee9b2be478472bdf54d", "title": "Koch", "status": "sent", "editable": true, "jobPostingId": 3222, "unsolicited": false, "showPoolname": false, "currentProjecttype": 10, "currentProjectname": "Koch", "frontendStatus": "Offen", "poolType": "-1" } |