updateInviteeStatusList
The updateInviteeStatusList operation is used to update one or more NetSuite events. For general details on the updateInviteeStatus operation, see updateInviteeStatus.
Request
The UpdateInviteeStatusListRequest type is used for the request.
Element Name |
XSD Type |
Notes |
---|---|---|
updateInviteeStatusReference[] |
UpdateInviteeStatusReference |
UpdateInviteeStatusReference uniquely identifies the event and the status you want to update the event with. |
The UpdateInviteeStatusReference type includes the following elements:
-
eventId
-
responseCode
Element Name |
XSD Type |
Notes |
---|---|---|
eventId |
RecordRef |
References an existing instance of an Event record. |
responseCode |
CalendarEventAttendeeResponse |
The CalendarEventAttendeeResponse type includes the following enums:
|
Response
The UpdateInviteeStatusListResponse type is used for the response.
Element Name |
XSD Type |
Notes |
---|---|---|
response[] |
WriteResponse |
Contains an array of WriteResponse objects, each of which contains details on the status of that updateInviteeStatusList operation and a reference to each event record. |
Faults
This operation can throw one of the following faults. See SOAP Fault Status Codes for more information on faults.
-
InvalidSessionFault
-
InvalidCredentialsFault
-
ExceededRequestLimitFault
-
ExceededUsageLimitFault
-
ExceededRecordCountFault
-
ExceededRequestSizeFault
-
UnexpectedErrorFault
Sample Code
C#
UpdateInviteeStatusReference [] inviteeStatusRefList = new UpdateInviteeStatusReference[2];
for (int i=0; i<2; i++)
{
RecordRef eventIdRef = new RecordRef();
if (i==0)
eventIdRef.internalId = "100";
else
eventIdRef.internalId = "101";
UpdateInviteeStatusReference statusRef = new UpdateInviteeStatusReference();
statusRef.eventId = eventIdRef;
statusRef.responseCode = CalendarEventAttendeeResponse._accepted;
inviteeStatusRefList[i] = statusRef;
}
nss.updateInviteeStatusList(inviteeStatusRefList);
SOAP Request
<updateInviteeStatusList 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>
<updateInviteeStatusReference>
<eventId internalId="101" xmlns="urn:core_2017_1.platform.webservices.netsuite.com" />
<responseCode xmlns="urn:core_2017_1.platform.webservices.netsuite.com">_accepted
</responseCode>
</updateInviteeStatusReference>
</updateInviteeStatusList>
SOAP Response
<updateInviteeStatusListResponse xmlns="urn:messages_2017_1.platform.webservices.netsuite.com">
<writeResponseList>
<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>
<writeResponse>
<platformCore:status isSuccess="true"
xmlns:platformCore="urn:core_2017_1.platform.webservices.netsuite.com"/>
<baseRef internalId="101" type="calendarEvent" xsi:type="platformCore:RecordRef"
xmlns:platformCore="urn:core_2017_1.platform.webservices.netsuite.com"/>
</writeResponse>
</writeResponseList>
</updateInviteeStatusListResponse>