curl --request PUT \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Structure 3 (renamed)",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 30",
"limit": 30000000,
"participation_percent": 100
},
{
"name": "10x30",
"attachment": 30000000,
"limit": 10000000,
"participation_percent": 50
}
]
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}"
payload = {
"name": "Structure 3 (renamed)",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 30",
"limit": 30000000,
"participation_percent": 100
},
{
"name": "10x30",
"attachment": 30000000,
"limit": 10000000,
"participation_percent": 50
}
]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Structure 3 (renamed)',
layers: [
{
uuid: '019def23-4b85-7ecb-a65c-98a92cf67f71',
name: 'Primary 30',
limit: 30000000,
participation_percent: 100
},
{
name: '10x30',
attachment: 30000000,
limit: 10000000,
participation_percent: 50
}
]
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{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/layer-structures/bulk/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Structure 3 (renamed)',
'layers' => [
[
'uuid' => '019def23-4b85-7ecb-a65c-98a92cf67f71',
'name' => 'Primary 30',
'limit' => 30000000,
'participation_percent' => 100
],
[
'name' => '10x30',
'attachment' => 30000000,
'limit' => 10000000,
'participation_percent' => 50
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}"
payload := strings.NewReader("{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f66",
"name": "Structure 3",
"modified_time": "2026-04-29T02:12:00.000000Z",
"created_time": "2026-04-29T02:12:00.000000Z",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 25",
"included": true,
"attachment": null,
"limit": 25000000,
"participation_amount": 25000000,
"participation_percent": 100,
"premium": null
},
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f72",
"name": "10x25",
"included": true,
"attachment": 25000000,
"limit": 10000000,
"participation_amount": 5000000,
"participation_percent": 50,
"premium": null
}
]
}Update Layer Structure with Layers
Replaces a layer structure and its layers outright. The body is the structure’s complete state, so name and layers are both required, and every layer entry needs its own name; any term an entry leaves out is reset to its default rather than carried over from the layer’s current values.
layers is the desired list in full: an entry with a uuid replaces that existing layer (keeping its identity and its modeling-option links), an entry without one creates a new layer, and any layer of the structure missing from the list is deleted. Send [] to clear them all. Names are never auto-generated or auto-suffixed here, and no two layers may share one. Layers keep their original relative order; new layers are appended. The whole request is atomic: if any layer is rejected, nothing is changed.
curl --request PUT \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Structure 3 (renamed)",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 30",
"limit": 30000000,
"participation_percent": 100
},
{
"name": "10x30",
"attachment": 30000000,
"limit": 10000000,
"participation_percent": 50
}
]
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}"
payload = {
"name": "Structure 3 (renamed)",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 30",
"limit": 30000000,
"participation_percent": 100
},
{
"name": "10x30",
"attachment": 30000000,
"limit": 10000000,
"participation_percent": 50
}
]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Structure 3 (renamed)',
layers: [
{
uuid: '019def23-4b85-7ecb-a65c-98a92cf67f71',
name: 'Primary 30',
limit: 30000000,
participation_percent: 100
},
{
name: '10x30',
attachment: 30000000,
limit: 10000000,
participation_percent: 50
}
]
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{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/layer-structures/bulk/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Structure 3 (renamed)',
'layers' => [
[
'uuid' => '019def23-4b85-7ecb-a65c-98a92cf67f71',
'name' => 'Primary 30',
'limit' => 30000000,
'participation_percent' => 100
],
[
'name' => '10x30',
'attachment' => 30000000,
'limit' => 10000000,
'participation_percent' => 50
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}"
payload := strings.NewReader("{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/layer-structures/bulk/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Structure 3 (renamed)\",\n \"layers\": [\n {\n \"uuid\": \"019def23-4b85-7ecb-a65c-98a92cf67f71\",\n \"name\": \"Primary 30\",\n \"limit\": 30000000,\n \"participation_percent\": 100\n },\n {\n \"name\": \"10x30\",\n \"attachment\": 30000000,\n \"limit\": 10000000,\n \"participation_percent\": 50\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f66",
"name": "Structure 3",
"modified_time": "2026-04-29T02:12:00.000000Z",
"created_time": "2026-04-29T02:12:00.000000Z",
"layers": [
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f71",
"name": "Primary 25",
"included": true,
"attachment": null,
"limit": 25000000,
"participation_amount": 25000000,
"participation_percent": 100,
"premium": null
},
{
"uuid": "019def23-4b85-7ecb-a65c-98a92cf67f72",
"name": "10x25",
"included": true,
"attachment": 25000000,
"limit": 10000000,
"participation_amount": 5000000,
"participation_percent": 50,
"premium": null
}
]
}Authorizations
Supports Token-prefixed API keys and Bearer-prefixed JWT-based authentication.