Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

GET /config/event_sources/custom_properties/ calculated_properties

Retrieves a list of calculated event properties.

Retrieves a list of calculated event properties.

Table 1: GET /config/event_sources/custom_properties/calculated_properties Resource Details

MIME Type

application/json

Table 2: GET /config/event_sources/custom_properties/calculated_properties Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

Range

header

Optional

String

text/plain

Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

filter

query

Optional

String

text/plain

Optional - This parameter is used to restrict the elements in a list base on the contents of various fields.

Table 3: GET /config/event_sources/custom_properties/calculated_properties Response Codes

HTTP Response Code

Unique Code

Description

200

 

The requested list of calculated event properties was retrieved.

500

1020

An error occurred during the attempt to retrieve the list of calculated event properties.

Response Description

A list of calculated event properties. Each calculated event property contains the following fields:

  • id - Number - A sequence id for the calculated event property.

  • identifier - String - A string that uniquely identifies the calculated event property.

  • name - String - The name of the calculated event property.

  • description - String - The description of the calculated event property.

  • enabled - Boolean - Whether the calculated event property is enabled.

  • first_operand - String - An operand object describing the first operand in the expression.

  • second_operand - String - An operand object describing the second operand in the expression.

  • operator - String - A string that represents one of the basic arithmetic operations in the expression.

  • username - String - The username of the creator of the calculated event property.

  • creation_date - Number - The time stamp for when the calculated event property is created in milliseconds since epoch.

  • modification_date - Number - The time stamp for when the calculated event property is last modified in milliseconds since epoch.

An operand object contains the following fields:

  • type - String - can be "STATIC" (for numeric operand) or "PROPERTY" (for operand that is a property).

  • numeric_value - Number - when property_type is "STATIC", this is the value of the operand; otherwise, it is suppressed.

  • property_name - String - when property_type is "PROPERTY", this is the name of the property that is being used as the operand; otherwise, it is suppressed.

Response Sample