View.AddCounts

Prev Next

Description

Store the counts of the items to a view.

URL parameters

URL parameter ordering

The URL parameters below are listed in the order they should be entered in the API URL.

Name Required Type Description
ViewID True numeric Unique identifier of the view.
ChangeThresholdAbove False numeric Increase percentage max.
ChangeThresholdBelow False numeric Decrease percentage max.
ChangeThresholdFailJob False string Stop job when counts are out of the specified range. Default value is false.

Responses

Name Type Description
Result string Success if the operation was successful.

Sample request

curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=View.AddCounts&ViewID=1003&ChangeThresholdAbove=50&ChangeThresholdBelow=20&ChangeThresholdFailJob=False&ResponseFormat=XML'

Sample responses

XML

<?xml version="1.0" encoding="utf-8"?>
<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Result>Success</Result>
</ApiResponse>