Batch job‎ > ‎

Batch job cancel

For canceling a batch-job use the action cancel with the request-Id or the batch-job-name.

action=cancel 

With this action the actual batch-job process will be interrupted. If no batch-job process is running, an error message will be displayed.

Example:
https://maps1.locr.com/batch-processing/job_v2.php?action=cancel&name=<jobname>
https://maps1.locr.com/batch-processing/job_v2.php?action=cancel&requestid=< RequestId > 


Sample return by canceling a batch-job:
<?xml version="1.0" encoding="utf-8"?>
<BatchProcessing>
    <Response>
        <MetaInfo>
            <RequestId>4fec2eb23a16880b77000000</RequestId>
            <Name>jobname</Name>
            <Created>2012-06-01 12:00:00</Created>
        </MetaInfo>
        <Status>cancelled</Status>
        <Statuses>
            <Geocoding>
                <Customers>completed</Customers>
                <Shops>completed</Shops>
            </Geocoding>
            <Routing>cancelled</Routing>
        </Statuses>
    </Response>
</BatchProcessing>
Comments