profilePropertyService

Service to retrieve profile property reporting data.

Example
define([
  "blueconic/api/data/service/reporting/profilePropertyService"
], function(profilePropertyService) {
  // ...
});

Functions

getValues(options, allowEstimate)dojo/Deferred

Returns the values (name and count) for a specific profile property for a segment.

Name Type Description
options Object

Options will be used to filter the results.

allowEstimate boolean

indicating if an estimate of the values is allowed

Name Type Description
property blueconic.api.data.domain.ProfileProperty The property for which the values are retrieved.
segment blueconic.api.data.domain.Segment The segment which should be used as filter.
limit integer Maximum number of values to return.
minimumCount integer Only returns the profile property values which have a count equal or greater than the minimumCount.
Returns:
Type Description
dojo/Deferred deferred containing the result set of type blueconic.api.data.domain.reporting.ProfilePropertyValue.