Skip to main content
GET
/
api
/
spaces
/
bookingvisitors
/
{id}
{
  "BookingId": 123,
  "VisitorId": 123,
  "VisitorFullName": "<string>",
  "VisitorEmail": "<string>",
  "VisitorPhoneNumber": "<string>",
  "VisitorCompanyName": "<string>",
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A BookingVisitor links a Visitor to a Booking, representing a guest associated with that booking. Visitors can only be added to bookings that are associated with a customer (Booking.CoworkerId is not null). When a visitor is added to a booking, they may receive a booking confirmation email and a visitor invite email, depending on the notification settings configured for the location of the booked resource.

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

Path Parameters

id
integer
required
The Id of the BookingVisitor record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/spaces/bookingvisitors/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

BookingId
integer
Booking Id.
VisitorId
integer
Visitor Id.
VisitorFullName
string
Full name of the visitor. Read-only, resolved from the linked Visitor record..
VisitorEmail
string
Email address of the visitor. Read-only, resolved from the linked Visitor record..
VisitorPhoneNumber
string
Phone number of the visitor. Read-only, resolved from the linked Visitor record..
VisitorCompanyName
string
Company name of the visitor. Read-only, resolved from the linked Visitor record..
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "BookingId": 0,
  "VisitorId": 0,
  "VisitorFullName": null,
  "VisitorEmail": null,
  "VisitorPhoneNumber": null,
  "VisitorCompanyName": 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": "BookingVisitor Example",
  "LocalizationDetails": null,
  "CustomFields": null
}