NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Calendar Event → Insert record

AI-generated

Summary

Inserts a new Calendar Event record in NetSuite via the REST API.

Inputs

  • title — Event title/subject.
  • startDate — Date of the event.
  • startTime — Start time of the event.
  • endTime — End time of the event.
  • allDayEvent — Whether the event lasts all day.
  • timedEvent — Whether the event reserves time on the calendar.
  • location — Location where the event takes place.
  • message — Notes or message for the event.
  • accessLevel — Visibility of the event (PUBLIC, PRIVATE, SHOW AS BUSY).
  • attendee — Attendees with attendance status and identifiers.
  • organizer — Organizer of the event.
  • owner — Owner of the event.
  • resource — Resources associated with the event.
  • reminderMinutes — Reminder timing (0,5,10,15,30 minutes).
  • reminderType — Reminder delivery type (POPUP, EMAIL).
  • status — Event status (TENTATIVE, CONFIRMED, COMPLETE, CANCELLED).
  • customFields — Custom fields defined for CalendarEvent.
  • externalId — External identifier for the event.
  • id — Internal identifier (ignored on insert).
  • debugMode — Include full request and response details in the output.
  • authMethod — Authentication method: OAuth1 or OAuth2.
  • Prefer — Set to 'respond-async' for asynchronous execution.
  • X-NetSuite-Idempotency-Key — Idempotency key for async requests (UUID).
  • X-NetSuite-PropertyNameValidation — Property name validation strictness (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Property value validation strictness (Error, Warning, Ignore).
  • replace — Comma‑delimited sublist names to replace.

Output shape

The created Calendar Event record, echoing the input fields plus the system‑generated internal ID. When debugMode is true, an additional debugInfo object containing the request and raw response is included.

If Prefer: respond-async is used, the operation returns immediately and the server processes the request asynchronously; the idempotency key ensures retry safety.

Examples

Example 1: Create a simple all‑day event.

Set title, startDate, allDayEvent = true, optionally add location and message.

Example 2: Create a timed event with attendees and reminders.

Provide title, startDate, startTime, endTime, add attendee items (with attendance), set reminderMinutes and reminderType, and optionally specify organizer, owner, resources.

Links

Discussion