Schnittstellen-Dokumentation

GET /students

returns all students which are valid at the

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • focus_date 2023-01-01

    filters students by their validity

    mandatory
  • output single

    Returns JSON. Used when a lot of data is expected to be returned. Uses a faster json rendering procedure. If data is needed in another format → get in touch with Support.

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&focus_date=2023-01-01&output=single”
GET /student

returns all data of one student

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • focus_date 2023-01-01

    filters students by their validity

    mandatory
  • student_id 123

    the database-id of the wanted student

    mandatory
  • output html|xml|json

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&focus_date=2023-01-01&student_id=123&output=json”
GET /schools

returns all data of all schools

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • output html|xml|json

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&focus_date=2023-01-01&student_id=123&output=json”

GET /school

returns all data of one school

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • school_id 123
    The ID of the wanted school
  • output html|xml|json

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&focus_date=2023-01-01&student_id=123&output=json”

GET /stops

returns all data of all bus stops

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • output html|xml|json

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/stops?static_token={static_token}&is_static=true&output=json”

GET /stop

returns all data of one bus stop

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • stop_id 123
    The ID of the wanted school
  • output html|xml|json

    mandatory

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&stop_id=123&output=json”

POST /stop

creates one bus stop

Parameters

  • static_token [hidden]
    mandatory
  • is_static true
    mandatory
  • output html|xml|json

    mandatory
  • Datafields:
    • name text
    • latidude decimal
    • longitude decimal
    • number integer
    • dhid text
    • zone integer
    • is_hidden boolean
    • id_external integer
    • name_alias text
    • valid_from date
    • valid_to date
    • is_private boolean
    • is_public boolean
    • is_not_in_county boolean
    • parent_stop_id integer

cURL Example

curl "https://app.fes-minden.via-cloud.de/api/v2/students?static_token={static_token}&is_static=true&stop_id=123&output=json”