GET/api/v1/service-categories
Retrieve a list of all service categories.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Request Example
Responses
List of service categories received successfully
Authorization information missing, expired or invalid
POST/api/v1/service-categories
Create a new service category.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Content-Type*
string
application/json
Body
name*
string
Name of the service category
Request Example
Responses
Service category created successfully
Authorization information missing, expired or invalid
GET/api/v1/service-categories/{id}
Retrieve a specific service category by ID.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Path
id*
string
ID of the service category to get
Request Example
Responses
Service category received successfully
Authorization information missing, expired or invalid
PATCH/api/v1/service-categories/{id}
Update a specific service category by ID.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Content-Type*
string
application/json
Path
id*
string
ID of the service category to update
Body
name
string
Name of the service category
order
integer
Order of the service category
Request Example
Responses
Service category updated successfully
Authorization information missing, expired or invalid
DELETE/api/v1/service-categories/{id}
Delete a specific service category by ID.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Path
id*
string
ID of the service category to delete
Request Example
Responses
Service category deleted successfully
Authorization information missing, expired or invalid