Update Vehicle Group
Update Vehicle Group
Path Parameters
id integer required
VGroup ID
application/json
Request Body
vehicleGroupName string required
vehicleIds integer[] required
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Example
Schema
message string required
data object
id number required
information string required
{
"message": "string",
"data": {
"id": 0,
"information": "string"
}
}
{
"message": "Success",
"data": {
"id": 1,
"information": "Vehicle group with id 1 has been updated"
}
}
Bad Request
application/json
Schema
Example (from schema)
Expired Token
Bad Token
Schema
code string
message string
detail string
{
"code": "string",
"message": "string",
"detail": "string"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt expired"
}
{
"code": "E-V1/1-03",
"message": "An error occurred while executing query",
"detail": "Context creation failed: jwt malformed"
}
Unauthorized Request
application/json
Schema
Example (from schema)
Example
Schema
code string
message string
{
"code": "string",
"message": "string"
}
{
"code": "E-G1/1-01",
"message": "Authentication token is required"
}
Loading...