Get a booking
curl --request GET \
--url https://api.spacebring.com/resources/bookings/v1/{bookingId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.spacebring.com/resources/bookings/v1/{bookingId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.spacebring.com/resources/bookings/v1/{bookingId}', 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://api.spacebring.com/resources/bookings/v1/{bookingId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://api.spacebring.com/resources/bookings/v1/{bookingId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spacebring.com/resources/bookings/v1/{bookingId}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spacebring.com/resources/bookings/v1/{bookingId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"booking": {
"attendees": [
{
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
],
"createDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"resourceRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDate": "2023-11-07T05:31:56Z",
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
},
"deleteDate": "2023-11-07T05:31:56Z",
"entire": true,
"membershipRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memo": "<string>",
"metadata": {},
"payment": {
"method": {
"type": "credits",
"credits": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"dayPasses": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"external": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"invoice": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"invoiceItemRef": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"paymentGateway": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"gateway": "authorizenet",
"label": "<string>",
"mask": "<string>",
"title": "<string>"
}
},
"createDate": "2023-11-07T05:31:56Z",
"discounts": [
{
"coupon": {
"amountOff": 123,
"currencyCode": "<string>",
"id": "<string>",
"percentOff": 123,
"productTypes": [
"<string>"
],
"type": "<string>"
},
"promocode": {
"code": "<string>",
"id": "<string>",
"expiration": {
"enabled": true,
"date": "<string>"
},
"limitByFirstPurchase": true
},
"subscriptionId": "<string>"
}
],
"dispute": {
"createDate": "2023-11-07T05:31:56Z"
},
"price": {
"type": "credits",
"credits": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"dayPasses": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"money": {
"grossAmount": 123,
"currencyCode": "<string>",
"taxIsInclusive": true,
"taxRate": 123
}
},
"refundable": true,
"refunds": {
"type": "credits",
"credits": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"dayPasses": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"money": [
{
"grossAmount": 123,
"createDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"id": "<string>"
}
]
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"scheduleDate": "2023-11-07T05:31:56Z",
"status": "succeeded",
"surcharge": {
"money": {
"amount": 123,
"currencyCode": "<string>",
"percentage": 123,
"rate": 123
},
"type": "money"
},
"transactionRef": "<string>",
"type": "<string>"
},
"payments": [
{
"method": {
"type": "credits",
"credits": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"dayPasses": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"external": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"invoice": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"invoiceItemRef": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"paymentGateway": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"gateway": "authorizenet",
"label": "<string>",
"mask": "<string>",
"title": "<string>"
}
},
"createDate": "2023-11-07T05:31:56Z",
"discounts": [
{
"coupon": {
"amountOff": 123,
"currencyCode": "<string>",
"id": "<string>",
"percentOff": 123,
"productTypes": [
"<string>"
],
"type": "<string>"
},
"promocode": {
"code": "<string>",
"id": "<string>",
"expiration": {
"enabled": true,
"date": "<string>"
},
"limitByFirstPurchase": true
},
"subscriptionId": "<string>"
}
],
"dispute": {
"createDate": "2023-11-07T05:31:56Z"
},
"price": {
"type": "credits",
"credits": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"dayPasses": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"money": {
"grossAmount": 123,
"currencyCode": "<string>",
"taxIsInclusive": true,
"taxRate": 123
}
},
"refundable": true,
"refunds": {
"type": "credits",
"credits": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"dayPasses": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"money": [
{
"grossAmount": 123,
"createDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"id": "<string>"
}
]
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"scheduleDate": "2023-11-07T05:31:56Z",
"status": "succeeded",
"surcharge": {
"money": {
"amount": 123,
"currencyCode": "<string>",
"percentage": 123,
"rate": 123
},
"type": "money"
},
"transactionRef": "<string>",
"type": "<string>"
}
],
"seats": 0,
"source": {
"type": "api",
"api": {
"clientId": "<string>"
},
"app": {},
"googleCalendar": {
"calendarId": "<string>",
"eventId": "<string>",
"eventLink": "<string>"
},
"mcp": {
"clientId": "<string>"
},
"member": {}
},
"title": "<string>",
"updateDate": "2023-11-07T05:31:56Z",
"userOwner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}{
"message": "<string>",
"type": "<string>"
}Resources
Get a booking
Get a booking.
OAuth
Required scopes:resources.readonly or resourcesGET
/
resources
/
bookings
/
v1
/
{bookingId}
Get a booking
curl --request GET \
--url https://api.spacebring.com/resources/bookings/v1/{bookingId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.spacebring.com/resources/bookings/v1/{bookingId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.spacebring.com/resources/bookings/v1/{bookingId}', 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://api.spacebring.com/resources/bookings/v1/{bookingId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://api.spacebring.com/resources/bookings/v1/{bookingId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spacebring.com/resources/bookings/v1/{bookingId}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spacebring.com/resources/bookings/v1/{bookingId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"booking": {
"attendees": [
{
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
],
"createDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"resourceRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDate": "2023-11-07T05:31:56Z",
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
},
"deleteDate": "2023-11-07T05:31:56Z",
"entire": true,
"membershipRefOwner": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memo": "<string>",
"metadata": {},
"payment": {
"method": {
"type": "credits",
"credits": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"dayPasses": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"external": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"invoice": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"invoiceItemRef": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"paymentGateway": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"gateway": "authorizenet",
"label": "<string>",
"mask": "<string>",
"title": "<string>"
}
},
"createDate": "2023-11-07T05:31:56Z",
"discounts": [
{
"coupon": {
"amountOff": 123,
"currencyCode": "<string>",
"id": "<string>",
"percentOff": 123,
"productTypes": [
"<string>"
],
"type": "<string>"
},
"promocode": {
"code": "<string>",
"id": "<string>",
"expiration": {
"enabled": true,
"date": "<string>"
},
"limitByFirstPurchase": true
},
"subscriptionId": "<string>"
}
],
"dispute": {
"createDate": "2023-11-07T05:31:56Z"
},
"price": {
"type": "credits",
"credits": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"dayPasses": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"money": {
"grossAmount": 123,
"currencyCode": "<string>",
"taxIsInclusive": true,
"taxRate": 123
}
},
"refundable": true,
"refunds": {
"type": "credits",
"credits": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"dayPasses": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"money": [
{
"grossAmount": 123,
"createDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"id": "<string>"
}
]
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"scheduleDate": "2023-11-07T05:31:56Z",
"status": "succeeded",
"surcharge": {
"money": {
"amount": 123,
"currencyCode": "<string>",
"percentage": 123,
"rate": 123
},
"type": "money"
},
"transactionRef": "<string>",
"type": "<string>"
},
"payments": [
{
"method": {
"type": "credits",
"credits": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"dayPasses": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"external": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
}
},
"invoice": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"invoiceItemRef": "<string>",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"paymentGateway": {
"customer": {
"type": "company",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"name": "<string>",
"surname": "<string>",
"title": "<string>"
},
"gateway": "authorizenet",
"label": "<string>",
"mask": "<string>",
"title": "<string>"
}
},
"createDate": "2023-11-07T05:31:56Z",
"discounts": [
{
"coupon": {
"amountOff": 123,
"currencyCode": "<string>",
"id": "<string>",
"percentOff": 123,
"productTypes": [
"<string>"
],
"type": "<string>"
},
"promocode": {
"code": "<string>",
"id": "<string>",
"expiration": {
"enabled": true,
"date": "<string>"
},
"limitByFirstPurchase": true
},
"subscriptionId": "<string>"
}
],
"dispute": {
"createDate": "2023-11-07T05:31:56Z"
},
"price": {
"type": "credits",
"credits": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"dayPasses": {
"totalAmount": 123,
"expiringAmount": 123,
"permanentAmount": 123
},
"money": {
"grossAmount": 123,
"currencyCode": "<string>",
"taxIsInclusive": true,
"taxRate": 123
}
},
"refundable": true,
"refunds": {
"type": "credits",
"credits": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"dayPasses": [
{
"amountExpiring": 123,
"amountPermanent": 123,
"amountTotal": 123,
"amounts": [
{
"amount": 123,
"type": "expiring",
"expirationDate": "2023-11-07T05:31:56Z",
"subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"createDate": "2023-11-07T05:31:56Z",
"id": "<string>"
}
],
"money": [
{
"grossAmount": 123,
"createDate": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"id": "<string>"
}
]
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"scheduleDate": "2023-11-07T05:31:56Z",
"status": "succeeded",
"surcharge": {
"money": {
"amount": 123,
"currencyCode": "<string>",
"percentage": 123,
"rate": 123
},
"type": "money"
},
"transactionRef": "<string>",
"type": "<string>"
}
],
"seats": 0,
"source": {
"type": "api",
"api": {
"clientId": "<string>"
},
"app": {},
"googleCalendar": {
"calendarId": "<string>",
"eventId": "<string>",
"eventLink": "<string>"
},
"mcp": {
"clientId": "<string>"
},
"member": {}
},
"title": "<string>",
"updateDate": "2023-11-07T05:31:56Z",
"userOwner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"company": {
"title": "<string>"
},
"email": "jsmith@example.com",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}{
"message": "<string>",
"type": "<string>"
}Authorizations
BasicAuthOAuth2
See our authentication documentation for how to authorize your requests
Headers
The id of the network. Required when using bearer token authentication
Path Parameters
ID of the booking. For a single occurrence of a repeating booking, append the occurrence date: <bookingId>_<ISO date>.
Response
OK
The booking.
Show child attributes
Show child attributes
Was this page helpful?