CardioLog SaaS offers an API endpoint to create an event.
In order to create the event, create an HTTP web request as described below:
HTTP request
HTTP
Note: Contact Intlock for the host address.
Request body
In the request body, supply a JSON representation of an event object:
Parameter | Type | Description | Required |
---|---|---|---|
tid | GUID | Your tenant ID. Contact Intlock to get your tenant ID. | Yes |
et | string (max length 50) | Event type (predefined or custom type). See list of predefined event types below. | Yes |
ct | DateTime | Client time | No |
cto | string (max length 6) | The offset from UTC | No |
sid | string (max length 50) | Session id. Used for grouping multiple events | No |
url | string (max length 1000) | The URL of the visited page | No |
un | string (max length 256) | User name. The user principal name for identifying a user | No |
ua | string (max length 1000) | User agent | No |
meta | JSON object (max length 255 for key and value) | Metadata. Key-value string collection, containing metadata. | No |
Event types |
---|
Pageview |
Search |
Search Result Click |
External Click |
Ping |
IpEvent |
Page Request |
Search Result Preview |
Like |
StarRating |
Follow |
Message-interaction |
Message-view |
Message-closed |
Content Created |
Content Edited |
Content Deleted |
Content Liked |
Content Unliked |
User Information |
Comment Posted |
Replied |
Interacted With Element |
Video Play |
Video Pause |
Video Loaded |
Video Failed |
Video Seeked |
Video Fullscreen |
Video Sound |
Duration |
Response
If successful, this endpoint returns a
200 OK
response code.Example
Request
HTTP
Response
HTTP