Batch job‎ > ‎

Batch job reset

To restart a batch process from different steps use the action reset with the request-Id or the batch-job-name:

action=reset 

Example:
https://maps1.locr.com/batch-processing/job.php?action=reset&name=<jobname>

Additional parameter to reset only the last step:

todos=<parameter> 
  •     geocoding - Set the batch-job to the beginning level.
  •     routing - Delete all routings and the generated maps
  •     map_creation  - Delete the generate maps
Example:
https://maps1.locr.com/batch-processing/job_v2.php?action=reset&name=<jobname>&to_dos=geocoding
https://maps1.locr.com/batch-processing/job_v2.php?action=reset&name=<jobname>&to_dos=routing
https://maps1.locr.com/batch-processing/job_v2.php?action=reset&name=<jobname>&to_dos=map_creation 


Sample return after resetting 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>resetted</Status>
        <Geocoding>
            <Customers>
                <TotalCount>1</TotalCount>
                <ProcessedCount>0</ProcessedCount>
                <ValidCount>0</ValidCount>
                <InvalidCount>0</InvalidCount>
            </Customers>
            <Shops>
                <TotalCount>1</TotalCount>
                <ProcessedCount>0</ProcessedCount>
                <ValidCount>0</ValidCount>
                <InvalidCount>0</InvalidCount>
            </Shops>
        </Geocoding>
        <Routing>
            <TotalCount>0</TotalCount>
            <ProcessedCount>0</ProcessedCount>
            <ValidCount>0</ValidCount>
            <InvalidCount>0</InvalidCount>
        </Routing>
        <Maps>
            <TotalCount>1</TotalCount>
            <ProcessedCount>0</ProcessedCount>
            <ValidCount>0</ValidCount>
            <Invalid>0</Invalid>
        </Maps>
    </Response>
</BatchProcessing>
Comments