Appearance
acceptRejectEventInvite ​
Updates the top-level Event Invite Status for a given Event Invite (Attendee)
Request ​
http
POST /rest/user/mi/events/acceptRejectHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
version | - | Yes | Currently 1. |
eventInviteUUID | - | Yes | Can be found in the responses from the findEventsXXX web services |
attendingStatus | - | Yes | Case 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 ​
| Exception | Description |
|---|---|
WSCacheServiceUnavailableException | See Error Definitions |
WSEventServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSEventAttendeeNotFoundException | See Error Definitions |
WSUserNotFoundException | See Error Definitions |
WSPasswordServiceException | See Error Definitions |
WSEventCancelledException | See Error Definitions |
WSEventServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSCompanyNotActiveException | See Error Definitions |