Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

runSegmentationQueryBackground


The runSegmentationQueryBackground() method performs the same tasks as the runSegmentationQuery() method,
but does so after detaching and running as a background process. The return value of the runSegmentationQueryBackground()
method is a background task ID that can be used to poll for the task status using getBackgroundTaskStatus(). The final
results of the runSegmentationQueryBackground() method can be retrieved using the fetchRunSegmentationQueryBackgroundResult()
method.

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->runSegmentationQueryBackground({
   session_id => $sid,
   segmentation_query_id => $seg_id,
   notification_email_address = 'your@company.com'
});

PHP

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

Ruby

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