List all applications of a user
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.
List all applications of a user
The common use-case of obtaining a list of a user’s applications is associated with the /applications endpoint directly. By sending the following GET-request, one can obtain the requested list containing all applications of a user:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/applications" |
with TOKEN being the user access token of the user in question. The status of an application is localized if possible, the used locale is extracted 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
– none –
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | JSON-encoded List<ApplicationData> | List of all applications by this user. |
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 locale = “de”
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
[ { "id": "f76297d07f000002610484aa8202875a", "activated": true, "updated": 1315319405728, "sent": 1288389600000, "projectId": "bd42d807c0a8011504a310b0d64980a3", "title": "Studentische Hilfsrkaft m/w", "status": "sent" "editable": true, "jobPostingId": 0 "unsolicited": false "showPoolname": false "currentProjecttype": 10 "currentProjectname": "Studentische Hilfsrkaft m/w" "frontendStatus": "Gesendet", "poolType": null }, { "id": "5aaac9d77f000002312f7d4d35a82796", "activated": true, "updated": 0, "sent": 1320015600000, "projectId": "5aa9b2457f0000023631460ece7ddb4b", "title": "Testposition m/w", "status": "sent" "editable": true, "jobPostingId": 0 "unsolicited": false "showPoolname": false "currentProjecttype": 11 "currentProjectname": "Abgesagte Bewerber" "frontendStatus": "Gesendet", "poolType": deletepool } ] |