Accept Job
- Path
/job/accept
- Type
POST
Schemas
Request
{ "type": "object", "properties": { "token": { "type": "string", "description": "The Dodo's token" }, "job_id": { "type": "number" } }, "required": [ "token", "job_id" ], "additionalProperties": false }
Response
{ "type": "object", "properties": { "status": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": [ "code" ], "additionalProperties": false } }, "required": [ "status" ], "additionalProperties": false }
Rules
- This service will be called by a Dodo when he/she wants to accept an offer made by a Nido
- The service will follow the next steps:
- If less than 2 minutes have passed since the job post, this user will be added to a wait list and will be notified with the other candidates after this 2 minutes.
- If more than 2 minutes have passed since the job post, this user will be notified to the Nido.