Get Application
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.
Getting one specific application of a user
By appending an application’s ID to the /applications endpoint in a GET-request, one can obtain a specified application of the user:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/applications/{applicationId}" |
with TOKEN being the user access token of the user in question and {applicationId} corresponding to the ID of one of his/her applications. In the curl example you can manipulate the header by adding -H “Accept-Language:{locale}”, whereat locale can be en, de and so on.
The status of the desired application is localized if possible, the used locale is extracted from the header.
Path parameters
Name | Description | Data Type |
---|---|---|
applicationId | The ID of the desired application. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | JSON-encoded ApplicationData-object | The desired application. |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
Example return value for ID = “f76297d07f000002610484aa8202875a” and locale = “de”
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ "id": "f76297d07f000002610484aa8202875a", "activated": true, "updated": 1315319405728, "sent": 1288389600000, "projectId": "bd42d807c0a8011504a310b0d64980a3", "title": "Studentische Hilfsrkaft m/w", "status":"send"; "editable": true, "jobPostingId": 0 "unsolicited": false "showPoolname": false "currentProjecttype": 10 "currentProjectname": "Studentische Hilfsrkaft m/w"; "frontendStatus": "Gesendet", "poolType": null } |