Update Route
Update Master Data Route
Path Parameters
id string required
Route ID or Route Name
application/json
Request Body
routeName string
mainRoute object
geofenceName string[] required
status string
Possible values: [active
, archive
]
Status of Route only active and archive)
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Schema
message string required
data object
id number required
information string required
{
"message": "string",
"data": {
"id": 0,
"information": "string"
}
}
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...