Appearance
eventInviteByQRCode ​
Allows an authenticated NI/MI user to use a QR Code to invite themselves to an Event
Request ​
http
POST /rest/user/mi/events/qrinviteHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
The following type of request should be posted as the body. NOTE: version should be 2 for now.
| Parameter | Type | Required | Description |
|---|---|---|---|
eventUUID | - | Yes | An Event QR Code (based on Event Teams) NOT the internal UUID of the Event as per the original non-Event Teams version. NOTE: previous Events will be migrated so this shouldn't be an issue. |
wantsContentPostEvent | - | No | Used to indicate whether a user who specified 'Maybe' and that may not attend in person still wants the content. |
json
{
"version": 1,
"eventUUID": "2b557dff-df52-4526-821b-0e881207ca81",
"wantsContentPostEvent": false
}json
{
"version": 2,
"eventQRCodeUUID": "0c224fe1-f255-4de1-994a-48066b9b39ab",
"wantsContentPostEvent": true,
"eConsents": [
{
"consentTypeCode": "E",
"consentUUID": "96664b6a-f4f7-4b7e-82aa-f27cab824b24",
"consentBooleanValue": true,
"consentRequired": false
},
{
"consentTypeCode": "E",
"consentUUID": "0cf0d697-e9f9-46bf-acaa-3f1d2dd92c0f",
"consentBooleanValue": false,
"consentRequired": false
}
],
"contactDetails": {
"countryCode": "AU",
"contactProfession": "Doctor",
"contactSpecialty": "Gastroenterology",
"contactCategory": "Whatever",
"primaryMobile": "0405112233",
"contactWorkAddresses": "123 Some Streetnullnull",
"contactOtherWorkAddresses": "nullnullnull",
"externalId": "ABC987-D875356",
"title": "Lord",
"firstname": "Hassam",
"lastname": "Paul",
"mobile": "041234567",
"phone": "0411223344",
"otherPhone": "02 9988776633",
"department": "IT",
"email1": "paul.hassam@yopmail.com",
"company": "INTERACT Technology",
"workAddress1": "123 Some Street",
"city": "Sydney",
"state": "AU-NSW",
"postCode": "2031",
"notes": "A lovely fella",
"facebookId": "FacebookId123",
"dateOfBirth": "31/07/1982",
"faxNumber": "02 12345678",
"condition": 1
},
"otherProfession": "Ventriloquist",
"otherSpecialty": "Cat Herder"
}Response ​
200 OK ​
JSON Reponse:
json
{
"errorCode": 0,
"errorMsg": "Event invite sent."
}Errors ​
| Exception | Description |
|---|---|
WSEventServiceUnavailableException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCompanyServiceException | See Error Definitions |
QRCodeNotFoundException | See Error Definitions |
WSInvitationCancelledOrExpiredException | See Error Definitions |
EventCancelledException | See Error Definitions |
WSEventServiceException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSUnsupportedVersionException | See Error Definitions |