Skip to main content
GET
/
v1
/
organizations
/
{organization}
/
slots
/
{id}
Show Slot
curl --request GET \
  --url https://api.aspect-dev.systems/v1/organizations/{organization}/slots/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "slots",
    "attributes": {
      "id": "<string>",
      "date_time": "<string>",
      "state": "active",
      "remaining_capacity": 123
    },
    "relationships": {
      "division": {
        "data": {
          "type": "divisions",
          "id": "<string>"
        }
      },
      "location": {
        "data": {
          "type": "locations",
          "id": "<string>"
        }
      },
      "schedule": {
        "data": {
          "type": "schedules",
          "id": "<string>"
        }
      },
      "rates": {
        "data": [
          {
            "type": "rates",
            "id": "<string>"
          }
        ]
      },
      "tags": {
        "data": [
          {
            "type": "tags",
            "id": "<string>"
          }
        ]
      },
      "entries": {
        "data": [
          {
            "type": "entries",
            "id": "<string>"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "<string>",
      "type": "divisions",
      "attributes": {
        "id": "<string>",
        "name": "<string>",
        "industry": "golf"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization
string
required
id
string
required

Query Parameters

include
string

Available includes are division, location, schedule, rates, tags, entries. You can include multiple options by separating them with a comma.

Response

SlotResource

data
SlotResource · object
required
included
(DivisionResource · object | LocationResource · object | ScheduleResource · object | SlotRateResource · object | TagResource · object | EntryResource · object)[]