GET

Get Resource


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a resource by ID.

Permissions
Manage Bookings - all permissions
Read Bookings - all read permissions
Manage Bookings
Read Bookings - Public Data
Read Bookings - Including Participants
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/bookings/v2/resources/{resourceId}

Path Params
resourceIdstringRequired

ID of the resource to retrieve.

Response Object
resourceResource

The retrieved resource.

Retrieve a resource.
Request
cURL
curl -X GET \ 'https://www.wixapis.com/bookings/v2/resources/ffedf9dc-932d-439f-b1f4-e42b2a5a8bb5' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "resource": { "id": "ffedf9dc-932d-439f-b1f4-e42b2a5a8bb5", "revision": "1", "createdDate": "2024-11-22T13:36:47.104Z", "updatedDate": "2024-11-22T13:36:47.104Z", "name": "Meeting room with conference system", "typeId": "dd7790c7-f3ac-4821-accb-52ed385fd932", "locationOptions": { "availableInAllLocations": false, "specificLocationOptions": { "availableInBusinessLocations": true, "businessLocations": [ { "locationId": "1295e5ff-ecb3-41bc-8b6f-7345792e5ec0" } ] } }, "eventsSchedule": { "scheduleId": "e263b1ca-a1e9-45bf-a39c-044e97c63500" } } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?