Update Peril Group
curl --request PATCH \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sublimit": 1500000
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload = { "sublimit": 1500000 }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({sublimit: 1500000})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_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/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'sublimit' => 1500000
]),
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/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload := strings.NewReader("{\n \"sublimit\": 1500000\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sublimit\": 1500000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sublimit\": 1500000\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019dd58e-eb2a-7958-8070-570003e4ee51",
"section_name": "Earthquake",
"section_uuid": "019dd58e-eb2a-7958-8070-570003e4ee50",
"display_name": "Earthquake",
"group_label": "EQ",
"is_user_created": false,
"included": true,
"bi_days_deductible": 10,
"min_deductible": 10000,
"max_deductible": 20000,
"sublimit": 1500000,
"self_insured_retentions": 100000,
"agg_limit": 500000,
"agg_deductible": 50000,
"location_deductible_format": "C",
"location_deductible_type": "S",
"location_deductible": 25000,
"is_bi_split_allowed": true,
"is_sublimit_combined": true,
"bi_sublimit": null,
"pd_sublimit": null,
"is_deductible_combined": true,
"pd_min_deductible": null,
"pd_max_deductible": null,
"pd_location_deductible_format": null,
"pd_location_deductible": null,
"bi_min_deductible": null,
"bi_max_deductible": null,
"bi_location_deductible_format": null,
"bi_location_deductible": null,
"subperils": []
}CAT Modeling
Update Peril Group
Updates a peril group’s terms. is_deductible_combined and is_sublimit_combined can only be changed when is_bi_split_allowed=true; switching either toggles which deductible/sublimit fields (combined min_deductible/max_deductible/sublimit vs. split pd_*/bi_* variants) are accepted on subsequent updates. display_name must be unique on the coverage option.
PATCH
/
api
/
v1
/
submission
/
{pingid}
/
cat
/
coverage-options
/
{coverage_option_uuid}
/
peril-groups
/
{group_uuid}
Update Peril Group
curl --request PATCH \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sublimit": 1500000
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload = { "sublimit": 1500000 }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({sublimit: 1500000})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_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/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'sublimit' => 1500000
]),
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/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload := strings.NewReader("{\n \"sublimit\": 1500000\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sublimit\": 1500000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sublimit\": 1500000\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019dd58e-eb2a-7958-8070-570003e4ee51",
"section_name": "Earthquake",
"section_uuid": "019dd58e-eb2a-7958-8070-570003e4ee50",
"display_name": "Earthquake",
"group_label": "EQ",
"is_user_created": false,
"included": true,
"bi_days_deductible": 10,
"min_deductible": 10000,
"max_deductible": 20000,
"sublimit": 1500000,
"self_insured_retentions": 100000,
"agg_limit": 500000,
"agg_deductible": 50000,
"location_deductible_format": "C",
"location_deductible_type": "S",
"location_deductible": 25000,
"is_bi_split_allowed": true,
"is_sublimit_combined": true,
"bi_sublimit": null,
"pd_sublimit": null,
"is_deductible_combined": true,
"pd_min_deductible": null,
"pd_max_deductible": null,
"pd_location_deductible_format": null,
"pd_location_deductible": null,
"bi_min_deductible": null,
"bi_max_deductible": null,
"bi_location_deductible_format": null,
"bi_location_deductible": null,
"subperils": []
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Drops the agg limit/deductible fields when settings.ENABLE_AGG_LIMITS_AND_DEDUCTIBLES is off.
Writes are partial, so a body that still sends them leaves the stored values untouched.
Response
200 - application/json
Drops the agg limit/deductible fields when settings.ENABLE_AGG_LIMITS_AND_DEDUCTIBLES is off.
Writes are partial, so a body that still sends them leaves the stored values untouched.
⌘I