Create new event for visit
POST /visits/${visitId}/events
|
Description
Creates a new event for a given visit resource.
Operation
Method | POST | |||
---|---|---|---|---|
URL | /visits/${visitId}/events | |||
Name | Value | Mandatory | Description | |
URI Parameters | ||||
${visitId} | string | yes | Visit identifier. | |
BODY | Event JSON object which MUST contains the pageId field, to ensure that the parent page is defined for this new event. |
<references />
Response
The History REST API answers with HTTP codes for every request. The following table shows the correct response for a successful request. See HTTP Response Codes and Errors for further details on the possible codes that this operation can return.
HTTP code | 200 |
---|---|
HTTP Title | OK |
This page was last edited on July 17, 2020, at 16:12.
Comments or questions about this documentation? Contact us for support!