API Commands
[All Commands]

Command: POLL_Ack



command POLL_Ack

Ack current poll message

Input Parameters ($data):

string ssid Token from Login
int id POLL ID

Output Responses:

string status ok | error

Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/soap/cmd.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$params = array ( 
    
"data" => array (
    
"ssid" => $token,
    
"id" => 3,
    )
);

$response $client->__call("POLL_Ack",$params);

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [id] => 3 ) OUTPUT: [status] => ok

API Manual - version from 2023-05-12 12:15:50