updateInviteeStatus

The updateInviteeStatus operation lets users respond to NetSuite events that have been sent to them. This operation takes both the internal ID of the event as well as a calendar event status as arguments.

After invitees have responded to the event invitation, the Event record is updated with their response. Possible responses include accepted, declined, tentative, and noResponse.

Note the following:

Note the following when using this operation:

Request

The UpdateInviteeStatusRequest type is used for the request.

Element Name

XSD Type

Notes

eventId

RecordRef

References an existing instance of an Event record.

responseCode

CalendarEventAttendeeResponse

The CalendarEventAttendeeResponse type includes the following enums:

_accepted
_declined
_tentative
_noResponse

Response

The UpdateInviteeStatusResponse type is used for the response.

Element Name

XSD Type

Notes

response

WriteResponse

Contains details on the status of the operation and a reference to the updated record.

Faults

This operation can throw one of the following faults. See SOAP Fault Status Codes for more information on faults.

Sample Code

C#

          NetSuiteService nss = new NetSuiteService();
// login details omitted

UpdateInviteeStatusReference inviteeStatusRef = new UpdateInviteeStatusReference();

// Set the event id for the status update
RecordRef eventIdRef  = new RecordRef();
eventIdRef.internalId = "100";   // Substitute this with your own event id
inviteeStatusRef.eventId = eventIdRef;

// Set the event status
inviteeStatusRef.responseCode = CalendarEventAttendeeResponse._accepted;

// Update invitee event status
WriteResponse resp = nss.updateInviteeStatus(inviteeStatusRef); 

        

SOAP Request

          <updateInviteeStatus xmlns="urn:messages_2017_1.platform.webservices.netsuite.com">
            <updateInviteeStatusReference>
               <eventId internalId="100" xmlns="urn:core_2017_1.platform.webservices.netsuite.com" />
               <responseCode xmlns="urn:core_2017_1.platform.webservices.netsuite.com">_accepted
      </responseCode>
            </updateInviteeStatusReference>
         </updateInviteeStatus> 

        

SOAP Response

            <updateInviteeStatusResponse xmlns="urn:messages_2017_1.platform.webservices.netsuite.com">
            <writeResponse>
               <platformCore:status isSuccess="true"
                  xmlns:platformCore="urn:core_2017_1.platform.webservices.netsuite.com"/>
               <baseRef internalId="100" type="calendarEvent" xsi:type="platformCore:RecordRef"
      xmlns:platformCore="urn:core_2017_1.platform.webservices.netsuite.com"/>
            </writeResponse>
         </updateInviteeStatusResponse> 

        

Related Topics

SuiteTalk SOAP Web Services Platform Overview
SOAP Web Services Development Considerations
SOAP Web Services Processing
SOAP Web Services Operations
SOAP Web Services Standard Operations
SOAP Web Services List Operations
SOAP Web Services Asynchronous Operations

General Notices