configuration.import.unregister
configuration.import.unregister( processId )
Cancelling registered import.
Parameters
Parameter | Description | Available from version |
---|---|---|
processId | Process ID. |
Example
You can cancel import by just interrupting it by current step:
$rest = CRest::call( 'configuration.import.unregister', [ 'processId' => 42, ] );
Returns:
- either successful query result:
Array ( [result] => Array ( [success] => Y ) [time] => Array ( [start] => 1629302449.9443 [finish] => 1629302450.0617 [duration] => 0.11744093894958 [processing] => 0.035245895385742 [date_start] => 2021-08-18T18:00:49+02:00 [date_finish] => 2021-08-18T18:00:50+02:00 ) )
- or an error:
Array ( [error] => PROCESS_NOT_FOUND [error_description] => Process doesn't found. )
© «Bitrix24», 2001-2024