Skip to content

Slot By-ID

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:

  1. Slot ByID search following upcoming-slots query parameter search: the Slot.ids will include a YYYY-MM-DD that exactly matches the startDate included in the initial upcoming-slots search.
  2. Slot ByID search following FacilityUse ByID search: the Slot.ids will include YYYY-MM-DDs as far ahead 7 days in the future.

Slot By-ID Search Example