Listing all appointments
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers.
Listing all appointments
For listing all appointments of an applicant use the /appointments endpoint directly.
By sending the following GET-request, one can obtain the requested list containing all appointments of a user:
1 2 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/appointments" |
with TOKEN being the user access token of the user in question. It is used to determine the validity of this request.
Path parameters
– none –
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | JSON-encoded List<AppointmentData> | Please have a look at the according documentation page. |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
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 18 19 20 21 22 23 |
[ { "uid": "df3b10d160604c00bb3beff323e660d7", "startDate": 1381582800000, "endDate": 1381586400000, "location": null, "description": "Einladung zum 1. Gespräch", "title": "Einladung zum 1. Gespräch", "status": "CREATED", "timeZoneId": "Europe/Berlin" }, { "uid": "b28295c5ae434b1e9a8cd6eb6655ea4c", "startDate": 1394861400000, "endDate": 1394865000000, "location": null, "description": "Einladung auf andere Position", "title": "Einladung auf andere Position", "status": "CREATED", "timeZoneId": "Europe/Berlin" }, ... ] |