Skip to content

Booking Offerings

Operations Summary

Method Endpoint Description
Core CRUD
GET /api/booking-offerings/ List Booking Offerings
GET /api/booking-offerings/{uuid}/ Retrieve
Other Actions
POST /api/booking-offerings/{uuid}/google_calendar_sync/ Google calendar sync
POST /api/booking-offerings/{uuid}/share_google_calendar/ Share google calendar
POST /api/booking-offerings/{uuid}/unshare_google_calendar/ Unshare google calendar

Core CRUD

List Booking Offerings

1
2
3
4
http \
  GET \
  https://api.example.com/api/booking-offerings/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.offering_field_enum import OfferingFieldEnum # (1)
from waldur_api_client.api.booking_offerings import booking_offerings_list # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = booking_offerings_list.sync(client=client)

for item in response:
    print(item)
  1. Model Source: OfferingFieldEnum
  2. API Source: booking_offerings_list
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { bookingOfferingsList } from 'waldur-js-client';

try {
  const response = await bookingOfferingsList({
  auth: "Token YOUR_API_TOKEN"
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Description
field array
page integer A page number within the paginated result set.
page_size integer Number of results to return per page.

200 -

The response body is an array of objects, where each object has the following structure:

Field Type Description
url string (uri)
uuid string (uuid)
created string (date-time)
billing_period_applies object (free-form) Per plan billing mode, whether a plan's billing period changes what is invoiced. False means every component of this offering would price a quantity of its own under that mode, so the period is inert on the invoice.
billing_mode_components object (free-form) Per plan billing mode, every component of this offering as a plan in that mode would bill it: billing type, measured unit, prepaid flag and limit period.
name string
slug string URL-friendly identifier. Only editable by staff users.
description string
full_description string
privacy_policy_link string (uri)
helpdesk_url string (uri)
documentation_url string (uri)
access_url string (uri) Publicly accessible offering access URL
endpoints array of objects
endpoints.uuid string (uuid)
endpoints.name string
endpoints.url string URL of the access endpoint
default_access_subnets array of objects
default_access_subnets.uuid string (uuid)
default_access_subnets.inet string
default_access_subnets.description string
software_catalogs array of objects
software_catalogs.uuid string (uuid)
software_catalogs.catalog any
software_catalogs.enabled_cpu_family array of strings List of enabled CPU families: ['x86_64', 'aarch64']
software_catalogs.enabled_cpu_microarchitectures array of strings List of enabled CPU microarchitectures: ['generic', 'zen3']
software_catalogs.package_count integer
software_catalogs.partition any
partitions array of objects
partitions.uuid string (uuid)
partitions.partition_name string Name of the SLURM partition
partitions.cpu_arch string CPU architecture of the partition (e.g., x86_64/amd/zen3)
partitions.gpu_arch string GPU architecture of the partition (e.g., nvidia/cc90, amd/gfx90a)
partitions.cpu_bind integer Default task binding policy (SLURM cpu_bind)
partitions.def_cpu_per_gpu integer Default CPUs allocated per GPU
partitions.max_cpus_per_node integer Maximum allocated CPUs per node
partitions.max_cpus_per_socket integer Maximum allocated CPUs per socket
partitions.def_mem_per_cpu integer (int64) Default memory per CPU in MB
partitions.def_mem_per_gpu integer (int64) Default memory per GPU in MB
partitions.def_mem_per_node integer (int64) Default memory per node in MB
partitions.max_mem_per_cpu integer (int64) Maximum memory per CPU in MB
partitions.max_mem_per_node integer (int64) Maximum memory per node in MB
partitions.default_time integer Default time limit in minutes
partitions.max_time integer Maximum time limit in minutes
partitions.grace_time integer Preemption grace time in seconds
partitions.max_nodes integer Maximum nodes per job
partitions.min_nodes integer Minimum nodes per job
partitions.exclusive_topo boolean Exclusive topology access required
partitions.exclusive_user boolean Exclusive user access required
partitions.priority_tier integer Priority tier for scheduling and preemption
partitions.qos string Quality of Service (QOS) name
partitions.qos_options array of objects
partitions.qos_options.uuid string (uuid)
partitions.qos_options.qos string (uuid)
partitions.qos_options.qos_name string
partitions.qos_options.is_default boolean Default QOS for this partition (seeds SLURM DefaultQOS).
partitions.req_resv boolean Require reservation for job allocation
qos_profiles array of objects
qos_profiles.uuid string (uuid)
qos_profiles.name string Name of the SLURM QOS.
qos_profiles.description string
qos_profiles.max_nodes integer Maximum nodes per job
qos_profiles.min_nodes integer Minimum nodes per job
qos_profiles.default_time integer Default time limit in minutes
qos_profiles.max_time integer Maximum wall time in minutes
qos_profiles.grace_time integer Preemption grace time in seconds
qos_profiles.priority integer Scheduling priority
qos_profiles.grp_tres string Aggregate TRES the QOS may allocate at once (GrpTRES)
qos_profiles.max_tres_per_job string Max TRES per job (MaxTRESPerJob)
qos_profiles.max_tres_per_node string Max TRES per node (MaxTRESPerNode)
qos_profiles.max_tres_per_user string Max TRES per user (MaxTRESPerUser)
qos_profiles.min_tres_per_job string Min TRES per job (MinTRESPerJob)
qos_profiles.flags string Comma-separated QOS flags (e.g. DenyOnLimit, OverPartQOS)
customer string (uri)
customer_uuid string (uuid)
customer_name string
project string (uri)
project_uuid string (uuid)
project_name string
category string (uri)
category_uuid string (uuid)
category_title string
attributes object (free-form)
options any
resource_options any
components array of objects
components.uuid string (uuid)
components.offering_uuid string (uuid)
components.billing_type string
Enum: fixed, usage, limit, one, few
components.type string Unique internal name of the measured unit, for example floating_ip.
components.name string Display name for the measured unit, for example, Floating IP.
components.description string
components.measured_unit string Unit of measurement, for example, GB.
components.unit_factor integer The conversion factor from backend units to measured_unit
components.limit_period any
components.limit_amount number (double)
components.limit_decimal_places integer Number of decimal places accepted for this component's limit. 0 keeps the limit integer-only.
components.article_code string
components.max_value number (double)
components.min_value number (double)
components.max_available_limit number (double)
components.is_boolean boolean
components.default_limit number (double)
components.factor integer
components.is_builtin boolean The API's older name for billed_per_plan. It used to ask the plugin registry whether this component's type is one the plugin declares, which left out the OpenStack per-volume-type quotas: they are created by the volume type sync rather than declared, so the API called them provider components while the billing resolver treated them as builtin. Reading the stored flag makes the two agree.
components.is_prepaid boolean
components.overage_component string (uuid)
components.min_prepaid_duration integer
components.max_prepaid_duration integer
components.prepaid_duration_step integer Step size in months for the initial prepaid duration at order creation. If set, only multiples of this value (starting from min_prepaid_duration) are valid. Defaults to 1 (any value between min and max).
components.min_renewal_duration integer Minimum number of months allowed for a renewal.
components.max_renewal_duration integer Maximum number of months allowed for a renewal.
components.renewal_duration_step integer Step size in months for renewal. Only multiples of this value (starting from min_renewal_duration) are valid. Defaults to 1.
plugin_options any
account_settings any
can_update_integration boolean
can_update_options boolean
state any
vendor_details string
getting_started string
integration_guide string
thumbnail string (uri)
order_count integer
plans array of objects
plans.url string (uri)
plans.uuid string (uuid)
plans.name string
plans.description string
plans.article_code string
plans.max_amount integer Maximum number of plans that could be active. Plan is disabled when maximum amount is reached.
plans.archived boolean Forbids creation of new resources.
plans.billing_mode any How the offering's builtin components are billed under this plan. Custom components keep their own accounting type.
plans.is_active boolean
plans.unit_price string (decimal)
plans.unit string
Enum: month, quarter, half_month, day, hour, quantity
plans.init_price number (double)
plans.switch_price number (double)
plans.backend_id string
plans.organization_groups array of objects
plans.organization_groups.uuid string (uuid)
plans.organization_groups.url string (uri)
plans.organization_groups.name string
plans.organization_groups.parent_uuid string (uuid) UUID of the parent organization group
plans.organization_groups.parent_name string Name of the parent organization group
plans.organization_groups.parent string (uri)
plans.organization_groups.customers_count integer Number of customers in this organization group
plans.components array of objects
plans.components.type string Unique internal name of the measured unit, for example floating_ip.
plans.components.name string Display name for the measured unit, for example, Floating IP.
plans.components.measured_unit string
plans.components.billing_type any
plans.components.is_prepaid boolean
plans.components.limit_period any
plans.components.amount integer
plans.components.price string (decimal)
plans.components.future_price string (decimal)
plans.components.discount_formula string Volume discount formula evaluated with the billed quantity bound to usage; returns a discount percentage (clamped to 0-100). Empty means no discount. Example: '10 if usage >= 100 else 0'.
plans.components.discount_aggregation any Whether the volume discount is computed on a single resource's usage or aggregated across all of the customer's resources of this offering.
plans.components.discount_description string
plans.prices object (free-form)
plans.future_prices object (free-form)
plans.quotas object (free-form)
plans.resources_count integer
plans.plan_type string
plans.minimal_price string
screenshots array of objects
screenshots.name string
screenshots.uuid string (uuid)
screenshots.description string
screenshots.image string (uri)
screenshots.thumbnail string (uri)
screenshots.created string (date-time)
type string
shared boolean Accessible to all customers.
billable boolean Purchase and usage is invoiced.
scope string
scope_uuid string (uuid)
scope_name string
scope_state any
scope_error_message string
scope_resource string (uri)
scope_resource_uuid string
scope_resource_name string
files array of objects
files.name string
files.created string (date-time)
files.file string (uri)
quotas array of objects
quotas.name string
quotas.usage integer
quotas.limit integer
paused_reason string
datacite_doi string
citation_count integer Number of citations of a DOI
latitude number (double)
longitude number (double)
country any Country code (ISO 3166-1 alpha-2)
backend_id string
organization_groups array of objects
organization_groups.uuid string (uuid)
organization_groups.url string (uri)
organization_groups.name string
organization_groups.parent_uuid string (uuid) UUID of the parent organization group
organization_groups.parent_name string Name of the parent organization group
organization_groups.parent string (uri)
organization_groups.customers_count integer Number of customers in this organization group
tags array of objects
tags.uuid string (uuid)
tags.name string
image string (uri)
total_customers integer
total_cost integer
total_cost_estimated integer
parent_description string
parent_uuid string (uuid)
parent_name string
backend_metadata object (free-form)
has_compliance_requirements boolean
billing_type_classification string Classify offering components by billing type. Returns 'limit_only', 'usage_only', or 'mixed'.
effective_available_limits array of strings
compliance_checklist string (uri)
compliance_checklist_details any
profile_uuid string (uuid)
profile_name string
offering_group string (uri)
offering_group_uuid string (uuid)
offering_group_title string
user_has_consent boolean
user_has_offering_user boolean
is_accessible boolean
open_for_proposals boolean
googlecalendar object
googlecalendar.backend_id string
googlecalendar.public boolean
googlecalendar.http_link string

Retrieve

1
2
3
4
http \
  GET \
  https://api.example.com/api/booking-offerings/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.offering_field_enum import OfferingFieldEnum # (1)
from waldur_api_client.api.booking_offerings import booking_offerings_retrieve # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = booking_offerings_retrieve.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. Model Source: OfferingFieldEnum
  2. API Source: booking_offerings_retrieve
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { bookingOfferingsRetrieve } from 'waldur-js-client';

try {
  const response = await bookingOfferingsRetrieve({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid) ✓
Name Type
field array

200 -

Field Type Description
url string (uri)
uuid string (uuid)
created string (date-time)
billing_period_applies object (free-form) Per plan billing mode, whether a plan's billing period changes what is invoiced. False means every component of this offering would price a quantity of its own under that mode, so the period is inert on the invoice.
billing_mode_components object (free-form) Per plan billing mode, every component of this offering as a plan in that mode would bill it: billing type, measured unit, prepaid flag and limit period.
name string
slug string URL-friendly identifier. Only editable by staff users.
description string
full_description string
privacy_policy_link string (uri)
helpdesk_url string (uri)
documentation_url string (uri)
access_url string (uri) Publicly accessible offering access URL
endpoints array of objects
endpoints.uuid string (uuid)
endpoints.name string
endpoints.url string URL of the access endpoint
default_access_subnets array of objects
default_access_subnets.uuid string (uuid)
default_access_subnets.inet string
default_access_subnets.description string
software_catalogs array of objects
software_catalogs.uuid string (uuid)
software_catalogs.catalog any
software_catalogs.enabled_cpu_family array of strings List of enabled CPU families: ['x86_64', 'aarch64']
software_catalogs.enabled_cpu_microarchitectures array of strings List of enabled CPU microarchitectures: ['generic', 'zen3']
software_catalogs.package_count integer
software_catalogs.partition any
partitions array of objects
partitions.uuid string (uuid)
partitions.partition_name string Name of the SLURM partition
partitions.cpu_arch string CPU architecture of the partition (e.g., x86_64/amd/zen3)
partitions.gpu_arch string GPU architecture of the partition (e.g., nvidia/cc90, amd/gfx90a)
partitions.cpu_bind integer Default task binding policy (SLURM cpu_bind)
partitions.def_cpu_per_gpu integer Default CPUs allocated per GPU
partitions.max_cpus_per_node integer Maximum allocated CPUs per node
partitions.max_cpus_per_socket integer Maximum allocated CPUs per socket
partitions.def_mem_per_cpu integer (int64) Default memory per CPU in MB
partitions.def_mem_per_gpu integer (int64) Default memory per GPU in MB
partitions.def_mem_per_node integer (int64) Default memory per node in MB
partitions.max_mem_per_cpu integer (int64) Maximum memory per CPU in MB
partitions.max_mem_per_node integer (int64) Maximum memory per node in MB
partitions.default_time integer Default time limit in minutes
partitions.max_time integer Maximum time limit in minutes
partitions.grace_time integer Preemption grace time in seconds
partitions.max_nodes integer Maximum nodes per job
partitions.min_nodes integer Minimum nodes per job
partitions.exclusive_topo boolean Exclusive topology access required
partitions.exclusive_user boolean Exclusive user access required
partitions.priority_tier integer Priority tier for scheduling and preemption
partitions.qos string Quality of Service (QOS) name
partitions.qos_options array of objects
partitions.qos_options.uuid string (uuid)
partitions.qos_options.qos string (uuid)
partitions.qos_options.qos_name string
partitions.qos_options.is_default boolean Default QOS for this partition (seeds SLURM DefaultQOS).
partitions.req_resv boolean Require reservation for job allocation
qos_profiles array of objects
qos_profiles.uuid string (uuid)
qos_profiles.name string Name of the SLURM QOS.
qos_profiles.description string
qos_profiles.max_nodes integer Maximum nodes per job
qos_profiles.min_nodes integer Minimum nodes per job
qos_profiles.default_time integer Default time limit in minutes
qos_profiles.max_time integer Maximum wall time in minutes
qos_profiles.grace_time integer Preemption grace time in seconds
qos_profiles.priority integer Scheduling priority
qos_profiles.grp_tres string Aggregate TRES the QOS may allocate at once (GrpTRES)
qos_profiles.max_tres_per_job string Max TRES per job (MaxTRESPerJob)
qos_profiles.max_tres_per_node string Max TRES per node (MaxTRESPerNode)
qos_profiles.max_tres_per_user string Max TRES per user (MaxTRESPerUser)
qos_profiles.min_tres_per_job string Min TRES per job (MinTRESPerJob)
qos_profiles.flags string Comma-separated QOS flags (e.g. DenyOnLimit, OverPartQOS)
customer string (uri)
customer_uuid string (uuid)
customer_name string
project string (uri)
project_uuid string (uuid)
project_name string
category string (uri)
category_uuid string (uuid)
category_title string
attributes object (free-form)
options any
resource_options any
components array of objects
components.uuid string (uuid)
components.offering_uuid string (uuid)
components.billing_type string
Enum: fixed, usage, limit, one, few
components.type string Unique internal name of the measured unit, for example floating_ip.
components.name string Display name for the measured unit, for example, Floating IP.
components.description string
components.measured_unit string Unit of measurement, for example, GB.
components.unit_factor integer The conversion factor from backend units to measured_unit
components.limit_period any
components.limit_amount number (double)
components.limit_decimal_places integer Number of decimal places accepted for this component's limit. 0 keeps the limit integer-only.
components.article_code string
components.max_value number (double)
components.min_value number (double)
components.max_available_limit number (double)
components.is_boolean boolean
components.default_limit number (double)
components.factor integer
components.is_builtin boolean The API's older name for billed_per_plan. It used to ask the plugin registry whether this component's type is one the plugin declares, which left out the OpenStack per-volume-type quotas: they are created by the volume type sync rather than declared, so the API called them provider components while the billing resolver treated them as builtin. Reading the stored flag makes the two agree.
components.is_prepaid boolean
components.overage_component string (uuid)
components.min_prepaid_duration integer
components.max_prepaid_duration integer
components.prepaid_duration_step integer Step size in months for the initial prepaid duration at order creation. If set, only multiples of this value (starting from min_prepaid_duration) are valid. Defaults to 1 (any value between min and max).
components.min_renewal_duration integer Minimum number of months allowed for a renewal.
components.max_renewal_duration integer Maximum number of months allowed for a renewal.
components.renewal_duration_step integer Step size in months for renewal. Only multiples of this value (starting from min_renewal_duration) are valid. Defaults to 1.
plugin_options any
account_settings any
can_update_integration boolean
can_update_options boolean
state any
vendor_details string
getting_started string
integration_guide string
thumbnail string (uri)
order_count integer
plans array of objects
plans.url string (uri)
plans.uuid string (uuid)
plans.name string
plans.description string
plans.article_code string
plans.max_amount integer Maximum number of plans that could be active. Plan is disabled when maximum amount is reached.
plans.archived boolean Forbids creation of new resources.
plans.billing_mode any How the offering's builtin components are billed under this plan. Custom components keep their own accounting type.
plans.is_active boolean
plans.unit_price string (decimal)
plans.unit string
Enum: month, quarter, half_month, day, hour, quantity
plans.init_price number (double)
plans.switch_price number (double)
plans.backend_id string
plans.organization_groups array of objects
plans.organization_groups.uuid string (uuid)
plans.organization_groups.url string (uri)
plans.organization_groups.name string
plans.organization_groups.parent_uuid string (uuid) UUID of the parent organization group
plans.organization_groups.parent_name string Name of the parent organization group
plans.organization_groups.parent string (uri)
plans.organization_groups.customers_count integer Number of customers in this organization group
plans.components array of objects
plans.components.type string Unique internal name of the measured unit, for example floating_ip.
plans.components.name string Display name for the measured unit, for example, Floating IP.
plans.components.measured_unit string
plans.components.billing_type any
plans.components.is_prepaid boolean
plans.components.limit_period any
plans.components.amount integer
plans.components.price string (decimal)
plans.components.future_price string (decimal)
plans.components.discount_formula string Volume discount formula evaluated with the billed quantity bound to usage; returns a discount percentage (clamped to 0-100). Empty means no discount. Example: '10 if usage >= 100 else 0'.
plans.components.discount_aggregation any Whether the volume discount is computed on a single resource's usage or aggregated across all of the customer's resources of this offering.
plans.components.discount_description string
plans.prices object (free-form)
plans.future_prices object (free-form)
plans.quotas object (free-form)
plans.resources_count integer
plans.plan_type string
plans.minimal_price string
screenshots array of objects
screenshots.name string
screenshots.uuid string (uuid)
screenshots.description string
screenshots.image string (uri)
screenshots.thumbnail string (uri)
screenshots.created string (date-time)
type string
shared boolean Accessible to all customers.
billable boolean Purchase and usage is invoiced.
scope string
scope_uuid string (uuid)
scope_name string
scope_state any
scope_error_message string
scope_resource string (uri)
scope_resource_uuid string
scope_resource_name string
files array of objects
files.name string
files.created string (date-time)
files.file string (uri)
quotas array of objects
quotas.name string
quotas.usage integer
quotas.limit integer
paused_reason string
datacite_doi string
citation_count integer Number of citations of a DOI
latitude number (double)
longitude number (double)
country any Country code (ISO 3166-1 alpha-2)
backend_id string
organization_groups array of objects
organization_groups.uuid string (uuid)
organization_groups.url string (uri)
organization_groups.name string
organization_groups.parent_uuid string (uuid) UUID of the parent organization group
organization_groups.parent_name string Name of the parent organization group
organization_groups.parent string (uri)
organization_groups.customers_count integer Number of customers in this organization group
tags array of objects
tags.uuid string (uuid)
tags.name string
image string (uri)
total_customers integer
total_cost integer
total_cost_estimated integer
parent_description string
parent_uuid string (uuid)
parent_name string
backend_metadata object (free-form)
has_compliance_requirements boolean
billing_type_classification string Classify offering components by billing type. Returns 'limit_only', 'usage_only', or 'mixed'.
effective_available_limits array of strings
compliance_checklist string (uri)
compliance_checklist_details any
profile_uuid string (uuid)
profile_name string
offering_group string (uri)
offering_group_uuid string (uuid)
offering_group_title string
user_has_consent boolean
user_has_offering_user boolean
is_accessible boolean
open_for_proposals boolean
googlecalendar object
googlecalendar.backend_id string
googlecalendar.public boolean
googlecalendar.http_link string

Other Actions

Google calendar sync

1
2
3
4
http \
  POST \
  https://api.example.com/api/booking-offerings/a1b2c3d4-e5f6-7890-abcd-ef1234567890/google_calendar_sync/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.booking_offerings import booking_offerings_google_calendar_sync # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = booking_offerings_google_calendar_sync.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: booking_offerings_google_calendar_sync
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { bookingOfferingsGoogleCalendarSync } from 'waldur-js-client';

try {
  const response = await bookingOfferingsGoogleCalendarSync({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid) ✓

200 - No response body


Share google calendar

1
2
3
4
http \
  POST \
  https://api.example.com/api/booking-offerings/a1b2c3d4-e5f6-7890-abcd-ef1234567890/share_google_calendar/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.booking_offerings import booking_offerings_share_google_calendar # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = booking_offerings_share_google_calendar.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: booking_offerings_share_google_calendar
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { bookingOfferingsShareGoogleCalendar } from 'waldur-js-client';

try {
  const response = await bookingOfferingsShareGoogleCalendar({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid) ✓

200 - No response body


Unshare google calendar

1
2
3
4
http \
  POST \
  https://api.example.com/api/booking-offerings/a1b2c3d4-e5f6-7890-abcd-ef1234567890/unshare_google_calendar/ \
  Authorization:"Token YOUR_API_TOKEN"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.booking_offerings import booking_offerings_unshare_google_calendar # (1)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = booking_offerings_unshare_google_calendar.sync(
    uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    client=client
)

print(response)
  1. API Source: booking_offerings_unshare_google_calendar
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { bookingOfferingsUnshareGoogleCalendar } from 'waldur-js-client';

try {
  const response = await bookingOfferingsUnshareGoogleCalendar({
  auth: "Token YOUR_API_TOKEN",
  path: {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Name Type Required
uuid string (uuid) ✓

200 - No response body