Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

runSegmentationQuery


The runSegmentationQuery() method compiles the results associated with each input for a given segmentation query, and then finally for the segmentation query itself. This method can be called by itself, or will be implicitly called by compileSegmentationQuery() on an as-needed basis. The output of the method will be the total number of email addresses found that matched the query.

Input

[vrtypens:runSegmentationQueryArgs]

session_id [xsd:string] (required)
Your API session id.
segmentation_query_id [xsd:int]
notification_email_address [xsd:string]

Output

[xsd:int]

Examples

Perl

$vr->runSegmentationQuery({
   session_id => $sid,
   segmentation_query_id => $seg_id,
   notification_email_address = 'your@company.com'
});

PHP

$vr->runSegmentationQuery(array(
   'session_id' => $sid,
   'segmentation_query_id' => $seg_id,
   'notification_email_address' = 'your@company.com'
));

Ruby

vr.runSegmentationQuery({
   'session_id' => sid,
   'segmentation_query_id' => seg_id,
   'notification_email_address' = 'your@company.com'
})