Get resources of an organization
curl --request GET \
--url https://b.anny.co/api/v1/organizations/{organization_slug}/resourcesimport requests
url = "https://b.anny.co/api/v1/organizations/{organization_slug}/resources"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://b.anny.co/api/v1/organizations/{organization_slug}/resources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://b.anny.co/api/v1/organizations/{organization_slug}/resources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b.anny.co/api/v1/organizations/{organization_slug}/resources"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://b.anny.co/api/v1/organizations/{organization_slug}/resources")
.asString();require 'uri'
require 'net/http'
url = URI("https://b.anny.co/api/v1/organizations/{organization_slug}/resources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"meta": {
"page": {
"current-page": 1,
"per-page": 5,
"from": 1,
"to": 4,
"total": 4,
"last-page": 1
}
},
"links": {
"first": "https://b.staging.anny.co/api/v1/organizations/spaces-of-tomorrow/resources?sort=name&page%5Bnumber%5D=1&page%5Bsize%5D=5",
"last": "https://b.staging.anny.co/api/v1/organizations/spaces-of-tomorrow/resources?sort=name&page%5Bnumber%5D=1&page%5Bsize%5D=5"
},
"data": [
{
"type": "resources",
"id": "3049",
"attributes": {
"slug": "flex-desks-ku5zbxkhop",
"name": "Flex Desks",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 25,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": false,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1652"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "91"
}
},
"resource_properties": {
"data": [
{
"type": "resource-properties",
"id": "988"
},
{
"type": "resource-properties",
"id": "989"
},
{
"type": "resource-properties",
"id": "990"
}
]
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3049"
},
"meta": {
"is_available": null,
"display_quota": 25,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Flex Day Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 1,
"min_price_max_duration": 1,
"min_duration_total": 25,
"starting_fee": 0,
"calculation_interval": 1,
"price": 25,
"is_net_price": true,
"price_hidden": false,
"price_label": null,
"unit": "day",
"auto_duration": false
},
"service_list": "Flex Day Pass, Member Day Pass",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": false,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": false,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3048",
"attributes": {
"slug": "beispiel-meeting-raum-pz43sxqclf",
"name": "Meeting Room Yellow",
"description": "<p></p>",
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 20,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": true,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": null,
"longitude": null,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1656"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "6"
}
},
"resource_properties": {
"data": [
{
"type": "resource-properties",
"id": "983"
},
{
"type": "resource-properties",
"id": "978"
},
{
"type": "resource-properties",
"id": "979"
},
{
"type": "resource-properties",
"id": "980"
},
{
"type": "resource-properties",
"id": "981"
},
{
"type": "resource-properties",
"id": "982"
}
]
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3048"
},
"meta": {
"is_available": null,
"display_quota": 20,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Hourly Rent",
"currency": "EUR",
"has_flexible_duration": true,
"uncharged_duration": 0,
"min_duration": 60,
"min_price_max_duration": 60,
"min_duration_total": 24,
"starting_fee": 0,
"calculation_interval": 60,
"price": 24,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "minute",
"auto_duration": false
},
"service_list": "Hourly Rent, Members Booking",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": true,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": "",
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": true,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": "",
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3056",
"attributes": {
"slug": "morning-fintness-5nuc6dbcqm",
"name": "Morning Fintness",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 15,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": false,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": true,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1654"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "109"
}
},
"resource_properties": {
"data": []
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3056"
},
"meta": {
"is_available": null,
"display_quota": 15,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Members Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 60,
"min_price_max_duration": 60,
"min_duration_total": 0,
"starting_fee": 0,
"calculation_interval": 60,
"price": 0,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "minute",
"auto_duration": false
},
"service_list": "Members Pass",
"services_count": "1",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": false,
"showLocation": false,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": false,
"showLocation": false,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3050",
"attributes": {
"slug": "premium-desks-klneglo14r",
"name": "Premium Desks",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 5,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": true,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1653"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "91"
}
},
"resource_properties": {
"data": []
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3050"
},
"meta": {
"is_available": null,
"display_quota": 5,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Premium Week Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 1,
"min_price_max_duration": 1,
"min_duration_total": 100,
"starting_fee": 0,
"calculation_interval": 1,
"price": 100,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "week",
"auto_duration": false
},
"service_list": "Premium Week Pass, Member Week Pass",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
}
],
"included": [
{
"type": "images",
"id": "1652",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"copyright": "Helena Lopes",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8G8Fa9Yt4W8OR2fh9rfTJNVeIX7om5nZI1we+0EEAnqScDINek/HW10G58bz3FxBdaVBpkFta3EOjYEl4MKWnDkoFcr8rE7vvA5+Xn5v8N/HHU/C3huPR49Ns7mO3LxwzSF96ht55G7acbyBx6elEvjrUvHuu215qMrJfytAqXFsRH5Y8wjGAPQ+o6CvPdBrmk9F/wAOd8MRSTjHd/8ADeny/wAjP8YW9jZeIbtYys8bOzIbpjNKF3EAM4IDEADnA+gorpNd8ASXGoPO2sXOJcsFIJKjcRjOeen60V0U01BaHHWTdSTXc//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"created_at": "2023-03-24T15:00:02+00:00"
}
},
{
"type": "resource-categories",
"id": "91",
"attributes": {
"slug": "flex-desks",
"name": "Flex-Desk",
"plural_name": "Flex-Desks",
"is_location": true,
"schema_type": "Room",
"is_rentable": true,
"created_at": "2022-09-08T15:30:33+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "properties",
"id": "157",
"attributes": {
"label": "Gebäude",
"icon": "building",
"value_type": "string",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "988",
"attributes": {
"value": "B",
"order_index": "0"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "157"
}
}
}
},
{
"type": "properties",
"id": "173",
"attributes": {
"label": "kostenfreie Parkplätze",
"icon": "square-parking",
"value_type": "boolean",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "989",
"attributes": {
"value": true,
"order_index": "1"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "173"
}
}
}
},
{
"type": "properties",
"id": "34",
"attributes": {
"label": "Kapazität",
"icon": "users",
"value_type": "number",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "990",
"attributes": {
"value": 10,
"order_index": "2"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "34"
}
}
}
},
{
"type": "images",
"id": "1656",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"copyright": "myHQ Workspaces",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8F8M/DzxDYac8EU1gihgrra3ayzJG6h1k2jeoXa45JHTpXrfgP4G6BqV5e/2h418P2kl0q+fcyyGfzUyCSAcKMcA9VBU4AAOOH0Vn0i90zWPtE8+qRTsyTs4UBSqqI9oH3FAwB2ya6+x0m38feJE0nULeCGBpy4ltFeOVFEYdlU7sDdk5OOpzzXhUJV3W5alpR79V8ra9Op6FWMVDmjo+3T+tzVufDuh6BfXNjYeJLS4soWCxSosUIYBF5xhgTnOSCBnPHGSVveG/hN4ZnXUY7yyfVFt7x4YGv5PNeKMBfkBwPl3Fm+rGiumWDjKTk0vuJjjZwioxvZeZ//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"created_at": "2023-03-24T15:09:33+00:00"
}
},
{
"type": "resource-categories",
"id": "6",
"attributes": {
"slug": "meeting-rooms",
"name": "Meetingraum",
"plural_name": "Meetingräume",
"is_location": true,
"schema_type": "MeetingRoom",
"is_rentable": true,
"created_at": "2020-05-30T22:47:16+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "properties",
"id": "12",
"attributes": {
"label": "Kapazität",
"icon": "users",
"value_type": "number",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "983",
"attributes": {
"value": 10,
"order_index": "0"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "12"
}
}
}
},
{
"type": "properties",
"id": "70",
"attributes": {
"label": "Barrierefrei",
"icon": "wheelchair",
"value_type": "boolean",
"filterable": true,
"private": true
}
},
{
"type": "resource-properties",
"id": "978",
"attributes": {
"value": true,
"order_index": "1"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "70"
}
}
}
},
{
"type": "properties",
"id": "32",
"attributes": {
"label": "Flip-Chart",
"icon": "presentation",
"value_type": "boolean",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "979",
"attributes": {
"value": true,
"order_index": "2"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "32"
}
}
}
},
{
"type": "resource-properties",
"id": "980",
"attributes": {
"value": "A",
"order_index": "3"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "157"
}
}
}
},
{
"type": "resource-properties",
"id": "981",
"attributes": {
"value": true,
"order_index": "4"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "173"
}
}
}
},
{
"type": "properties",
"id": "147",
"attributes": {
"label": "Steckdose",
"icon": "outlet",
"value_type": "number",
"filterable": true,
"private": true
}
},
{
"type": "resource-properties",
"id": "982",
"attributes": {
"value": 4,
"order_index": "5"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "147"
}
}
}
},
{
"type": "images",
"id": "1654",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"copyright": "bruce mars",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A+q/D37bPw+Wxvr24MmmrHsS3hlC+bcLtDNwrH94fnAXJBIHIzx4pF8T9D+G/xh0vxdeXQi0WS0a/Fyls0iqpkeAthQCxXcpKgj5QMYOareE/gH4SMQc2kx/s1/PiIuZQ+SpGN2/p8x45qbxBpdlB9g0K0thaFmRUuhhmjUEbQFIwcbRnOc4561FSnOyk2tGdmFVGfNJ/Db7vPY5v4teKtJ+JfjS41rz7a6m8qK2muogFW4kjQKZQMDAfG8DGQGANFcj4t0e2+GWsPoFrGl7DANyzTou87iSBnBJAGFGSeAB2orCcEpNN6mKnG3u7H//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"created_at": "2023-03-24T15:07:33+00:00"
}
},
{
"type": "resource-categories",
"id": "109",
"attributes": {
"slug": "gyms",
"name": "Gym",
"plural_name": "Gyms",
"is_location": true,
"schema_type": "Room",
"is_rentable": false,
"created_at": "2022-09-08T15:30:34+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "images",
"id": "1653",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/nEairqFmMuxaD8lfCPARsYc18.jpg",
"copyright": "Austin Distel",
"width": "1080",
"height": "810",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADwAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A22+NHgrQjo11LpYgsru3aKWNfmcy5IA+TnOWU57BsnGBm3rHxN8L6DqX9h3NlJeQwKsZgz5qRwkxkPjaAdiAkjqAON3bxX/hMtF+DOiWET+H73WrmWQQrNPqQURsgkm3qNhIOEbPzc8cY6ch8efiNefEbwppF9pOn3mlS320eZNfBzHJvmAX5QuSQAAccBRzxiuGEYzqJSpWutX5nc5OFPSpe2y8vke26ncPfa1qN5aRyafpdzKstipACyQ+WgEi/KRtZgxGCc/XIBXA+BPiz4m+HvhHTPD8NpbQyWUIjnVrva3m9XzthYZyezH60V6VLGYujBU6cY8q2vTi/wATkq0MJVm5zcrvf95Jfgf/2Q==",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/nEairqFmMuxaD8lfCPARsYc18.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/nEairqFmMuxaD8lfCPARsYc18.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/nEairqFmMuxaD8lfCPARsYc18.jpg",
"created_at": "2023-03-24T15:04:51+00:00"
}
}
]
}Resources & Services
Get resources of an organization
GET
/
api
/
v1
/
organizations
/
{organization_slug}
/
resources
Get resources of an organization
curl --request GET \
--url https://b.anny.co/api/v1/organizations/{organization_slug}/resourcesimport requests
url = "https://b.anny.co/api/v1/organizations/{organization_slug}/resources"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://b.anny.co/api/v1/organizations/{organization_slug}/resources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://b.anny.co/api/v1/organizations/{organization_slug}/resources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://b.anny.co/api/v1/organizations/{organization_slug}/resources"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://b.anny.co/api/v1/organizations/{organization_slug}/resources")
.asString();require 'uri'
require 'net/http'
url = URI("https://b.anny.co/api/v1/organizations/{organization_slug}/resources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"meta": {
"page": {
"current-page": 1,
"per-page": 5,
"from": 1,
"to": 4,
"total": 4,
"last-page": 1
}
},
"links": {
"first": "https://b.staging.anny.co/api/v1/organizations/spaces-of-tomorrow/resources?sort=name&page%5Bnumber%5D=1&page%5Bsize%5D=5",
"last": "https://b.staging.anny.co/api/v1/organizations/spaces-of-tomorrow/resources?sort=name&page%5Bnumber%5D=1&page%5Bsize%5D=5"
},
"data": [
{
"type": "resources",
"id": "3049",
"attributes": {
"slug": "flex-desks-ku5zbxkhop",
"name": "Flex Desks",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 25,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": false,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1652"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "91"
}
},
"resource_properties": {
"data": [
{
"type": "resource-properties",
"id": "988"
},
{
"type": "resource-properties",
"id": "989"
},
{
"type": "resource-properties",
"id": "990"
}
]
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3049"
},
"meta": {
"is_available": null,
"display_quota": 25,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Flex Day Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 1,
"min_price_max_duration": 1,
"min_duration_total": 25,
"starting_fee": 0,
"calculation_interval": 1,
"price": 25,
"is_net_price": true,
"price_hidden": false,
"price_label": null,
"unit": "day",
"auto_duration": false
},
"service_list": "Flex Day Pass, Member Day Pass",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": false,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": false,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3048",
"attributes": {
"slug": "beispiel-meeting-raum-pz43sxqclf",
"name": "Meeting Room Yellow",
"description": "<p></p>",
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 20,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": true,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": null,
"longitude": null,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1656"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "6"
}
},
"resource_properties": {
"data": [
{
"type": "resource-properties",
"id": "983"
},
{
"type": "resource-properties",
"id": "978"
},
{
"type": "resource-properties",
"id": "979"
},
{
"type": "resource-properties",
"id": "980"
},
{
"type": "resource-properties",
"id": "981"
},
{
"type": "resource-properties",
"id": "982"
}
]
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3048"
},
"meta": {
"is_available": null,
"display_quota": 20,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Hourly Rent",
"currency": "EUR",
"has_flexible_duration": true,
"uncharged_duration": 0,
"min_duration": 60,
"min_price_max_duration": 60,
"min_duration_total": 24,
"starting_fee": 0,
"calculation_interval": 60,
"price": 24,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "minute",
"auto_duration": false
},
"service_list": "Hourly Rent, Members Booking",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": true,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": "",
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": true,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": "",
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3056",
"attributes": {
"slug": "morning-fintness-5nuc6dbcqm",
"name": "Morning Fintness",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 15,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": false,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": true,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1654"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "109"
}
},
"resource_properties": {
"data": []
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3056"
},
"meta": {
"is_available": null,
"display_quota": 15,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Members Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 60,
"min_price_max_duration": 60,
"min_duration_total": 0,
"starting_fee": 0,
"calculation_interval": 60,
"price": 0,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "minute",
"auto_duration": false
},
"service_list": "Members Pass",
"services_count": "1",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": false,
"showLocation": false,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": false,
"showLocation": false,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
},
{
"type": "resources",
"id": "3050",
"attributes": {
"slug": "premium-desks-klneglo14r",
"name": "Premium Desks",
"description": null,
"plain_description": "",
"availabilityMode": null,
"continuous": true,
"color": null,
"auto_accept_bookings": true,
"timezone": "Europe/Berlin",
"quantity": 5,
"staggered_quantity": null,
"max_booking_quantity": 1,
"max_sequence_quantity": 10,
"has_children": true,
"available_from": null,
"available_to": null,
"viewing_requires_community": false,
"booking_requires_community": false,
"latitude": 50.93574,
"longitude": 6.951823,
"has_map": false,
"is_online": false,
"allow_multi_service": false,
"create_booking_sequence": false
},
"relationships": {
"cover_image": {
"data": {
"type": "images",
"id": "1653"
}
},
"category": {
"data": {
"type": "resource-categories",
"id": "91"
}
},
"resource_properties": {
"data": []
}
},
"links": {
"self": "https://b.staging.anny.co/api/v1/resources/3050"
},
"meta": {
"is_available": null,
"display_quota": 5,
"booking_count": null,
"number_available": null,
"availability_result": null,
"minimal_service": {
"name": "Premium Week Pass",
"currency": "EUR",
"has_flexible_duration": false,
"uncharged_duration": 0,
"min_duration": 1,
"min_price_max_duration": 1,
"min_duration_total": 100,
"starting_fee": 0,
"calculation_interval": 1,
"price": 100,
"is_net_price": false,
"price_hidden": false,
"price_label": null,
"unit": "week",
"auto_duration": false
},
"service_list": "Premium Week Pass, Member Week Pass",
"services_count": "2",
"settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"meta_settings": {
"showAvailabilityCalendar": false,
"showAvailability": true,
"showLocation": true,
"showServiceList": false,
"minimizeCoverImage": false,
"showAvailabilityCount": true,
"checkout": {
"customerCanPickChildren": false,
"requiresLogin": false,
"requiresLoginReason": null,
"verifyGuestEmail": false
},
"checkIn": {
"isEnabled": false
},
"selfCheckIn": {
"isEnabled": false,
"disabledUntil": 15,
"allowedUntil": 0,
"autoCheckInEnabled": true,
"checkOutEnabled": true,
"allowedOverrunTime": 60,
"geoCheckEnabled": true,
"geoCheckMaxDelta": 1000
}
},
"zoom": false,
"teams": false,
"platform_id": null
}
}
],
"included": [
{
"type": "images",
"id": "1652",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"copyright": "Helena Lopes",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8G8Fa9Yt4W8OR2fh9rfTJNVeIX7om5nZI1we+0EEAnqScDINek/HW10G58bz3FxBdaVBpkFta3EOjYEl4MKWnDkoFcr8rE7vvA5+Xn5v8N/HHU/C3huPR49Ns7mO3LxwzSF96ht55G7acbyBx6elEvjrUvHuu215qMrJfytAqXFsRH5Y8wjGAPQ+o6CvPdBrmk9F/wAOd8MRSTjHd/8ADeny/wAjP8YW9jZeIbtYys8bOzIbpjNKF3EAM4IDEADnA+gorpNd8ASXGoPO2sXOJcsFIJKjcRjOeen60V0U01BaHHWTdSTXc//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/8lXw6fZhrjfttntyt2Rxewb7j.jpg",
"created_at": "2023-03-24T15:00:02+00:00"
}
},
{
"type": "resource-categories",
"id": "91",
"attributes": {
"slug": "flex-desks",
"name": "Flex-Desk",
"plural_name": "Flex-Desks",
"is_location": true,
"schema_type": "Room",
"is_rentable": true,
"created_at": "2022-09-08T15:30:33+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "properties",
"id": "157",
"attributes": {
"label": "Gebäude",
"icon": "building",
"value_type": "string",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "988",
"attributes": {
"value": "B",
"order_index": "0"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "157"
}
}
}
},
{
"type": "properties",
"id": "173",
"attributes": {
"label": "kostenfreie Parkplätze",
"icon": "square-parking",
"value_type": "boolean",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "989",
"attributes": {
"value": true,
"order_index": "1"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "173"
}
}
}
},
{
"type": "properties",
"id": "34",
"attributes": {
"label": "Kapazität",
"icon": "users",
"value_type": "number",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "990",
"attributes": {
"value": 10,
"order_index": "2"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "34"
}
}
}
},
{
"type": "images",
"id": "1656",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"copyright": "myHQ Workspaces",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8F8M/DzxDYac8EU1gihgrra3ayzJG6h1k2jeoXa45JHTpXrfgP4G6BqV5e/2h418P2kl0q+fcyyGfzUyCSAcKMcA9VBU4AAOOH0Vn0i90zWPtE8+qRTsyTs4UBSqqI9oH3FAwB2ya6+x0m38feJE0nULeCGBpy4ltFeOVFEYdlU7sDdk5OOpzzXhUJV3W5alpR79V8ra9Op6FWMVDmjo+3T+tzVufDuh6BfXNjYeJLS4soWCxSosUIYBF5xhgTnOSCBnPHGSVveG/hN4ZnXUY7yyfVFt7x4YGv5PNeKMBfkBwPl3Fm+rGiumWDjKTk0vuJjjZwioxvZeZ//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/aHwXpjcZgNVB6wuvTRdjPEJdy.jpg",
"created_at": "2023-03-24T15:09:33+00:00"
}
},
{
"type": "resource-categories",
"id": "6",
"attributes": {
"slug": "meeting-rooms",
"name": "Meetingraum",
"plural_name": "Meetingräume",
"is_location": true,
"schema_type": "MeetingRoom",
"is_rentable": true,
"created_at": "2020-05-30T22:47:16+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "properties",
"id": "12",
"attributes": {
"label": "Kapazität",
"icon": "users",
"value_type": "number",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "983",
"attributes": {
"value": 10,
"order_index": "0"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "12"
}
}
}
},
{
"type": "properties",
"id": "70",
"attributes": {
"label": "Barrierefrei",
"icon": "wheelchair",
"value_type": "boolean",
"filterable": true,
"private": true
}
},
{
"type": "resource-properties",
"id": "978",
"attributes": {
"value": true,
"order_index": "1"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "70"
}
}
}
},
{
"type": "properties",
"id": "32",
"attributes": {
"label": "Flip-Chart",
"icon": "presentation",
"value_type": "boolean",
"filterable": true,
"private": false
}
},
{
"type": "resource-properties",
"id": "979",
"attributes": {
"value": true,
"order_index": "2"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "32"
}
}
}
},
{
"type": "resource-properties",
"id": "980",
"attributes": {
"value": "A",
"order_index": "3"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "157"
}
}
}
},
{
"type": "resource-properties",
"id": "981",
"attributes": {
"value": true,
"order_index": "4"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "173"
}
}
}
},
{
"type": "properties",
"id": "147",
"attributes": {
"label": "Steckdose",
"icon": "outlet",
"value_type": "number",
"filterable": true,
"private": true
}
},
{
"type": "resource-properties",
"id": "982",
"attributes": {
"value": 4,
"order_index": "5"
},
"relationships": {
"property": {
"data": {
"type": "properties",
"id": "147"
}
}
}
},
{
"type": "images",
"id": "1654",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"copyright": "bruce mars",
"width": "1080",
"height": "720",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADQAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A+q/D37bPw+Wxvr24MmmrHsS3hlC+bcLtDNwrH94fnAXJBIHIzx4pF8T9D+G/xh0vxdeXQi0WS0a/Fyls0iqpkeAthQCxXcpKgj5QMYOareE/gH4SMQc2kx/s1/PiIuZQ+SpGN2/p8x45qbxBpdlB9g0K0thaFmRUuhhmjUEbQFIwcbRnOc4561FSnOyk2tGdmFVGfNJ/Db7vPY5v4teKtJ+JfjS41rz7a6m8qK2muogFW4kjQKZQMDAfG8DGQGANFcj4t0e2+GWsPoFrGl7DANyzTou87iSBnBJAGFGSeAB2orCcEpNN6mKnG3u7H//Z",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/WHknoRGV9wG1iQnUTAiSdHGg6.jpg",
"created_at": "2023-03-24T15:07:33+00:00"
}
},
{
"type": "resource-categories",
"id": "109",
"attributes": {
"slug": "gyms",
"name": "Gym",
"plural_name": "Gyms",
"is_location": true,
"schema_type": "Room",
"is_rentable": false,
"created_at": "2022-09-08T15:30:34+00:00",
"illustration": null
},
"relationships": {
"industries": []
}
},
{
"type": "images",
"id": "1653",
"attributes": {
"url": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/nEairqFmMuxaD8lfCPARsYc18.jpg",
"copyright": "Austin Distel",
"width": "1080",
"height": "810",
"order_index": "0",
"preview_image_base64": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gOTAK/9sAQwADAgIDAgIDAwMDBAMDBAUIBQUEBAUKBwcGCAwKDAwLCgsLDQ4SEA0OEQ4LCxAWEBETFBUVFQwPFxgWFBgSFBUU/9sAQwEDBAQFBAUJBQUJFA0LDRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgADwAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A22+NHgrQjo11LpYgsru3aKWNfmcy5IA+TnOWU57BsnGBm3rHxN8L6DqX9h3NlJeQwKsZgz5qRwkxkPjaAdiAkjqAON3bxX/hMtF+DOiWET+H73WrmWQQrNPqQURsgkm3qNhIOEbPzc8cY6ch8efiNefEbwppF9pOn3mlS320eZNfBzHJvmAX5QuSQAAccBRzxiuGEYzqJSpWutX5nc5OFPSpe2y8vke26ncPfa1qN5aRyafpdzKstipACyQ+WgEi/KRtZgxGCc/XIBXA+BPiz4m+HvhHTPD8NpbQyWUIjnVrva3m9XzthYZyezH60V6VLGYujBU6cY8q2vTi/wATkq0MJVm5zcrvf95Jfgf/2Q==",
"small_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/small/nEairqFmMuxaD8lfCPARsYc18.jpg",
"medium_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/medium/nEairqFmMuxaD8lfCPARsYc18.jpg",
"large_path": "https://cdn.staging.booking-buddy.de/public/images/gallery/large/nEairqFmMuxaD8lfCPARsYc18.jpg",
"created_at": "2023-03-24T15:04:51+00:00"
}
}
]
}Pfadparameter
Abfrageparameter
Include resource relationships
Verfügbare Optionen:
cover_image, gallery_images, organization, group, category, resource_properties.property, schedules, add_ons Beispiel:
"category,cover_image,resource_properties.property"
Filter resources >= start_date (atomic date time string)
Filter resources <= end_date (atomic date time string)
Sort column for resources (prepend - for desc)
Array of category ids
Exclude child resources from global listing
Verfügbare Optionen:
true, false default only unhidden resources for unauthenticated users
Verfügbare Optionen:
true, false Latitude of search coordinates
Pattern:
^(\+|-)?(?:90(?:(?:\.0{1,8})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,8})?))$Longitude of search coordinates
Pattern:
^(\+|-)?(?:180(?:(?:\.0{1,8})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,8})?))$Max. dist in km from search coordinates
City name
Filter value of property with property_id
Operator for filter value of property with property_id
Verfügbare Optionen:
=, in, <=, >=, >, <, like Add unavailable resource to result
Antwort
OK
Show child attributes
Show child attributes
⌘I