Request
GET https://api.aptania.com/services/logEvent
Log an event record
Query parameters
Parameter name | Value | Description | Additional |
---|---|---|---|
tokenUUID | String | Unique api token used for each request. | Required |
eventID | Number | Unique identifier for the event to log. | Required |
userUUID | String | Identified user value. Obtain through cookies placed on the users device. | Required if contactUUID not populated |
contactUUID | String | Identified user value. | Required if userUUID not populated |
eventAttrArray | JSON Array | Array containing the attributes to create. | Optional |
Example Request
{ "tokenUUID": "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx", "userUUID": "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx", "contactUUID": "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx", "eventID": xx, "eventAttrArray": [{ "attrID": "xxx", "attrValue": "Coffee Beans Europe Store" }, { "attrID": "xxx", "attrValue": "BEAN1234" }, { "attrID": "xxx", "attrValue": "£4.99" }] }
Response body
Parameter name | Value | Description |
---|---|---|
status | String | The http status code for the response. |
Example Response
{ "status": "200" }
To use this api you must have an account together with an api key. Please contact us for further information.