The editSegmentationQuery() method edits an existing database segmentation query.
Input
[vrtypens:editSegmentationQueryArgs]
session_id [xsd:string] (required)
Your API session id.
segmentation_query [vrtypens:SegmentationQuery]
Output
[xsd:boolean]
Examples
Perl
$vr->editSegmentationQuery({ session_id => $sid. segmentation_query => { name => 'All VR addresses', operation_type => 'union', description => 'Get all VR email address for convention', inputs => { input_type => 'list', ids => { 32, 25}, constraints => { constrained_entity => "list_member", constrained_field => "email_address", constraint_operator=> "LIKE", constraint_values => {"verticalresponse.com"}, match_if_field_missing => 0 } } } });
PHP
$vr->editSegmentationQuery(array( 'session_id' => $sid. 'segmentation_query' => array( 'name' => 'All VR addresses', 'operation_type' => 'union', 'description' => 'Get all VR email address for convention', 'inputs' => array( 'input_type' => 'list', 'ids' => array( 32, 25), 'constraints' => array( 'constrained_entity' => "list_member", 'constrained_field' => "email_address", 'constraint_operator'=> "LIKE", 'constraint_values' => array("verticalresponse.com"), 'match_if_field_missing' => 0 ) ) ) ));
Ruby
vr.editSegmentationQuery({ 'session_id' => $sid. 'segmentation_query' => { 'name' => 'All VR addresses', 'operation_type' => 'union', 'description' => 'Get all VR email address for convention', 'inputs' => { 'input_type' => 'list', 'ids' => { 32, 25}, 'constraints' => { 'constrained_entity' => "list_member", 'constrained_field' => "email_address", 'constraint_operator'=> "LIKE", 'constraint_values' => {"verticalresponse.com"}, 'match_if_field_missing' => 0 } } } });