GET

sims/lessons API

Retrieve and manage sims/lessons records from the Apps4Edu sync database.

Endpoint Path

GET /api/sims/lessons

CURL Example

curl "https://api.apps4education.co.uk/api/sims/lessons?api_token=YOUR_TOKEN&school=WONDE_SCHOOL_ID" \
-H "Accept: application/json"
    

Field Definitions

Field Type
school_id bigint
id varchar
room varchar
period varchar
class_id varchar
employee_id varchar
period_instance_id varchar
alternative tinyint
start_at datetime
end_at datetime
mis_created_at datetime
mis_updated_at datetime
created_at timestamp
updated_at timestamp

Response Body (Sample)

{
  "data": [
    {
      "school_id": "example_value",
      "id": 101,
      "room": "example_value",
      "period": "example_value",
      "class_id": "example_value",
      "employee_id": "example_value",
      "period_instance_id": "example_value",
      "alternative": "example_value",
      "start_at": "example_value",
      "end_at": "example_value",
      "mis_created_at": true,
      "mis_updated_at": true,
      "created_at": "example_value",
      "updated_at": "example_value"
    }
  ]
}
                    

Query Parameters

api_token

Required. Your unique API key must be passed as a query string parameter.

school

Required. The Wonde school ID; rows from other schools are never returned.

page

Optional. Defaults to 1. Used to navigate through paginated results.

per_page

Optional. Rows per page, up to 500 (the default). Follow next_page_url for the rest.