Retrieve Mechanic Registration Step 3 Details(Read)

GET /user/registration/step3/mechanic/

Use the GET /user/registration/step3/mechanic/ endpoint to retrieve details for Step 3 of the mechanic registration process, including their car specialties, services, and supporting documents.


Parameters

This endpoint does not accept any parameters.


Responses

Code

Description

200

Successfully retrieves the Step 3 details for the mechanic registration.


Example Response

{
  "id": 1,
  "car_speciality": [
    {
      "id": 101,
      "name": "Toyota"
    },
    {
      "id": 102,
      "name": "Honda"
    }
  ],
  "car_speciality_ids": [101, 102],
  "services": [
    {
      "id": 201,
      "name": "Oil Change"
    },
    {
      "id": 202,
      "name": "Brake Repair"
    }
  ],
  "services_id": [201, 202],
  "education_level": "High School",
  "workshop_location": "123 Mechanic Lane, Auto City",
  "profile_pic": {
    "profile_pic": "https://example.com/images/profile.jpg"
  },
  "supported_document": {
    "id": "123abc",
    "user": "user_456",
    "document": "https://example.com/documents/supported_doc.pdf",
    "uploaded_at": "2024-12-10T10:30:00Z"
  },
  "update_is_active": true
}

Response Content Type

application/json


Response Model

Field

Type

Description

id

Integer

Unique ID of the mechanic registration details.

car_speciality

Array of Objects

List of car specialities the mechanic is associated with.

id

Integer

Unique ID of the car brand.

name

String

Name of the car brand.

car_speciality_ids

Array of Integers

List of car speciality IDs.

services

Array of Objects

List of services provided by the mechanic.

id

Integer

Unique ID of the service.

name

String

Name of the service.

services_id

Array of Integers

List of service IDs.

education_level

String (nullable)

The mechanic’s level of education.

workshop_location

String (nullable)

Location of the mechanic’s workshop.

profile_pic

Object

Contains the URL of the mechanic's profile picture.

profile_pic

String

URL of the mechanic's profile picture.

supported_document

Object

Details of the supporting document submitted.

id

String

Unique ID of the supporting document.

user

String

ID of the user associated with the document.

document

String

URL of the supporting document.

uploaded_at

String ($date-time)

Date and time the document was uploaded.

update_is_active

Boolean

Indicates if updates to the mechanic registration are active.

Last updated