POST api/v1/BeaconInteraction?code={code}&appUserID={appUserID}&notificationUserID={notificationUserID}&eventTypeID={eventTypeID}&lat={lat}&lon={lon}&timeStamp={timeStamp}

Handle Beacon Interaction when User comes into range of a beacon

Complete URL https://api.thyngs.net/api/v1/BeaconInteraction?code={code}&appUserID={appUserID}&notificationUserID={notificationUserID}&eventTypeID={eventTypeID}&lat={lat}&lon={lon}&timeStamp={timeStamp}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

The Thyng Code to return i.e ANA00014. For iBeacon requests use comma separted values (CSV) for UUID, Major, Minor e.g "UUID 5DA978B9-7BED-4274-8631-5869EE593183,1,1"

string

None.

appUserID

ID of User from the App. Must be set to a valid user to receive beacon notifications

string

None.

notificationUserID

ID value of User for One Signal. Must be set to a valid user to recieve beacon notifications

string

None.

eventTypeID

Defines the event that caused an interaction between user and beacon, this defines which message appears and when. 0 - Entry, 1 - Exit, 2 - Dwell, 3 - Silent.

NotificationEventType

Default value is Silent

lat

Latitude value of user when interaction with beacon occurred

string

None.

lon

Longitude value of user when interaction with beacon occurred

string

None.

timeStamp

Current time in string format, used in partnership with another call to determine user behavior with beacon

date

None.

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.