You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Title: Implement Job Status Management Functionality
Issue Description:
As a client, I want to manage the status of my job postings so that I can track the progress of each job and update their statuses accordingly. This functionality should allow clients to change the status of their jobs based on their current state.
Tasks:
Update Job Status:
Create an endpoint in the JobController to allow clients to update the status of their job postings.
The status should be limited to the following options:
Open
In Progress
Completed
Cancelled
Get Job Status:
Create an endpoint to retrieve the current status of a specific job based on the job ID.
Acceptance Criteria:
Update Job Status:
Clients should be able to make a PUT request to /jobs/{jobId}/status to update the job status.
Return 200 OK if the update is successful or 404 Not Found if the job does not exist.
Return 400 Bad Request if the provided status is invalid.
Get Job Status:
Clients should be able to make a GET request to /jobs/{jobId}/status to retrieve the current status of the job.
Return 200 OK with the job status or 404 Not Found if the job does not exist.
Endpoint Specifications:
Update Job Status:
Method: PUT
URL: /jobs/{jobId}/status
Request Body Example:
{
"status": "Completed"
}
Get Job Status:
Method: GET
URL: /jobs/{jobId}/status
The text was updated successfully, but these errors were encountered:
Issue Title: Implement Job Status Management Functionality
Issue Description:
As a client, I want to manage the status of my job postings so that I can track the progress of each job and update their statuses accordingly. This functionality should allow clients to change the status of their jobs based on their current state.
Tasks:
Update Job Status:
Open
In Progress
Completed
Cancelled
Get Job Status:
Acceptance Criteria:
Update Job Status:
PUT
request to/jobs/{jobId}/status
to update the job status.Get Job Status:
GET
request to/jobs/{jobId}/status
to retrieve the current status of the job.Endpoint Specifications:
Update Job Status:
PUT
/jobs/{jobId}/status
Get Job Status:
GET
/jobs/{jobId}/status
The text was updated successfully, but these errors were encountered: