Skip to main content
GET
/
api
/
spaces
/
resourceaccessrules
/
?id=[
{id1}
,
{id2}
,
{id3}
]
Fetch several ResourceAccessRule records in a single request by passing their Ids as a comma-separated list enclosed in square brackets.

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 ResourceAccessRule-Read role.

Query Parameters

id
integer[]
required
A comma-separated list of ResourceAccessRule Ids enclosed in square brackets, e.g. [123,456,789].

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/spaces/resourceaccessrules/?id=[87654321,87654322,87654323]" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Returns an array of ResourceAccessRule records. Each record has the same structure as the response from the Get one ResourceAccessRule endpoint.
Example Response
[
  {
    "ResourceId": 0,
    "Name": "",
    "Active": false,
    "OnlyForContacts": false,
    "ApplyRuleFrom": null,
    "ApplyRuleTo": null,
    "BookInAdvanceLimit": null,
    "LateBookingLimit": null,
    "LateCancellationLimit": null,
    "IntervalLimit": null,
    "MaxBookingLength": null,
    "MinBookingLength": null,
    "NoReturnPolicy": null,
    "NoReturnPolicyAllResources": null,
    "NoReturnPolicyAllUsers": null,
    "RejectWithMessage": null,
    "OnlyForMembers": false,
    "Tariffs": [],
    "AllowedTariffs": [],
    "Members": [],
    "Teams": [],
    "AllowedTeams": [],
    "EventCategories": [],
    "Courses": [],
    "EvaluationOrder": 0,
    "StopEvaluationIfRuleIsMet": false,
    "CancellationFeeProductId": null,
    "CancellationFeeProductName": null,
    "ChargeCancellationFee": false,
    "CancellationFeeType": 0,
    "CancellationFeeAmount": null,
    "CancellationFeePercentage": null,
    "RepeatBookingQuantityLimit": null,
    "RepeatBookingPeriodLimitInMonths": null,
    "Id": 87654321,
    "UpdatedOn": "2025-01-15T10:30:00Z",
    "CreatedOn": "2025-01-10T08:00:00Z",
    "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "UpdatedBy": "admin@example.com",
    "IsNew": false,
    "SystemId": null,
    "ToStringText": "ResourceAccessRule Example",
    "LocalizationDetails": null,
    "CustomFields": null
  }
]