curl --request GET \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid} \
--header 'Authorization: <api-key>'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"uuid": "a1b2c3d4-0000-0000-0000-000000000001",
"status": "I",
"processing_pct_complete": 50,
"modeling_sets": [
{
"status": "I",
"acc_file_url": null,
"loc_file_url": null,
"cat_model_type": "AIR",
"use_secondary_modifiers": true,
"use_ping_geocoding": false,
"modeling_option_uuid": "a1b2c3d4-0000-0000-0000-000000000001",
"coverate_option_uuid": "a1b2c3d4-0000-0000-0000-000000000010",
"layer_structure_uuid": "a1b2c3d4-0000-0000-0000-000000009999",
"layer_uuids": [
"a1b2c3d4-0000-0000-0000-000000000101",
"a1b2c3d4-0000-0000-0000-000000000102"
],
"layer_output": "C",
"documents": []
},
{
"status": "F",
"acc_file_url": null,
"loc_file_url": null,
"cat_model_type": "AIR",
"use_secondary_modifiers": true,
"use_ping_geocoding": false,
"modeling_option_uuid": "a1b2c3d4-0000-0000-0000-000000000002",
"coverate_option_uuid": "a1b2c3d4-0000-0000-0000-000000000011",
"layer_structure_uuid": "a1b2c3d4-0000-0000-0000-000000009999",
"layer_uuids": [
"a1b2c3d4-0000-0000-0000-000000000101",
"a1b2c3d4-0000-0000-0000-000000000102"
],
"layer_output": "C",
"documents": []
}
]
}Acc/Loc File Status
Returns the current status of an acc/loc file generation job and download URLs for completed files.
curl --request GET \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid} \
--header 'Authorization: <api-key>'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/acc-loc-files/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"uuid": "a1b2c3d4-0000-0000-0000-000000000001",
"status": "I",
"processing_pct_complete": 50,
"modeling_sets": [
{
"status": "I",
"acc_file_url": null,
"loc_file_url": null,
"cat_model_type": "AIR",
"use_secondary_modifiers": true,
"use_ping_geocoding": false,
"modeling_option_uuid": "a1b2c3d4-0000-0000-0000-000000000001",
"coverate_option_uuid": "a1b2c3d4-0000-0000-0000-000000000010",
"layer_structure_uuid": "a1b2c3d4-0000-0000-0000-000000009999",
"layer_uuids": [
"a1b2c3d4-0000-0000-0000-000000000101",
"a1b2c3d4-0000-0000-0000-000000000102"
],
"layer_output": "C",
"documents": []
},
{
"status": "F",
"acc_file_url": null,
"loc_file_url": null,
"cat_model_type": "AIR",
"use_secondary_modifiers": true,
"use_ping_geocoding": false,
"modeling_option_uuid": "a1b2c3d4-0000-0000-0000-000000000002",
"coverate_option_uuid": "a1b2c3d4-0000-0000-0000-000000000011",
"layer_structure_uuid": "a1b2c3d4-0000-0000-0000-000000009999",
"layer_uuids": [
"a1b2c3d4-0000-0000-0000-000000000101",
"a1b2c3d4-0000-0000-0000-000000000102"
],
"layer_output": "C",
"documents": []
}
]
}Authorizations
Supports Token-prefixed API keys and Bearer-prefixed JWT-based authentication.
Path Parameters
Ping ID of the submission.
UUID of the acc/loc file generation job.
Response
Acc/Loc file pairs being generated. Each entry has its own status and may complete independently before the overall job is finished.
Show child attributes
Show child attributes
An integer from 0 to 100 indicating the percentage of the job that is complete. When status is C, this will be 100; when status is I, this may be 0 or some intermediate value; when status is F, this may be 0, 100, or some intermediate value depending on when the failure occurred.
N: job is not processed. I: job is in progress. C: files are ready. F: generation encountered an error.
N- Not ProcessedI- In ProgressC- CompletedF- Failed
N, I, C, F Unique identifier for this generation job.