Skip to content

acceptRejectEventInvite ​

Updates the top-level Event Invite Status for a given Event Invite (Attendee)

Request ​

http
POST /rest/user/mi/events/acceptReject

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

A JSON request in format below:

json
{
  "version": 1,
  "eventInviteUUID": "6e11664e-a2bf-44dc-b8db-9d6612fbde90",
  "attendingStatus": "Yes"
}

All fields mandatory.

ParameterTypeRequiredDescription
version-YesCurrently 1.
eventInviteUUID-YesCan be found in the responses from the findEventsXXX web services
attendingStatus-YesCase insensitive but expects Yes, Maybe, No

Response ​

200 OK ​

JSON response on success or null if no data present:

json
{
  "eventInviteUUID": "6e11664e-a2bf-44dc-b8db-9d6612fbde90",
  "eId": 10,
  "cId": 3,
  "cName": "My Interact Finance",
  "eStatus": "A",
  "eName": "Test Event3",
  "eDescription": "Event3Test Description",
  "eAddress": "ABC Address",
  "eStreet": "Event Street",
  "eSuburb": "Suburbia",
  "eCity": "Sydney",
  "ePostCode": "2031",
  "eCountry": "AUSTRALIA",
  "eImage": "http://dev-sam-images.interact.technology/3/events/images/image1.jpg",
  "eLatitude": -33.861548,
  "eLongitude": 151.20863,
  "eTimezoneId": "Sydney/Australia",
  "eGmtOffsetMinutes": 480,
  "eUTCStartDateTime": 1463360400000,
  "eLocalStartDateTime": 1463389200000,
  "eUTCEndDateTime": 1463475600000,
  "eLocalEndDateTime": 1463504400000,
  "eFlyerPdf": "http://dev-sam-images.interact.technology/3/events/pdfs/myeventflyer.pdf",
  "eventUUID": "0fb5a23b-1063-46c0-9a88-41409ee8b49b",
  "eHasEnded": "Y",
  "eAttendeeId": 16,
  "eAttendeeInviteStatus": "A",
  "eAttendeeAttendingStatus": "N",
  "eAttendeeInvitesSent": 0,
  "eAttendeeRemindersSent": 0
}

Errors ​

ExceptionDescription
WSCacheServiceUnavailableExceptionSee Error Definitions
WSEventServiceUnavailableExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSEventAttendeeNotFoundExceptionSee Error Definitions
WSUserNotFoundExceptionSee Error Definitions
WSPasswordServiceExceptionSee Error Definitions
WSEventCancelledExceptionSee Error Definitions
WSEventServiceExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSCompanyNotActiveExceptionSee Error Definitions