Use Case for Fetching Details of Events at a Location

To get details of events at a location, send a SuiteQL query with the location. Note that Prefer: transient is a required header parameter.

          {{REST_SERVICES}}/query/v1/suiteql?
{
    "q": "SELECT title, startdate,  FROM calendarevent WHERE location = 'Caffe West'"
} 

        

The following is an example of the response:

          {
    "links": [
        {
            "rel": "self",
            "href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql"
        }
    ],
    "count": 4,
    "hasMore": false,
    "items": [
        {
            "links": [],
            "startdate": "11/4/2023",
            "title": "All hands"
        },
        {
            "links": [],
            "startdate": "11/3/2023",
            "title": "Customer Engagement"
        },
        {
            "links": [],
            "startdate": "11/2/2023",
            "title": "Meeting with Tom"
        },
        {
            "links": [],
            "startdate": "11/6/2023",
            "title": "Private Appointment"
        }
    ],
    "offset": 0,
    "totalResults": 4
} 

        

Related Topics

Event Use Cases
Use Case for Creating an Event
Use Case for Adding an Attendee to an Event
Use Case for Getting a List of Events with Confirmed Status and that are Scheduled After a Date
Use Case for Deleting an Event

General Notices