Documentation

Get Resource Approvers

Retrieve a resource and its approver assignments. Authenticate as a member of the resourceโ€™s site to receive the approvers field. See Resources API for the full resource response.

GET /reservables/{reservable_id}

Path Parameters

Parameter Type Required Description
reservable_id string Yes QReserve resource ID.

Example

curl -H 'Authorization: YOUR_API_KEY' 'https://api.qreserve.com/reservables/RESOURCE_ID'

Response

Read data.approvers. For a user assignment, approver_id identifies the approver. The automatic and silent settings are visible to the approver and site moderators. Fields are abbreviated.

{
  "status": "success",
  "data": {
    "reservable_id": "RESOURCE_ID",
    "approvers": [
      {
        "site_id": "SITE_ID",
        "reservable_id": "RESOURCE_ID",
        "approver_id": "APPROVER_USER_ID",
        "automatic": false,
        "silent": false
      }
    ]
  }
}

See the Approvers API overview for related endpoints.