Removing a job from the basket

Request with tokens

By issuing a DELETE-request with the /jobs/basket/{jobDbId} endpoint, a job in the basket can be removed:

with TOKEN being either a client access token or a user access token. {cookie} can optionally be set to the client’s cookie ID. If set, also jobs stored in the cookie will be examined. The {jobDbId} corresponds to the job that is to be removed.

The job is removed both for the cookie and for the applicant (if the token is valid), no feedback is given.

Request with basic authorization

As an alternative, you can use here the basic authorization method. Just write

{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 The ID of the job to be removed from the basket. long

Query parameters

Name Description Data Type
cookie The client’s cookie ID. See also this page. String

Response values

Upon Returned value Description
failure 500 – INTERNAL SERVER ERROR When an error appears while processing your request.
authorization error 401 / 403 See here for details.

Comments

Comments are closed.