curl --request POST \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"group_label": "<string>",
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"display_name": "<string>",
"included": true,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<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"
payload = {
"group_label": "<string>",
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"display_name": "<string>",
"included": True,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
group_label: '<string>',
agg_deductible: '<string>',
agg_limit: '<string>',
bi_days_deductible: 1073741823,
display_name: '<string>',
included: true,
location_deductible: '<string>',
max_deductible: '<string>',
min_deductible: '<string>',
self_insured_retentions: '<string>',
sublimit: '<string>'
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'group_label' => '<string>',
'agg_deductible' => '<string>',
'agg_limit' => '<string>',
'bi_days_deductible' => 1073741823,
'display_name' => '<string>',
'included' => true,
'location_deductible' => '<string>',
'max_deductible' => '<string>',
'min_deductible' => '<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"
payload := strings.NewReader("{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<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")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019dd58e-eb2a-7958-8070-570003e4ee90",
"section_name": "Earthquake",
"section_uuid": "019dd58e-eb2a-7958-8070-570003e4ee50",
"display_name": "EQ2",
"group_label": "EQ2",
"is_user_created": true,
"included": true,
"bi_days_deductible": null,
"min_deductible": null,
"max_deductible": null,
"sublimit": null,
"self_insured_retentions": null,
"agg_limit": null,
"agg_deductible": null,
"location_deductible_format": null,
"location_deductible_type": null,
"location_deductible": null,
"is_bi_split_allowed": false,
"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": []
}Create Peril Group
Creates a new, user-created peril group on a coverage option. group_label must be a label that at least one subperil on this coverage option allows via allowed_peril_groups, and must not already be in use — see List available group labels. display_name defaults to group_label if omitted, and must also be unique on the coverage option.
curl --request POST \
--url https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"group_label": "<string>",
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"display_name": "<string>",
"included": true,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<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"
payload = {
"group_label": "<string>",
"agg_deductible": "<string>",
"agg_limit": "<string>",
"bi_days_deductible": 1073741823,
"display_name": "<string>",
"included": True,
"location_deductible": "<string>",
"max_deductible": "<string>",
"min_deductible": "<string>",
"self_insured_retentions": "<string>",
"sublimit": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
group_label: '<string>',
agg_deductible: '<string>',
agg_limit: '<string>',
bi_days_deductible: 1073741823,
display_name: '<string>',
included: true,
location_deductible: '<string>',
max_deductible: '<string>',
min_deductible: '<string>',
self_insured_retentions: '<string>',
sublimit: '<string>'
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'group_label' => '<string>',
'agg_deductible' => '<string>',
'agg_limit' => '<string>',
'bi_days_deductible' => 1073741823,
'display_name' => '<string>',
'included' => true,
'location_deductible' => '<string>',
'max_deductible' => '<string>',
'min_deductible' => '<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"
payload := strings.NewReader("{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://vision.pingintel.com/api/v1/submission/{pingid}/cat/coverage-options/{coverage_option_uuid}/peril-groups")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<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")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"group_label\": \"<string>\",\n \"agg_deductible\": \"<string>\",\n \"agg_limit\": \"<string>\",\n \"bi_days_deductible\": 1073741823,\n \"display_name\": \"<string>\",\n \"included\": true,\n \"location_deductible\": \"<string>\",\n \"max_deductible\": \"<string>\",\n \"min_deductible\": \"<string>\",\n \"self_insured_retentions\": \"<string>\",\n \"sublimit\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"uuid": "019dd58e-eb2a-7958-8070-570003e4ee90",
"section_name": "Earthquake",
"section_uuid": "019dd58e-eb2a-7958-8070-570003e4ee50",
"display_name": "EQ2",
"group_label": "EQ2",
"is_user_created": true,
"included": true,
"bi_days_deductible": null,
"min_deductible": null,
"max_deductible": null,
"sublimit": null,
"self_insured_retentions": null,
"agg_limit": null,
"agg_deductible": null,
"location_deductible_format": null,
"location_deductible_type": null,
"location_deductible": null,
"is_bi_split_allowed": false,
"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.
Body
Peril group label, e.g., EQ, EQ2, HU, IF, etc.
20^-?\d{0,18}(?:\.\d{0,2})?$^-?\d{0,18}(?:\.\d{0,2})?$0 <= x <= 2147483647Display 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})?$^-?\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