Batch-Job Statusabfrage

Zur Statusabfrage eines Jobs muss man folgende Adresse mit der entsprechenden Request-Id oder dem Batch-Job Namen aufgerufen werden:

action=status 

Bsp.:

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

Optionaler Parameter:

todos=<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  

Projekt Status:

Status der Projekt Aufgaben - geocoding, routing und map creation:

Beispielrückgabe einer Statusabfrage:

<?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>