| http \
GET \
https://api.example.com/api/marketplace-bookings/string-value/ \
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.api.marketplace_bookings import marketplace_bookings_list # (1)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = marketplace_bookings_list.sync(
uuid="string-value",
client=client
)
for item in response:
print(item)
|
- API Source:
marketplace_bookings_list
1
2
3
4
5
6
7
8
9
10
11
12
13 | import { marketplaceBookingsList } from 'waldur-js-client';
try {
const response = await marketplaceBookingsList({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "string-value"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string |
✓ |
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
created_by_full_name |
string |
start |
string (date-time) |
end |
string (date-time) |