Create Route

Endpoint to create bus route and set fare

post/route

Request

  • Base URL
    https://smart-move.interswitchng.com/api/v1
  • URL
    https://smart-move.interswitchng.com/api/v1/route
  • Auth
    OAuth 2

Request body

RAW_BODYstring json
sourcestring json
destinationstring json
farenumber double

Fare amount

Response

200

messagestring
routeIdinteger

Example response

{
  "message": "Request Successful",
  "routeId": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.