Skip to content

findEventsForUser ​

Returns Events for a given MI User.

NOTE: possible eAttendeeAttendingStatus values are: U=Not Specified, Y=Yes, N=No, M=Maybe NOTE: possible eAttendeeInviteStatus values are: N=Not Yet Invited, P=Pending, A=Accepted, R=Rejected

Request ​

http
GET /rest/user/mi/events

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

QUERY PARAMS:

ParameterTypeRequiredDescription
version-YesCurrently only supports 1.
userUTCDateTimeMillis-YesThe LOCAL time on the device in milliseconds.
userGMTOffsetMins-YesThe GMT offset of the device e.g. GMT+10 = 10h x 60m = 600m

Response ​

200 OK ​

Returns and array of EventJSON objects as per below example OR empty array if no data found e.g. []

json
[
  {
    "eventInviteUUID": "ece42191-52b5-4b26-9d40-2405b3811c55",
    "eId": 17,
    "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": "9ac3a1b8-2471-4d75-b284-faa35db0a5bc",
    "eHasEnded": "Y",
    "eAttendeeId": 29,
    "eAttendeeInviteStatus": "P",
    "eAttendeeAttendingStatus": "U",
    "eAttendeeInvitesSent": 0,
    "eAttendeeRemindersSent": 0,
   "useExternalEventProvider": "N",
   "version": 2
  },
  {
    "eventInviteUUID": "d2483b89-94e2-4e8b-bcdb-cc0de5027c34",
    "eId": 15,
    "cId": 3,
    "cName": "My Interact Finance",
    "eStatus": "A",
    "eName": "Test Event1",
    "eDescription": "Event1Test 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": 600,
    "eUTCStartDateTime": 1463353200000,
    "eLocalStartDateTime": 1463389200000,
    "eUTCEndDateTime": 1463554800000,
    "eLocalEndDateTime": 1463590800000,
    "eFlyerPdf": "http://dev-sam-images.interact.technology/3/events/pdfs/myeventflyer.pdf",
    "eventUUID": "19218695-5dc6-4fdb-9984-4d58f6854f38",
    "eHasEnded": "Y",
    "eAttendeeId": 27,
    "eAttendeeInviteStatus": "P",
    "eAttendeeAttendingStatus": "M",
    "eAttendeeInvitesSent": 0,
    "eAttendeeRemindersSent": 0,
     "useExternalEventProvider": "N",
     "version": 2
  },
  {
    "eventInviteUUID": "49fbe294-a533-491f-ad70-77c3d701e168",
    "eId": 20,
    "cId": 3,
    "cName": "My Interact Finance",
    "eStatus": "C",
    "eName": "Test Event6-Cancelled",
    "eDescription": "Event6-CancelledTest 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": 600,
    "eUTCStartDateTime": 1463353200000,
    "eLocalStartDateTime": 1463389200000,
    "eUTCEndDateTime": 1463554800000,
    "eLocalEndDateTime": 1463590800000,
    "eFlyerPdf": "http://dev-sam-images.interact.technology/3/events/pdfs/myeventflyer.pdf",
    "eventUUID": "b19106e4-0830-4ad4-a089-d053be1398bf",
    "eHasEnded": "N",
    "eAttendeeId": 32,
    "eAttendeeInviteStatus": "P",
    "eAttendeeAttendingStatus": "U",
    "eAttendeeInvitesSent": 0,
    "eAttendeeRemindersSent": 0,
    "useExternalEventProvider": "N",
    "version": 2
  },
  {
    "eventInviteUUID": "c7038c4b-ef84-4cc1-8cd3-ad37704a68cc",
    "eId": 16,
    "cId": 3,
    "cName": "My Interact Finance",
    "eStatus": "A",
    "eName": "Test Event2",
    "eDescription": "Event2Test 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": 720,
    "eUTCStartDateTime": 1463346000000,
    "eLocalStartDateTime": 1463389200000,
    "eUTCEndDateTime": 1463374800000,
    "eLocalEndDateTime": 1463418000000,
    "eFlyerPdf": "http://dev-sam-images.interact.technology/3/events/pdfs/myeventflyer.pdf",
    "eventUUID": "2134bc64-480e-4ad4-80f0-6acf74438d87",
    "eHasEnded": "Y",
    "eAttendeeId": 28,
    "eAttendeeInviteStatus": "P",
    "eAttendeeAttendingStatus": "U",
    "eAttendeeInvitesSent": 0,
    "eAttendeeRemindersSent": 0,
    "useExternalEventProvider": "N",
    "version": 2
  }
]

Errors ​

ExceptionDescription
WSEventServiceUnavailableExceptionSee Error Definitions
WSEventServiceUnavailableExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSEventServiceExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInternalExceptionSee Error Definitions