Slot By-ID
The Slot.id
s 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.id
s returned will depend on which search route is used:
Slot ByID
search followingupcoming-slots
query parameter search: theSlot.id
s will include aYYYY-MM-DD
that exactly matches thestartDate
included in the initialupcoming-slots
search.Slot ByID
search followingFacilityUse ByID
search: theSlot.id
s will includeYYYY-MM-DD
s 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