Updates an existing Resource record. You must include the Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the Resource-Edit role.
Enums
eResourceType — SystemResourceType values
Value Name 0 None 1 MeetingRoom 2 HotDesk 3 PrivateOffice 4 EventSpace 5 Lab 6 Kitchen 7 TreatmentRoom 9 StorageUnit 10 Machine 11 DayPass 12 PhoneBooth 99 Other
eCancellationFeeType — CancellationFeeType values
Value Name 0 None 1 Absolute 2 Percentage
Request Body
Required Fields
The Id of the Resource record to update.
Display name of the resource (e.g., ‘Board Room A’, ‘Phone Booth 3’)..
Sort position when listing resources. Lower values appear first..
Optional Fields
Built-in resource category used for system behaviour (e.g., MeetingRoom, HotDesk, PhoneBooth). Distinct from the custom ResourceType.. See eResourceType enum above.
Free-text description shown to users when viewing the resource details..
Custom HTML or text included in booking confirmation emails for this resource..
Whether the resource is visible and bookable by end users. Hidden resources can still be booked by admins..
When true, bookings for this resource are held as pending until an admin approves them..
Optional grouping label used to cluster related resources together in the UI (e.g., ‘Floor 2’)..
Amenity flag: resource has a projector..
Amenity flag: resource has internet access..
Amenity flag: resource has a conference phone..
Amenity flag: resource has a standard phone..
Amenity flag: resource has a whiteboard..
Amenity flag: resource has a large display..
Amenity flag: catering is available for this resource..
Amenity flag: tea and coffee are available..
Amenity flag: drinks are available..
Amenity flag: resource has a security lock..
Amenity flag: resource has CCTV coverage..
Amenity flag: resource has a voice recorder..
Amenity flag: resource has air conditioning..
Amenity flag: resource has heating..
Amenity flag: resource has natural light..
Amenity flag: resource has a standing desk..
Amenity flag: resource is located in a quiet zone..
Amenity flag: resource has a wireless charger..
Amenity flag: resource has a privacy screen..
Amenity flag: resource is soundproof..
Amenity flag: resource has video conferencing equipment..
Amenity flag: resource has a dual display screen..
Amenity flag: resource has a display screen..
Amenity flag: resource has wireless presentation capabilities..
Amenity flag: resource has a PA system..
Amenity flag: resource has a desktop monitor..
Amenity flag: resource has a flip chart..
Amenity flag: resource has secure storage..
When true, overlapping bookings are permitted up to the Allocation capacity..
Maximum number of attendees or concurrent bookings allowed. Used with AllowMultipleBookings to control capacity..
LimitVisitorsToAllocation
When true, the total number of visitors added to a booking cannot exceed the Allocation capacity..
Maximum number of days in advance a booking can be made for this resource. Null means no limit..
Minimum lead time (in minutes) required before a booking can start. Prevents last-minute bookings..
Cut-off in minutes before the booking start time. Cancellations after this point are considered late and may incur a fee..
Minimum interval (in minutes) between consecutive bookings on this resource, used as a buffer for setup or cleaning..
Cooldown in minutes: prevents the same user from booking this specific resource again within this window after their last booking ends..
NoReturnPolicyAllResources
Cooldown in minutes: prevents the same user from booking any resource after booking this one, for the specified window..
Cooldown in minutes: prevents any user from booking this resource within the specified window after the previous booking ends..
Maximum allowed duration for a single booking on this resource, in minutes..
Minimum allowed duration for a single booking on this resource, in minutes..
JSON-encoded shifts configuration defining the resource’s availability schedule..
Removed Linked Resources.
GPS longitude coordinate of the resource’s physical location..
GPS latitude coordinate of the resource’s physical location..
When true, this resource does not appear on the booking calendar view..
When true, the resource is archived and hidden from all views. It cannot be booked..
When true, bookings for this resource use the location’s shared Zoom account to create virtual meetings..
Zoom user ID used to host virtual meetings when UseSharedZoomAccount is false..
Timestamp of the last cleaning event for this resource..
Comma-separated string of linked resource IDs (read-only alternative view of LinkedResources)..
When true, only contacts (non-member customers) can book this resource..
When true, only active members (coworkers with a plan) can book this resource..
When true, only coworkers invoiced by this specific location can book this resource..
BookingAvailabilityExceptions
Booking Availability Exceptions.
AddedBookingAvailabilityExceptions
Added Booking Availability Exceptions.
RemovedBookingAvailabilityExceptions
Removed Booking Availability Exceptions.
Cancellation Fee Product Id.
When true, a fee is charged for late cancellations (past the LateCancellationLimit)..
How the cancellation fee is calculated: Absolute (fixed amount) or Percentage (of booking cost).. See eCancellationFeeType enum above.
Fixed cancellation fee amount. Used when CancellationFeeType is Absolute..
CancellationFeePercentage
Cancellation fee as a percentage of the booking cost. Used when CancellationFeeType is Percentage..
RepeatBookingQuantityLimit
Maximum number of occurrences allowed when creating a recurring booking for this resource..
RepeatBookingPeriodLimitInMonths
Maximum time span (in months) over which a recurring booking series can extend..
Children
The days and times this resource is available for booking. The year, month and day component of FromTime/ToTime is always 1976-01-01.
Code Examples
curl -X PUT \
"https://spaces.nexudus.com/api/spaces/resources" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"BusinessId": 0,
"Name": "",
"ResourceTypeId": 0,
"DisplayOrder": 0,
"Id": 87654321,
"TimeSlots": [
{
"DayOfWeek": 0,
"FromTime": "2025-01-15T10:30:00Z",
"ToTime": "2025-01-15T10:30:00Z"
}
]
}'
Response
200
HTTP status code. 200 on success.
A human-readable message confirming the update.
Contains the Id of the updated record.
true if the resource was updated successfully.
{
"Status" : 200 ,
"Message" : "Resource was successfully updated." ,
"Value" : {
"Id" : 87654321
},
"OpenInDialog" : false ,
"OpenInWindow" : false ,
"RedirectURL" : null ,
"JavaScript" : null ,
"UpdatedOn" : "2025-01-15T10:30:00Z" ,
"UpdatedBy" : "admin@example.com" ,
"Errors" : null ,
"WasSuccessful" : true
}
400
A summary of the validation error(s), in the format PropertyName: error message.
null on validation failure.
Array of validation errors. The value that was submitted for the field, or null if missing.
The validation error message.
The name of the property that failed validation.
false when the request fails validation.
{
"Message" : "Name: is a required field" ,
"Value" : null ,
"Errors" : [
{
"AttemptedValue" : null ,
"Message" : "is a required field" ,
"PropertyName" : "Name"
}
],
"WasSuccessful" : false
}