Route Ritage
Get Data From Route Ritage
Query Parameters
routeId string
routeName string
status array
Route Status (active, archive) (can be both) (optional)
Responses
- 200
- 400
- 401
Success
application/json
Schema
Example (from schema)
Example
Schema
- Array [
- ]
message string required
data object[]
ritageId number required
ritageName number required
departureRouteId number required
departureRouteName string required
returnRouteId number required
returnRouteName string required
status string required
createdOn string
{
"message": "string",
"data": [
{
"ritageId": 0,
"ritageName": 0,
"departureRouteId": 0,
"departureRouteName": "string",
"returnRouteId": 0,
"returnRouteName": "string",
"status": "string",
"createdOn": "string"
}
]
}
{
"message": "Success",
"data": [
{
"ritageId": 1,
"ritageName": "Ritage 1",
"departureRouteId": 1,
"departureRouteName": "Route 1",
"returnRouteId": 2,
"returnRouteName": "Route 2",
"status": "Active"
},
{
"ritageId": 2,
"ritageName": "Ritage 2",
"departureRouteId": 1,
"departureRouteName": "Route 1",
"returnRouteId": null,
"returnRouteName": null,
"status": "Archive"
}
]
}
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...