Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

fetchRunSegmentationQueryBackgroundResult


The fetchRunSegmentationQueryBackgroundResult() method returns the results of runSegmentationQueryBackground() method call that has since completed. If a fault occurred during the asynchronous execution of the runSegmentationQueryBackground() method, that fault will be returned to the caller of fetchRunSegmentationQueryBackgroundResult(). Otherwise, the return value of this method will be structured the same as the value returned by a successful call to the runSegmentationQuery() method.
If the method has not yet completed, a fault will be thrown. The status of a runSegmentationQueryBackground() call can be checked using the getBackgroundTaskStatus() method.

Input

[vrtypens:fetchBackgroundResultArgs]

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

Output

[xsd:int]

Examples

Perl

$vr->fetchRunSegmentationQueryBackgroundResult({
   session_id => $sid,
   background_task_id => $bg_id
});

PHP

$vr->fetchRunSegmentationQueryBackgroundResult(array(
   'session_id' => $sid,
   'background_task_id' => $bg_id
));

Ruby

vr.fetchRunSegmentationQueryBackgroundResult({
   'session_id' => sid,
   'background_task_id' => bg_id
});