Predictive Outbound - extension sign out

Interface Description 
 Check extension into task group。 
 request parameters 
 
 
 
 parameter name 
 type 
 Is it necessary 
 illustrate 
 
 
 
 
 service 
 string 
 yes 
 App.Sip_Queue.SipSignOut 
 
 
 token 
 string 
 yes 
 The token obtained through the authorization interface 
 
 
 queuename 
 string 
 yes 
 task group name 
 
 
 extnumber 
 string 
 yes 
 Ext 
 
 
 crmid 
 int 
 yes 
 Employee seat number 
 
 
 
 Interface request example（PHP） 
 <?php
 $apiUrl = 'http://127.0.0.1:8080';
 $postFields = [
 'service' => 'App.Sip_Queue.SipSignOut',
 'token' => 'ABCDEFG',
 'queuename' => 'queue-1',
 'extnumber' => '100001',
 'crmid' => 10,
 ];
 $curl = curl_init();
 curl_setopt($curl, CURLOPT_URL, $apiUrl);
 curl_setopt($curl, CURLOPT_POST, 1);
 curl_setopt($curl, CURLOPT_POSTFIELDS, $postFields);
 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
 $response = curl_exec($curl);
 $curlError = curl_error($curl);
 curl_close($curl);
 var_dump($response);
?>
 
 return data structure example 
 {
 "ret": 200,
 "data": {
 "status": 0,
 "desc": "checkout successful",
 "reqtime": 1581492868,
 "rsptime": 1581492869
 },
 "msg": ""
}
 
 Return parameter description 
 
 
 
 parameter name 
 type 
 illustrate 
 
 
 
 
 desc 
 string 
 return description