updateInviteeStatus
In SOAP web services, 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 no response.
SOAP Request
The following example shows the usage of the updateInviteeStatus operation.
<updateInviteeStatus xmlns="urn:messages_2025_1.platform.webservices.netsuite.com">
<updateInviteeStatusReference>
<eventId internalId="100" xmlns="urn:core_2025_1.platform.webservices.netsuite.com" />
<responseCode xmlns="urn:core_2025_1.platform.webservices.netsuite.com">_accepted
</responseCode>
</updateInviteeStatusReference>
</updateInviteeStatus>
SOAP Response
The following example shows that the previous request was completed successfully.
<updateInviteeStatusResponse xmlns="urn:messages_2025_1.platform.webservices.netsuite.com">
<writeResponse>
<platformCore:status isSuccess="true"
xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com"/>
<baseRef internalId="100" type="calendarEvent" xsi:type="platformCore:RecordRef"
xmlns:platformCore="urn:core_2025_1.platform.webservices.netsuite.com"/>
</writeResponse>
</updateInviteeStatusResponse>
REST Request
In REST web services, you can update the invitee status of events by sending a PATCH request to the specific calendar event record. The request body should contain the updated status.
PATCH https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/calendarEvent/1857
Request body:
{
"id": "ACCEPTED",
"refName": "Accepted"
}
If the request is successful, an HTTP 204 No Content response is returned.