Job name
Getting a job’s name
Use of the endpoint /jobs/{jobDbId}/name allows you to gain access to an individual job posting’s data.
Request with tokens
1 |
curl -i -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/jobs/{jobDbId}/name" |
with TOKEN being either a client access token or a user access token and {jobDbId} corresponding to the ID of a specific job in the database.
Request with basic authorization
As an alternative, you can use here the basic authorization method. Just write
1 |
curl -i -u "{clientId}:"-H "Content-Type: application/json" -X GET "https://api.softgarden.io/api/rest/v2/frontend/jobs/{jobDbId}/name" |
{clientId} is the ID for your application to develop given to you by softgarden. The colon seen in the example is obligatory.
Path parameters
Name | Description | Data Type |
---|---|---|
jobDbId | ID of the desired job. | String |
Query parameters
– none –
Response values
Upon | Returned value | Description |
---|---|---|
success | String | The job’s name. |
failure | 500 – INTERNAL SERVER ERROR | When an error appears while processing your request. |
authorization error | 401 / 403 | See here for details. |
Example response value
1 |
Lead Success Manager |