Appearance
findEventByQRCodeUUID ​
Returns an Event given a valid Event QR Code
Request ​
http
GET /rest/user/mi/events/qrcodeHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
QUERY PARAMS:
| Parameter | Type | Required | Description |
|---|---|---|---|
eventUUID | - | No | Event "QR Code" UUID for an Event pulled from Event QR Code image. NOTE: this is badly named and fixed in v2. |
eventQRCodeUUID | - | Yes (if version=2) | Should represent what its name implies. Added 29th Nov 2017 (TP#11490). |
version | - | No | Version for this API. If not passed defaults to legacy version 1. When version=1 then "QR Code UUID" should be used for parameter eventUUID. If version=2 then actual eventQRCodeUUID should be passed for parameter eventQRCodeUUID. |
Response ​
200 OK ​
Returns and a single EventJSON object as per below example:
json
{
"eId": 112,
"cId": 3,
"cName": "My Interact Finance",
"eStatus": "A",
"eName": "Test QR Code",
"eDescription": "cvfvfvxcvcxvcx",
"eAddress": "Aaron's Place",
"eStreet": "167 Market Street",
"eSuburb": "Randwick",
"eCity": "Randwick",
"ePostCode": "2031",
"eCountry": "AUSTRALIA",
"eImage": "http://dev-sam-images.interact.technology/3/images/mercedes.jpg",
"eLatitude": -33.9069644,
"eLongitude": 151.2456537,
"eTimezoneId": "Australia/Sydney",
"eGmtOffsetMinutes": 600,
"eLocalStartDateTime": 1467777300000,
"eLocalEndDateTime": 1467950100000,
"eventUUID": "2b557dff-df52-4526-821b-0e881207ca81",
"eHasEnded": "N",
"eAttendeeId": 16,
"eAttendeeInviteStatus": "P",
"eAttendeeAttendingStatus": "U",
"eAttendeeInvitesSent": 0,
"eAttendeeRemindersSent": 0
"useExternalEventProvider": "N",
"version": 2
}Errors ​
| Exception | Description |
|---|---|
WSEventServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSQRCodeNotFoundException | See Error Definitions |
WSEventCancelledException | See Error Definitions |
WSEventServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |