Get Request Details by ID

GET /client/retrieve-request/{request_id}/

Use the GET /client/retrieve-request/{request_id}/ endpoint to retrieve the details of a specific request by its unique request_id.


Parameters

Path Parameter:

Name
Type
In
Description
Required

request_id

string

path

The unique identifier for the request.

Yes


Responses

200 OK

Description: Successfully retrieved the details of the specified request.

Example Response:

{
  "request_id": "12345",
  "mechanic_id": "67890",
  "status": "accepted",
  "request_time": "2024-11-17T09:00:00Z",
  "service_type": "Engine Repair",
  "location": "123 Main St, City, Country",
  "client_name": "John Doe",
  "client_contact": "+1234567890"
}

Last updated