Create new event for visit
Description
This method creates a new event for a given visit resource.
Request
| Method | POST | |||
|---|---|---|---|---|
| URL | /visits/${visitId}/events | |||
| Parameters | ||||
| Name | Value | Mandatory | Description | |
| ${visitId} | string | yes | Visit identifier. | |
| BODY | Event JSON object which MUST contain the pageId field, to ensure that the parent page is defined for this new event. | |||
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 request can return.
| HTTP code | 200 | 
|---|---|
| HTTP Title | OK | 
 This page was last edited on March 10, 2020, at 13:56.
                
                
                
                
                
                
		
		
			Comments or questions about this documentation? Contact us for support! 
		
                
                                
            