Skip to main content
GET
/
api
/
spaces
/
coworkermsofficecalendars
/
{id}
Get one CoworkerMsOfficeCalendar
curl --request GET \
  --url https://spaces.nexudus.com/api/spaces/coworkermsofficecalendars/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "ResourceId": 123,
  "CoworkerId": 123,
  "CoworkerFullName": "<string>",
  "Name": "<string>",
  "SubscriptionId": "<string>",
  "CalendarId": "<string>",
  "SubscriptionExpireDate": "<string>",
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A CoworkerMsOfficeCalendar record represents a Microsoft Office 365 Calendar account connected to a customer’s Nexudus account. These records are created automatically when a customer connects their Office 365 Calendar from the Members Portal or the Nexudus app. Once connected, customers can book resources at a location directly from their Office 365 Calendar. Each record stores the Microsoft Graph push-notification subscription details (SubscriptionId, SubscriptionExpireDate) used to keep the calendar in sync. For more information, see the Office 365 Calendar (Customer) help article.

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

Path Parameters

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

Code Examples

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

Response

200

ResourceId
integer
ID of the Nexudus resource (room or desk) used as the Microsoft Graph push-notification watch target for this connection.
CoworkerId
integer
ID of the customer who connected their Office 365 Calendar.
CoworkerFullName
string
Full name of the customer who connected their Office 365 Calendar.
Name
string
Display name of the connected Office 365 Calendar.
SubscriptionId
string
Microsoft Graph push-notification subscription ID used to receive calendar change notifications.
CalendarId
string
Microsoft Graph calendar ID of the customer’s connected Office 365 calendar.
SubscriptionExpireDate
string
Date and time when the Microsoft Graph push-notification subscription expires and must be renewed.
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
{
  "ResourceId": 0,
  "CoworkerId": null,
  "CoworkerFullName": null,
  "Name": "",
  "SubscriptionId": "",
  "CalendarId": "",
  "SubscriptionExpireDate": "2025-01-15T10:30:00Z",
  "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": "CoworkerMsOfficeCalendar Example",
  "LocalizationDetails": null,
  "CustomFields": null
}