Create Route Ritage
Create New Route Ritage
application/json
application/x-www-form-urlencoded
Request Body
ritageName string required
departureRoute string required
returnRoute string
Request Body
ritageName string required
departureRoute string required
returnRoute string
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Example
Schema
- Array [
- ]
message string required
data object[]
routeName string required
routeId number required
routeStatus string required
mileage number required
mainRoute string[] required
alternateRoute string[] required
{
"message": "string",
"data": [
{
"routeName": "string",
"routeId": 0,
"routeStatus": "string",
"mileage": 0
}
]
}
{
"message": "Success",
"data": {
"ritageId": 1
}
}
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...