Slot By-ID
The Slot.ids returned in either an upcoming-slots query parameter search or a FacilityUse ByID search can be used to make a Slot ByID search.
Every FacilityUse will have an event[].id or an event[].event[].id (in the case where there are IndividualFacilityUses) which will be a URL that looks like https://search.imin.co/facilities-api/v2/slots/{Slot.id}. This should be used for Slot ByID searches. Each Slot.id is appended with YYYY-MM-DDTHH:MM:SS, depending on the startDate of the Slot.
The Slot.ids returned will depend on which search route is used:
Slot ByIDsearch followingupcoming-slotsquery parameter search: theSlot.ids will include aYYYY-MM-DDthat exactly matches thestartDateincluded in the initialupcoming-slotssearch.Slot ByIDsearch followingFacilityUse ByIDsearch: theSlot.ids will includeYYYY-MM-DDs as far ahead 7 days in the future.
Slot By-ID searches return a slot for one facility on day at a specific time: one facility + one day + one slot.
Slot By-ID Search Example
Slot By-ID Search Examplehttps://search.imin.co/facilities-api/v2/slots/{Slot.id }3000-01-05T06-30-00 would return one slot at a specific time on a specific date for a specific FacilityUse:
4 available badminton courts in a sport hall;
On
3000-01-05;At
06-30-00.
Last updated