Jump to: navigation, search

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

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 6 November 2015, at 13:00.