Create Bussing Run Setup

Creates bus run setup data from submitted details.

Authentication

AuthorizationBearer

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Request

This endpoint expects an object.
academic_year_iddoubleRequired
academic year ID identifier.
namestringRequired
name display value.
start_timestringRequired

Must be a valid date in the format H:i:s.

end_timestringRequired

Must be a valid date in the format H:i:s.

time_type_iddoubleRequired
time type ID type value.
stop_type_iddoubleRequired
stop type ID type value.
amount_of_routesdoubleRequired
amount of routes numeric value.
class_idsobject or nullOptional
class IDs list.
grade_idsobject or nullOptional
grade IDs list.
days_of_weeklist of enumsOptional
days of week list.

Response

Successful POST response for /api/v1/bussing/run-setup/create.

statusenum
Allowed values:
messagestring
dataobject