Confirm pool request
This endpoint is deprecated. Please do not use it for new projects. The documentation remains here for legacy API consumers.
Confirming a pool request
To confirm a request by a talent pool regarding a specific application, one needs a POST with the endpoint /applications/{appId}/poolConfirm:
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST "https://api.softgarden.io/api/rest/v2/frontend/applications/{appId}/poolConfirm" |
with TOKEN being the user access token of the user in question and {applicationId} corresponding to the ID of one of his/her applications.
If the status of the application in question is ‘DELETED‘ or ‘CLEANED‘, the pool request will always be suspended. “Confirming” the request means that the user wants to remain inside the talent pool.
Path parameters
Name | Description | Data Type |
---|---|---|
applicationId | ID of the requested application. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | integer | Either POOLREQUEST_STATUS_OK (= 0), POOLREQUEST_STATUS_NOTFOUND (= 1) or POOLREQUEST_STATUS_SUPENDED (= 2). At the time of writing, POOLREQUEST_STATUS_NOTFOUND is not used. |
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 |
0 |