Create Service

POST /client/services/create/

Use the POST /client/services/create/ endpoint allows the creation of a new service. You must provide a name for the service in the request body. Once the service is successfully created, a unique id is generated for the new service.


Parameters

Request Body:

Name
Type
Description
Required

name

string

The name of the service to be created.

Yes

Example Request Body:

{
  "name": "Mechanic Service"
}

Responses

201 Created

Description: The service was successfully created.

Example Response:

{
  "id": 123,
  "name": "Mechanic Service"
}

Last updated