POST RestApi/personal/statistics/events/v1
Endpoint for posting user events.
Request Information
URI Parameters
None.
Body Parameters
A collection that represents a batch of events to be processed.
Collection of Itsolutions.Itslearning.Web.RestApi.ServiceLogic.Statistics.Events.UserEventDtoName | Description | Type | Additional information |
---|---|---|---|
Type |
Type of an event represented by this object |
Itsolutions.Itslearning.Web.RestApi.ServiceLogic.Statistics.Events.UserEventType |
None. |
DateTime |
Date and time when event has occurred |
date |
None. |
Payload |
Additional event data, specific for of this event |
Object |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Type": 0, "DateTime": "2025-06-19T06:11:54Z", "Payload": {} }, { "Type": 0, "DateTime": "2025-06-19T06:11:54Z", "Payload": {} } ]
application/xml, text/xml
Sample:
<ArrayOfUserEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itsolutions.Itslearning.Web.RestApi.ServiceLogic.Statistics.Events"> <UserEventDto> <DateTime>2025-06-19T06:11:54Z</DateTime> <Payload /> <Type>CourseVisit</Type> </UserEventDto> <UserEventDto> <DateTime>2025-06-19T06:11:54Z</DateTime> <Payload /> <Type>CourseVisit</Type> </UserEventDto> </ArrayOfUserEventDto>
application/x-www-form-urlencoded
Sample:
No sample available
Response Information
Resource Description
204 (No Content) if all of the events have been successfully processed. 400 (Bad request) if one of the events passed as argument are of not recognized type, or event data is invalid, or the event collection is empty.
None.