Your browser is not up to date. This may cause security, speed, and display
issues. Please update your browser.
Update Browser
X
Feel free to use our updated API documentation.
| Parameter | Type | Description |
|---|---|---|
| id | integer |
ID of the service
|
| name | string |
Name of the service
|
| number | string|null |
Service number
|
| active | boolean |
Is the service active?
|
| note | string|null |
Note for the service
|
GET /api/v2/services
{
"services":
{
[object of type service],
[object of type service],
...
}
}GET /api/v2/services/[ID]
{
"service": [object of type service]
}POST /api/v2/services
| Required parameters | name |
|---|
| Optional parameters | number, active, note |
|---|
{
"service": [object of type service]
}PUT /api/v2/services/[ID]
| Required parameters | none |
|---|
| Optional parameters | name, number, active, note |
|---|
{
"service": [object of type service]
}DELETE /api/v2/services/[ID]
{
"success": true
}