Disable Auto-Close enableAutoClose

We are still updating this page

Some data may be missing here — we will complete it shortly.

Scope: telephony

Who can execute the method: any user

This method includes automatic closure of the card upon call completion. If the call has already ended, the call card will be closed.

No parameters.

Code Examples

How to Use Examples in Documentation

Calling the placement method. The result is returned in the callback.

curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"enableAutoClose","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/placement.call"
        
curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"enableAutoClose","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/placement.call?auth=**put_access_token_here**"
        
BX24.placement.call('enableAutoClose', {}, function (result) {
            console.log(result);
        });
        
require_once('crest.php');
        
        $result = CRest::call(
            'placement.call',
            [
                'PLACEMENT' => 'enableAutoClose',
                'PARAMS' => (object)[]
            ]
        );
        
        echo '<PRE>';
        print_r($result);
        echo '</PRE>';
        

Continue Learning