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 '
{
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"bi_location_deductible": "<string>",
"bi_max_deductible": "<string>",
"bi_min_deductible": "<string>",
"bi_sublimit": "<string>",
"display_name": "<string>",
"included": true,
"is_deductible_combined": true,
"is_sublimit_combined": true,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"pd_building_location_deductible": "<string>",
"pd_contents_location_deductible": "<string>",
"pd_max_deductible": "<string>",
"pd_min_deductible": "<string>",
"pd_sublimit": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload = {
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"bi_location_deductible": "<string>",
"bi_max_deductible": "<string>",
"bi_min_deductible": "<string>",
"bi_sublimit": "<string>",
"display_name": "<string>",
"included": True,
"is_deductible_combined": True,
"is_sublimit_combined": True,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"pd_building_location_deductible": "<string>",
"pd_contents_location_deductible": "<string>",
"pd_max_deductible": "<string>",
"pd_min_deductible": "<string>",
"pd_sublimit": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
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({
agg_deductible: '<string>',
agg_limit: '<string>',
bi_days_deductible: 1073741823,
bi_location_deductible: '<string>',
bi_max_deductible: '<string>',
bi_min_deductible: '<string>',
bi_sublimit: '<string>',
display_name: '<string>',
included: true,
is_deductible_combined: true,
is_sublimit_combined: true,
location_deductible: '<string>',
max_deductible: '<string>',
min_deductible: '<string>',
pd_building_location_deductible: '<string>',
pd_contents_location_deductible: '<string>',
pd_max_deductible: '<string>',
pd_min_deductible: '<string>',
pd_sublimit: '<string>',
self_insured_retentions: '<string>',
sublimit: '<string>'
})
};
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([
'agg_deductible' => '<string>',
'agg_limit' => '<string>',
'bi_days_deductible' => 1073741823,
'bi_location_deductible' => '<string>',
'bi_max_deductible' => '<string>',
'bi_min_deductible' => '<string>',
'bi_sublimit' => '<string>',
'display_name' => '<string>',
'included' => true,
'is_deductible_combined' => true,
'is_sublimit_combined' => true,
'location_deductible' => '<string>',
'max_deductible' => '<string>',
'min_deductible' => '<string>',
'pd_building_location_deductible' => '<string>',
'pd_contents_location_deductible' => '<string>',
'pd_max_deductible' => '<string>',
'pd_min_deductible' => '<string>',
'pd_sublimit' => '<string>',
'self_insured_retentions' => '<string>',
'sublimit' => '<string>'
]),
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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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": []
}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.
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 '
{
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"bi_location_deductible": "<string>",
"bi_max_deductible": "<string>",
"bi_min_deductible": "<string>",
"bi_sublimit": "<string>",
"display_name": "<string>",
"included": true,
"is_deductible_combined": true,
"is_sublimit_combined": true,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"pd_building_location_deductible": "<string>",
"pd_contents_location_deductible": "<string>",
"pd_max_deductible": "<string>",
"pd_min_deductible": "<string>",
"pd_sublimit": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups/{group_uuid}"
payload = {
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"bi_location_deductible": "<string>",
"bi_max_deductible": "<string>",
"bi_min_deductible": "<string>",
"bi_sublimit": "<string>",
"display_name": "<string>",
"included": True,
"is_deductible_combined": True,
"is_sublimit_combined": True,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"pd_building_location_deductible": "<string>",
"pd_contents_location_deductible": "<string>",
"pd_max_deductible": "<string>",
"pd_min_deductible": "<string>",
"pd_sublimit": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
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({
agg_deductible: '<string>',
agg_limit: '<string>',
bi_days_deductible: 1073741823,
bi_location_deductible: '<string>',
bi_max_deductible: '<string>',
bi_min_deductible: '<string>',
bi_sublimit: '<string>',
display_name: '<string>',
included: true,
is_deductible_combined: true,
is_sublimit_combined: true,
location_deductible: '<string>',
max_deductible: '<string>',
min_deductible: '<string>',
pd_building_location_deductible: '<string>',
pd_contents_location_deductible: '<string>',
pd_max_deductible: '<string>',
pd_min_deductible: '<string>',
pd_sublimit: '<string>',
self_insured_retentions: '<string>',
sublimit: '<string>'
})
};
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([
'agg_deductible' => '<string>',
'agg_limit' => '<string>',
'bi_days_deductible' => 1073741823,
'bi_location_deductible' => '<string>',
'bi_max_deductible' => '<string>',
'bi_min_deductible' => '<string>',
'bi_sublimit' => '<string>',
'display_name' => '<string>',
'included' => true,
'is_deductible_combined' => true,
'is_sublimit_combined' => true,
'location_deductible' => '<string>',
'max_deductible' => '<string>',
'min_deductible' => '<string>',
'pd_building_location_deductible' => '<string>',
'pd_contents_location_deductible' => '<string>',
'pd_max_deductible' => '<string>',
'pd_min_deductible' => '<string>',
'pd_sublimit' => '<string>',
'self_insured_retentions' => '<string>',
'sublimit' => '<string>'
]),
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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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 \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"bi_location_deductible\": \"<string>\",\n \"bi_max_deductible\": \"<string>\",\n \"bi_min_deductible\": \"<string>\",\n \"bi_sublimit\": \"<string>\",\n \"display_name\": \"<string>\",\n \"included\": true,\n \"is_deductible_combined\": true,\n \"is_sublimit_combined\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"pd_building_location_deductible\": \"<string>\",\n \"pd_contents_location_deductible\": \"<string>\",\n \"pd_max_deductible\": \"<string>\",\n \"pd_min_deductible\": \"<string>\",\n \"pd_sublimit\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\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
Supports Token-prefixed API keys and Bearer-prefixed JWT-based authentication.
Path Parameters
Body
^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$0 <= x <= 2147483647^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, , null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Display name for the peril group, e.g., Earthquake, Earthquake 2, Hurricane, etc.
50^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, , null S- SitedeductibleC- PerunitcoverageCT- CombinedwithtimeelementCB- ApplytopropertydamagePL- Percentofloss
S, C, CT, CB, PL, , null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, , null ^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, , null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Response
^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Display name for the peril group, e.g., Earthquake, Earthquake 2, Hurricane, etc.
Peril group label, e.g., EQ, EQ2, HU, IF, etc.
If user created this, set to True.
^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, null S- SitedeductibleC- PerunitcoverageCT- CombinedwithtimeelementCB- ApplytopropertydamagePL- Percentofloss
S, C, CT, CB, PL, null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, null ^-?\d{0,18}(?:\.\d{0,2})?$Percent or dollar?
P- PercentageC- Currency
P, C, null ^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$Show child attributes
Show child attributes
UUID of the peril group