Skip to content

Latest commit

 

History

History
89 lines (81 loc) · 1.8 KB

search-availability-request.md

File metadata and controls

89 lines (81 loc) · 1.8 KB

Search Availability Request

Structure

SearchAvailabilityRequest

Fields

Name Type Tags Description
query SearchAvailabilityQuery Required The query used to search for buyer-accessible availabilities of bookings.

Example (as JSON)

{
  "query": {
    "filter": {
      "start_at_range": {
        "start_at": "start_at6",
        "end_at": "end_at6"
      },
      "location_id": "location_id8",
      "segment_filters": [
        {
          "service_variation_id": "service_variation_id4",
          "team_member_id_filter": {
            "all": [
              "all5",
              "all6",
              "all7"
            ],
            "any": [
              "any2",
              "any3",
              "any4"
            ],
            "none": [
              "none7",
              "none8"
            ]
          }
        },
        {
          "service_variation_id": "service_variation_id4",
          "team_member_id_filter": {
            "all": [
              "all5",
              "all6",
              "all7"
            ],
            "any": [
              "any2",
              "any3",
              "any4"
            ],
            "none": [
              "none7",
              "none8"
            ]
          }
        },
        {
          "service_variation_id": "service_variation_id4",
          "team_member_id_filter": {
            "all": [
              "all5",
              "all6",
              "all7"
            ],
            "any": [
              "any2",
              "any3",
              "any4"
            ],
            "none": [
              "none7",
              "none8"
            ]
          }
        }
      ],
      "booking_id": "booking_id8"
    }
  }
}