---
title: "Api analytics"
canonical: "https://docs.cuesystem.com/space/TAM/839385095/Api%20analytics"
format: markdown
---
> ⚠️ As of version **13.2.0**, this endpoint has been deprecated due to planned modifications to events and resources introduced in this release.
> ⚠️ 
> ⚠️ Please contact technical support via the portal if you wish to continue using this or any other endpoint. We will be happy to help you access the required analytics data.

## Request /analytics/json/3

- **GET URL**: copy url from CUE Admin
- Parameters
  - **token**: Required autorization token from CUE Admin
  - **startDateTime** and **endDateTime**: Required. The response will return events that have a realEnd in the defined time range.
  - **pageSize**: Each request returns a collection of data of one or more events in the response. You can optionally specify this parameter to set the maximum number of events in one page of response.


### Example


```
GET https://apiDomain/analytics/json/3?token=1699ae06-93fa-46dc-a34e-ff86d5f6d938&startDateTime=2023-12-01T00:00:00Z&endDateTime=2023-12-30T00:00:00Z&pageSize=10
```


## Response specification

> ℹ️ **Value from calendar server: **This means that the value is as we get it from the calendar server.
> ℹ️ 
> ℹ️ For Microsoft365 explore their [documentation](https://learn.microsoft.com/en-us/graph/api/calendar-list-events).

- **nextLink**: If this parameter is returned, there are additional pages of data to be retrieved in the session.
- **resourcesEvents**: Each combination of resource and event is one item, one event can be in the array several times times.
  - **iCalUid**: Value iCalUid from Microsoft365
  - **createdDateTime**: Value createdDateTime from Microsoft365
  - **lastModifiedDateTime**: Value lastModifiedDateTime from Microsoft365
  - **subject**: Value subject from Microsoft365
  - **importance**: Value importance from Microsoft365
  - **sensitivity**: Value sensitivity from Microsoft365
  - **isAllDay**: Value isAllDay from Microsoft365
  - **isCancelled**: Value isCancelled from Microsoft365
  - **showAs**: Value showAs from Microsoft365
  - **onlineMeetingProvider**: Value onlineMeetingProvider from Microsoft365
  - **recurrence**: Value recurrence from Microsoft365
  - **realStart**: The real date and time of the event start
  - **realEnd**: The real date and time of the event end
  - **plannedStart**: The planned date and time of the event start
  - **plannedEnd**: The planned date and time of the event end
  - **organizerName**: Value organizer.emailAddress.name from Microsoft365
  - **organizerEmail**: Value organizer.emailAddress.address from Microsoft365
  - **serviceAccountName:**
  - **serviceAccountEmail:**
  - **organizerResponseStatus:**
  - **serviceAccountEventId:**
  - **lastUpdatedFromCalendarServer:**
  - **synchronisedWithCalendarServer**: Information on whether the event synchronized with the calendar server. If this value is false, the synchronization failed.
- **resourceEventActions**
  - **id:**
  - **iCalUid:**
  - **action:**
  - **doneBy:**
  - **created:**
  - **serialNumber:**
  - **magicName:**
  - **firmwareVersion:**
  - **resourceEmail:**
  - **eventUpdatedFromCalendarServer:**
- **resourceEventAttendees**
  - **id:**
  - **iCalUid:**
  - **name:**
  - **email:**
  - **type:**
  - **statusResponse:**
- **resourceEventResources**
  - **id:**
  - **iCalUid:**
  - **name:**
  - **email:**
  - **attendeeStatusResponse:**
  - **resourceStatusResponse:**
- **resourceEventSensorAnalytics**
  - **id:**
  - **iCalUid:**
  - **sensorAnalytics:**
  - **created:**
  - **serialNumber:**
  - **magicName:**
  - **firmwareVersion:**
- **touchoneResources**
  - **guid:**
  - **username:**
  - **displayName:**
  - **email:**
  - **capacity:**
  - **resourceTypeName:**
  - **areaId:**
- **touchoneAreas**
  - **id:**
  - **name:**
  - **parentAreaId:**
- **orders:**
- **orderItem:**
- **services:**
- **serviceTypes:**
- **serviceUnitTypes:**

### Example


```
{
    "nextLink": "",
    "resourceEvents": [
        {
            "iCalUid": "DbUserId { Value = 48ea39fd-fb24-4675-ba8e-e61d4f340f3f }::DbEventId { Value = 32b1d896-6469-4706-97d0-df936d78f25e }",
            "createdDateTime": "2024-01-27T17:56:45.0082296+00:00",
            "lastModifiedDateTime": "2024-01-27T17:56:45.0082296+00:00",
            "subject": "Reservation in Parking 113 - Shopping mall",
            "importance": null,
            "sensitivity": null,
            "isAllDay": false,
            "isCancelled": false,
            "showAs": "",
            "onlineMeetingProvider": null,
            "recurrence": null,
            "responseStatus": "Confirmed",
            "realStart": "2024-01-31T08:00:00+00:00",
            "realEnd": "2024-01-31T08:18:45.738285+00:00",
            "plannedStart": "2024-01-31T08:00:00+00:00",
            "plannedEnd": "2024-01-31T19:30:00+00:00",
            "organizerName": null,
            "organizerEmail": null,
            "organizerResponseStatus": null,
            "serviceAccountName": null,
            "serviceAccountEmail": "",
            "serviceAccountResponseStatus": null,
            "serviceAccountEventId": "215abaaa-cb37-4ecc-8776-9061cef23d8e",
            "seriesMasterId": "",
            "lastUpdatedFromCalendarServer": "2024-01-31T08:28:48.0561881+00:00",
            "synchronisedWithCalendarServer": false
        }
    ],
    "resourceEventActions": [
        {
            "id": "84359278-2830-4f01-9fd0-6d7fe20681a5",
            "iCalUid": "DbUserId { Value = 48ea39fd-fb24-4675-ba8e-e61d4f340f3f }::DbEventId { Value = 32b1d896-6469-4706-97d0-df936d78f25e }",
            "action": "modify",
            "doneBy": "api",
            "created": "2024-01-31T08:23:47.5040546+00:00",
            "serialNumber": null,
            "magicName": null,
            "firmwareVersion": null,
            "resourceEmail": "D_CON_RESOURCE_315@CONTOSO.COM",
            "eventUpdatedFromCalendarServer": false
        }
    ],
    "resourceEventAttendees": [],
    "resourceEventResources": [
        {
            "id": "73a58fcf-aa4b-4c2e-ba36-c5f6c08df732",
            "iCalUid": "DbUserId { Value = 48ea39fd-fb24-4675-ba8e-e61d4f340f3f }::DbEventId { Value = 32b1d896-6469-4706-97d0-df936d78f25e }",
            "name": "Parking 113 - Shopping mall",
            "email": "D_CON_RESOURCE_315@CONTOSO.COM",
            "attendeeStatusResponse": "declined",
            "resourceStatusResponse": "Confirmed"
        }
    ],
    "resourceEventSensorAnalytics": [],
    "touchoneResources": [
        {
            "guid": "1bf6ad52-c382-4f60-ac03-ea0e360f3ab9",
            "username": "d_con_resource_001",
            "displayName": "Týr 1",
            "email": "D_CON_RESOURCE_001@CONTOSO.COM",
            "capacity": 1,
            "resourceTypeName": "Workplace",
            "areaId": 18
        }
    ],
    "touchoneAreas": [
        {
            "id": 2,
            "name": "Cuelandia",
            "parentAreaId": null
        }
    ],
    "orders": null,
    "orderItem": null,
    "services": null,
    "serviceTypes": null,
    "serviceUnitTypes": null
}
```