Timetable Entries

https://api.activeintime.com/v1/timetables/[timetable_id]/timetable_entries.json

Will return information an array of Timetable Entries for a given timetable ID.

Parameters
Parameter Required Example Description
timetable_idYes1The ID of a particular timetable. To get the ID you need to query a site to see which timetables have been created.
fromDateNo2012-02-29The first date to get Timetable Entries from. Defaults to the current date if not present.
numberOfDaysNo7The amount of days to get Timetable Entries For from the fromDate, 1 is for the current day. Defaults to 1 if not present. Maximum 7 days including the fromDate.
Response: An Array of Timetable Entry Objects
Object Always present Description
idYesThe ID of the Timetable Entry.
start_timeYesThe time the Timetable Entry begins.
end_timeYesThe time the Timetable Entry ends.
dateYesThe date the Timetable Entry occurs on.
dayYesThe day name that the Timetable Entry occurs on.
term_typeYesThe calendar period the Timetable Entry appears on. Term/Holiday/Special Event
is_cancelledYesHas the Timetable Entry been cancelled?
cancellation_reasonNoThe reason the Timetable Entry was cancelled.
timetable_sessionYesThe Timetable Session of the Timetable Entry.
facilityNoThe Facility that the Timetable Entry occurs at.
instructorNoInstructor information for the Timetable Entry.
levelYesThe difficulty level associated with the Timetable Entry.
Example
  
	{
  "meta": {
    "X-RateLimit-Limit": 0,
    "X-RateLimit-Remaining": 0,
    "status": 200,
    "api_client": "",
    "locale": "en-gb"
  },
  "response": [
    {
      "id": 821,
      "start_time": "07:00",
      "end_time": "07:45",
      "facility_name": "Indoor Cycling Studio",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 90732,
        "name": "Studio Cycling"
      },
      "facility": {
        "id": 192683,
        "length": null,
        "primary_name": "Indoor Cycling Studio",
        "facility_type": {
          "id": 62,
          "name": "Basketball Court - Outdoor"
        }
      }
    },
    {
      "id": 831,
      "start_time": "09:30",
      "end_time": "10:15",
      "facility_name": "Indoor Cycling Studio",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 90732,
        "name": "Studio Cycling"
      },
      "facility": {
        "id": 192683,
        "length": null,
        "primary_name": "Indoor Cycling Studio",
        "facility_type": {
          "id": 62,
          "name": "Basketball Court - Outdoor"
        }
      }
    },
    {
      "id": 731,
      "start_time": "09:30",
      "end_time": "10:25",
      "facility_name": "Activity Hall",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 21,
        "name": "Body Pump"
      },
      "facility": {
        "id": 83412,
        "length": null,
        "primary_name": "Activity Hall",
        "facility_type": {
          "id": 44,
          "name": "Activity Hall"
        }
      }
    },
    {
      "id": 1726078,
      "start_time": "10:35",
      "end_time": "11:30",
      "facility_name": "Activity Hall",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 30,
        "name": "Pilates"
      },
      "facility": {
        "id": 83412,
        "length": null,
        "primary_name": "Activity Hall",
        "facility_type": {
          "id": 44,
          "name": "Activity Hall"
        }
      }
    },
    {
      "id": 771,
      "start_time": "18:00",
      "end_time": "18:55",
      "facility_name": "Activity Hall",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 19,
        "name": "Body Combat"
      },
      "facility": {
        "id": 83412,
        "length": null,
        "primary_name": "Activity Hall",
        "facility_type": {
          "id": 44,
          "name": "Activity Hall"
        }
      }
    },
    {
      "id": 851,
      "start_time": "18:15",
      "end_time": "19:00",
      "facility_name": "Indoor Cycling Studio",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 90732,
        "name": "Studio Cycling"
      },
      "facility": {
        "id": 192683,
        "length": null,
        "primary_name": "Indoor Cycling Studio",
        "facility_type": {
          "id": 62,
          "name": "Basketball Court - Outdoor"
        }
      }
    },
    {
      "id": 781,
      "start_time": "19:00",
      "end_time": "19:55",
      "facility_name": "Activity Hall",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 17,
        "name": "Body Attack"
      },
      "facility": {
        "id": 83412,
        "length": null,
        "primary_name": "Activity Hall",
        "facility_type": {
          "id": 44,
          "name": "Activity Hall"
        }
      }
    },
    {
      "id": 791,
      "start_time": "20:00",
      "end_time": "20:55",
      "facility_name": "Activity Hall",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 21,
        "name": "Body Pump"
      },
      "facility": {
        "id": 83412,
        "length": null,
        "primary_name": "Activity Hall",
        "facility_type": {
          "id": 44,
          "name": "Activity Hall"
        }
      }
    },
    {
      "id": 801,
      "start_time": "20:05",
      "end_time": "21:00",
      "facility_name": "Dance Studio",
      "date": "2017-09-25",
      "day": "Monday",
      "term_type": {
        "id": 1,
        "name": "Normal"
      },
      "is_cancelled": false,
      "timetable_session": {
        "id": 18,
        "name": "Body Balance"
      },
      "facility": {
        "id": 80281,
        "length": null,
        "primary_name": "Dance Studio",
        "facility_type": {
          "id": 45,
          "name": "Dance Studio Hall"
        }
      }
    }
  ]
}