Batch job state

With the action status and the request-Id or batch-job-name it is possible to monitoring the batch-job process:

action=status 

Example:

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

Additional parameter:

to_dos=<parameter>

https://maps1.locr.com/batch-processing/job_v2.php?action=status&name=<jobname>&to_dos=geocoding

https://maps1.locr.com/batch-processing/job_v2.php?action=status&name=<jobname>&to_dos=routing

https://maps1.locr.com/batch-processing/job_v2.php?action=status&name=<jobname>&to_dos=map_creation  

Return states for the project:

Return states for the geocoding, routing and map creation:

Sample return:

<?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>completed</Status>

        <Statuses>

            <Geocoding>

                <Customers>completed</Customers>

                <Shops>completed</Shops>

            </Geocoding>

            <Routing>running</Routing>

        </Statuses>

        <Geocoding>

            <Customers>

                <TotalCount>1</TotalCount>

                <ProcessedCount>1</ProcessedCount>

                <ValidCount>1</ValidCount>

                <InvalidCount>0</InvalidCount>

            </Customers>

            <Shops>

                <TotalCount>1</TotalCount>

                <ProcessedCount>1</ProcessedCount>

                <ValidCount>1</ValidCount>

                <InvalidCount>0</InvalidCount>

            </Shops>

        </Geocoding>

    </Response>

</BatchProcessing>