The Commercial Policy Benchmark API will allow users to programmatically query for benchmarking data for a given input peer group. Benchmarking data consists of Zywave’s vast database of existing policy data from our data sharing partners and from our proprietary curated data set which is sourced from various publicly available data sources. A connecting application has to specify a peer group and the API will return various data points that will generate data set that is comparable to the data presented within Benchmark Analysis today.
All calls to the API must be authenticated via single sign-on. After authentication you will receive an access token. You will add the http header ‘Authorization” with value of 'Bearer $ACCESS_TOKEN’ to all your http requests.
Zywave has published authorization_endpoint and token_endpoint at https://auth.zywave.com/.well-known/openid-configuration to allow your application’s users to obtain an access token and utilize the API.
To obtain an access token for your user, your custom application code would have to utilize the correct OpenID Connect library for your application’s technical stack that follows Oauth 2.0 standard.
Zywave have provided examples of making test calls to API that you can use as a reference. You can follow along the examples here https://api.zywave.com/docs/making-api-test-calls
POST https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata
This endpoint will return the Assessment Data which is comprised by:
Without adding either the oldestTrailing or newestTrailing parameters, the default logic will take the past 2 years.
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| naics | Naics Code 2/3 | String | Yes |
| coverageId | Coverage ID | Integer | Yes |
| lineOfBusinessId | Line of Business ID/IDs (separated by comma) | String | Yes (default: "0") |
| exposureType | Exposure Type Description | String | Yes (default: "Revenues") |
| exposureRangeLow | Exposure Range Low Value | Number (decimal) | Yes |
| exposureRangeHigh | Exposure Range High Value | Number (decimal) | Yes |
| organizationType | Type of Organization | String | No (default: "All") |
| premium | Premium Amount | Number (decimal) | No (default: "0") |
| limit | Limit Amount | Number (decimal) | No (default: "0") |
| retention | Retention Amount | Number (decimal) | No (default: "0") |
| oldestTrailing | Programs effective based on months back. Acceptable inputs: 24, 12, 9, 6, 3 | Number (int) | No (default: "0") |
| newestTrailing | Programs effective based on months back. Must be less than OldestTrailing. Acceptable inputs: 12, 9, 6, 3, 0 | Number (int) | No (default: "0") |
curl -d '{
"naics":["55"],
"coverageId":12,
"lineOfBusinessId":[79],
"exposureType":"Revenues",
"exposureRangeLow":1000000,
"exposureRangeHigh":100000000,
"organizationType":["All"],
"premium": 1000000,
"retention": 1000000,
"limit":1000000,
"newestTrailing":12,
"oldestTrailing":24
}' --location --request POST "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata" --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
{
"limitDistribution": {
"chartDescription": "The selected company's limit of $1,000,000.00 puts it in the 0 percentile in relation to its peers.",
"bands": [
{
"bandSeq": 1,
"bandDescription": "0-100K",
"programCount": 0
},
{
"bandSeq": 2,
"bandDescription": "100K-250K",
"programCount": 0
},
{
"bandSeq": 3,
"bandDescription": "250K-500K",
"programCount": 0
},
{
"bandSeq": 4,
"bandDescription": "500K-750K",
"programCount": 0
},
{
"bandSeq": 5,
"bandDescription": "750K-1M",
"programCount": 5
},
{
"bandSeq": 6,
"bandDescription": "1M-2M",
"programCount": 7
},
{
"bandSeq": 7,
"bandDescription": "2M-5M",
"programCount": 9
},
{
"bandSeq": 8,
"bandDescription": "5M-10M",
"programCount": 2
},
{
"bandSeq": 9,
"bandDescription": "10M-20M",
"programCount": 0
},
{
"bandSeq": 10,
"bandDescription": "20M-30M",
"programCount": 0
},
{
"bandSeq": 11,
"bandDescription": "30M-50M",
"programCount": 0
},
{
"bandSeq": 12,
"bandDescription": "50M-75M",
"programCount": 0
},
{
"bandSeq": 13,
"bandDescription": "75M-100M",
"programCount": 0
},
{
"bandSeq": 14,
"bandDescription": "100M-150M",
"programCount": 0
},
{
"bandSeq": 15,
"bandDescription": "150M-250M",
"programCount": 0
},
{
"bandSeq": 16,
"bandDescription": "250M-500M",
"programCount": 0
},
{
"bandSeq": 17,
"bandDescription": "500M-1B",
"programCount": 0
},
{
"bandSeq": 18,
"bandDescription": "> 1B",
"programCount": 0
}
]
},
"premiumDistribution": {
"chartDescription": "The selected company's premium of $1,000,000.00 puts it in the 100th percentile in relation to its peers.",
"bands": [
{
"bandSeq": 1,
"bandDescription": "0-1K",
"programCount": 0
},
{
"bandSeq": 2,
"bandDescription": "1K-2K",
"programCount": 3
},
{
"bandSeq": 3,
"bandDescription": "2K-5K",
"programCount": 6
},
{
"bandSeq": 4,
"bandDescription": "5K-10K",
"programCount": 7
},
{
"bandSeq": 5,
"bandDescription": "10K-25K",
"programCount": 6
},
{
"bandSeq": 6,
"bandDescription": "25K-50K",
"programCount": 6
},
{
"bandSeq": 7,
"bandDescription": "50K-75K",
"programCount": 8
},
{
"bandSeq": 8,
"bandDescription": "75K-100K",
"programCount": 1
},
{
"bandSeq": 9,
"bandDescription": "100K-150K",
"programCount": 1
},
{
"bandSeq": 10,
"bandDescription": "150K-250K",
"programCount": 1
},
{
"bandSeq": 11,
"bandDescription": "250K-500K",
"programCount": 0
},
{
"bandSeq": 12,
"bandDescription": "500K-750K",
"programCount": 1
},
{
"bandSeq": 13,
"bandDescription": "750K-1M",
"programCount": 0
},
{
"bandSeq": 14,
"bandDescription": "1M-2M",
"programCount": 0
},
{
"bandSeq": 15,
"bandDescription": "2M-3M",
"programCount": 0
},
{
"bandSeq": 16,
"bandDescription": "3M-5M",
"programCount": 0
},
{
"bandSeq": 17,
"bandDescription": "5M-10M",
"programCount": 0
},
{
"bandSeq": 18,
"bandDescription": "> 10M",
"programCount": 0
}
]
},
"retentionDistribution": {
"chartDescription": "The selected company's retention of $1,000,000.00 puts it in the 100th percentile in relation to its peers.",
"bands": [
{
"bandSeq": 1,
"bandDescription": "0-1K",
"programCount": 19
},
{
"bandSeq": 2,
"bandDescription": "1K-2K",
"programCount": 0
},
{
"bandSeq": 3,
"bandDescription": "2K-5K",
"programCount": 3
},
{
"bandSeq": 4,
"bandDescription": "5K-10K",
"programCount": 0
},
{
"bandSeq": 5,
"bandDescription": "10K-15K",
"programCount": 0
},
{
"bandSeq": 6,
"bandDescription": "15K-25K",
"programCount": 2
},
{
"bandSeq": 7,
"bandDescription": "25K-50K",
"programCount": 1
},
{
"bandSeq": 8,
"bandDescription": "50K-100K",
"programCount": 1
},
{
"bandSeq": 9,
"bandDescription": "100K-250K",
"programCount": 0
},
{
"bandSeq": 10,
"bandDescription": "250K-500K",
"programCount": 0
},
{
"bandSeq": 11,
"bandDescription": "500K-750K",
"programCount": 0
},
{
"bandSeq": 12,
"bandDescription": "750K-1M",
"programCount": 0
},
{
"bandSeq": 13,
"bandDescription": "1M-2.5M",
"programCount": 0
},
{
"bandSeq": 14,
"bandDescription": "2.5M-5M",
"programCount": 0
},
{
"bandSeq": 15,
"bandDescription": "5M-10M",
"programCount": 0
},
{
"bandSeq": 16,
"bandDescription": "10M-25M",
"programCount": 0
},
{
"bandSeq": 17,
"bandDescription": "> 25M",
"programCount": 0
}
]
}
}
using System.Net.Http;
using System.Net.Http.Headers;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
request.Content = new StringContent("{\n\t\"naics\":[\"55\"],\n\t\"coverageId\":12,\n\t\"lineOfBusinessId\":[79],\n\t\"exposureType\":\"Revenues\",\n\t\"exposureRangeLow\":1000000,\n\t\"exposureRangeHigh\":100000000,\n\t\"organizationType\":[\"All\"],\n\t\"premium\": 1000000,\n\t\"retention\": 1000000,\n\t\"limit\":1000000,\n\t\"newestTrailing\":12,\n\t\"oldestTrailing\":24\n}");
request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpRequest.BodyPublishers;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata"))
.POST(BodyPublishers.ofString("{\n\t\"naics\":[\"55\"],\n\t\"coverageId\":12,\n\t\"lineOfBusinessId\":[79],\n\t\"exposureType\":\"Revenues\",\n\t\"exposureRangeLow\":1000000,\n\t\"exposureRangeHigh\":100000000,\n\t\"organizationType\":[\"All\"],\n\t\"premium\": 1000000,\n\t\"retention\": 1000000,\n\t\"limit\":1000000,\n\t\"newestTrailing\":12,\n\t\"oldestTrailing\":24\n}"))
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: '{\n\t"naics":["55"],\n\t"coverageId":12,\n\t"lineOfBusinessId":[79],\n\t"exposureType":"Revenues",\n\t"exposureRangeLow":1000000,\n\t"exposureRangeHigh":100000000,\n\t"organizationType":["All"],\n\t"premium": 1000000,\n\t"retention": 1000000,\n\t"limit":1000000,\n\t"newestTrailing":12,\n\t"oldestTrailing":24\n}'
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '{\n\t"naics":["55"],\n\t"coverageId":12,\n\t"lineOfBusinessId":[79],\n\t"exposureType":"Revenues",\n\t"exposureRangeLow":1000000,\n\t"exposureRangeHigh":100000000,\n\t"organizationType":["All"],\n\t"premium": 1000000,\n\t"retention": 1000000,\n\t"limit":1000000,\n\t"newestTrailing":12,\n\t"oldestTrailing":24\n}'
response = requests.post(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getassessmentdata',
headers=headers,
data=data,
)
| Response Item | Description | Data Type |
|---|---|---|
| limitDistribution | Contains the limit distribution chart data | Object |
| premiumDistribution | Contains the premium distribution chart data | Object |
| retentionDistribution | Contains the retention distribution chart data | Object |
| chartDescription | Chart Description Text | String |
| bands | Contains an array of objects that contain the actual chart data for plotting | Object |
| bandSeq | Plot point sequence | Integer |
| bandDescription | Range Description | String |
| programCount | Program Count of the current band | Integer |
POST https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata
This endpoint will provide RPM distribution data based on user input/parameters. Without adding either the oldestTrailing or newestTrailing parameters, the default logic will take the past 2 years.
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| naics | NAICs Code 2/3 | String | Yes |
| coverageId | Coverage ID | Integer | Yes |
| lineOfBusinessId | Line of Business ID/IDs (separated by comma) | String | Yes (default: "0") |
| exposure | Exposure Type Description | String | Yes (default: "Revenues") |
| exposureRangeLow | Exposure Range Low Value | Number (decimal) | Yes |
| exposureRangeHigh | Exposure Range High Value | Number (decimal) | Yes |
| organizationType | Type of Organization | String | No (default: "All") |
| premium | Premium amount | Number (decimal) | No (default: "0") |
| limit | Limit Amount | number (decimal) | No (default: "0") |
| oldestTrailing | Programs effective based on months back. Acceptable inputs: 24, 12, 9, 6, 3 | Number (int) | No (default: "0") |
| newestTrailing | Programs effective based on months back. Must be less than OldestTrailing. Acceptable inputs: 12, 9, 6, 3, 0 | Number (int) | No (default: "0") |
curl -d '{
"naics":["55"],
"coverageId":12,
"lineOfBusinessId":[79],
"exposureType":"Revenues",
"exposureRangeLow":10000000,
"exposureRangeHigh":100000000,
"organizationType":["All"],
"premium": 1000000,
"retention": 1000000,
"limit":5000000,
"newestTrailing":12,
"oldestTrailing":24
}' --location --request POST "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata" --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
{
"firstQuartile": 5106.8423,
"median": 9159.073,
"fourthQuartile": 15869.022,
"maxRpm": 44793.88,
"clientBar": 200000,
"nthPercent": 100,
"chartDescription": "The selected company's Rate Per Million(RPM) of $200,000.00 puts it in the 100th percentile in relation to its peers."
}
using System.Net.Http;
using System.Net.Http.Headers;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
request.Content = new StringContent("{\n\"naics\":[\"55\"],\n\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"retention\": 1000000,\n\"limit\":5000000,\n\"newestTrailing\":12,\n\"oldestTrailing\":24\n}");
request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpRequest.BodyPublishers;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata"))
.POST(BodyPublishers.ofString("{\n\"naics\":[\"55\"],\n\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"retention\": 1000000,\n\"limit\":5000000,\n\"newestTrailing\":12,\n\"oldestTrailing\":24\n}"))
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: '{\n"naics":["55"],\n"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"retention": 1000000,\n"limit":5000000,\n"newestTrailing":12,\n"oldestTrailing":24\n}'
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '{\n"naics":["55"],\n"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"retention": 1000000,\n"limit":5000000,\n"newestTrailing":12,\n"oldestTrailing":24\n}'
response = requests.post(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata',
headers=headers,
data=data,
)
| Response Item | Description | Data Type |
|---|---|---|
| firstQuartile | First Quartile Value | Decimal |
| median | Median Value | Decimal |
| fourthQuartile | Fourth Quartile Value | Decimal |
| maxRpm | Maximum RPM Value | Decimal |
| clientBar | Client Value | Decimal |
| nthPercent | Percentage Value | Decimal |
| chartDescription | Chart Description Text | String |
POST https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount
This endpoint will return the Total Program Count. Without adding either the oldestTrailing, newestTrailing the default logic will take the past 2 years.
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| naics | NAICs Code 2/3 | String | Yes |
| coverageId | Coverage ID | Integer | Yes |
| lineOfBusinessId | Line of Business ID/IDs (separated by comma) | String | Yes (default: "0") |
| exposureType | Exposure Type Description | String | Yes (default: "Revenues") |
| exposureRangeLow | Exposure Range Low Value | Number (decimal) | Yes |
| exposureRangeHigh | Exposure Range High Value | Number (decimal) | Yes |
| organizationType | Type of Organization | String | No (default: "All") |
| premium | Premium amount | Number (decimal) | No (default: "0") |
| limit | Limit Amount | number (decimal) | No (default: "0") |
| oldestTrailing | Programs effective based on months back. Acceptable inputs: 24, 12, 9, 6, 3 | Number (int) | No (default: "0") |
| newestTrailing | Programs effective based on months back. Must be less than OldestTrailing. Acceptable inputs: 12, 9, 6, 3, 0 | Number (int) | No (default: "0") |
curl -d '{"naics":["55"],"coverageId":12,
"lineOfBusinessId":[79],
"exposureType":"Revenues",
"exposureRangeLow":10000000,
"exposureRangeHigh":100000000,
"organizationType":["All"],
"premium": 1000000,
"limit":5000000,
"newestTrailing":12,
"oldestTrailing":24
}' --location --request POST "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount" --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
24
using System.Net.Http;
using System.Net.Http.Headers;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
request.Content = new StringContent("{\"naics\":[\"55\"],\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"limit\":5000000,\n\"newestTrailing\":12,\n\"oldestTrailing\":24\n}");
request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpRequest.BodyPublishers;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount"))
.POST(BodyPublishers.ofString("{\"naics\":[\"55\"],\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"limit\":5000000,\n\"newestTrailing\":12,\n\"oldestTrailing\":24\n}"))
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: '{"naics":["55"],"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"limit":5000000,\n"newestTrailing":12,\n"oldestTrailing":24\n}'
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '{"naics":["55"],"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"limit":5000000,\n"newestTrailing":12,\n"oldestTrailing":24\n}'
response = requests.post(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalProgramCount',
headers=headers,
data=data,
)
You will receive a single number that is the total count of programs based on your request parameters
POST https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount
This endpoint will return the Total Loss Count. Using the lossYear parameter will take precedence over oldestLossYear and/or newestLossYear
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| naics | NAICs Code 2/3 | String | Yes |
| coverageId | Coverage ID | Integer | Yes |
| lineOfBusinessId | Line of Business ID/IDs (separated by comma) | String | Yes (default: "0") |
| exposure | Exposure Type Description | String | Yes (default: "Revenues") |
| exposureRangeLow | Exposure Range Low Value | Number (decimal) | Yes |
| exposureRangeHigh | Exposure Range High Value | Number (decimal) | Yes |
| organizationType | Type of Organization | String | No (default: "All") |
| premium | Premium amount | Number (decimal) | No (default: "0") |
| limit | Limit Amount | number (decimal) | No (default: "0") |
| lossYear | Exact loss year. Must be greater than 1800 | Number (int) | No (default: null) |
| oldestLossYear | Oldest loss year to be considered. Must be greater than 1800 | Number (int) | No (default: null) |
| newestLossYear | Newest loss year to be considered. Must be greater than 1800 and must be greater than oldestLossYear | Number (int) | No (default: null) |
curl -d '{
"naics":["55"],
"coverageId":12,
"lineOfBusinessId":[79],
"exposureType":"Revenues",
"exposureRangeLow":10000000,
"exposureRangeHigh":100000000,
"organizationType":["All"],
"premium": 1000000,
"limit":5000000,
"oldestLossYear":2004,
"newestLossYear":2023
}' --location --request POST "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount" --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
4
using System.Net.Http;
using System.Net.Http.Headers;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
request.Content = new StringContent("{\n\"naics\":[\"55\"],\n\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"limit\":5000000,\n\"oldestLossYear\":2004,\n\"newestLossYear\":2023\n}");
request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpRequest.BodyPublishers;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount"))
.POST(BodyPublishers.ofString("{\n\"naics\":[\"55\"],\n\"coverageId\":12,\n\"lineOfBusinessId\":[79],\n\"exposureType\":\"Revenues\",\n\"exposureRangeLow\":10000000,\n\"exposureRangeHigh\":100000000,\n\"organizationType\":[\"All\"],\n\"premium\": 1000000,\n\"limit\":5000000,\n\"oldestLossYear\":2004,\n\"newestLossYear\":2023\n}"))
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: '{\n"naics":["55"],\n"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"limit":5000000,\n"oldestLossYear":2004,\n"newestLossYear":2023\n}'
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '{\n"naics":["55"],\n"coverageId":12,\n"lineOfBusinessId":[79],\n"exposureType":"Revenues",\n"exposureRangeLow":10000000,\n"exposureRangeHigh":100000000,\n"organizationType":["All"],\n"premium": 1000000,\n"limit":5000000,\n"oldestLossYear":2004,\n"newestLossYear":2023\n}'
response = requests.post(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/assessment/getTotalLossCount',
headers=headers,
data=data,
)
You will receive a single number that is the total count of losses based on your request parameters.
GET https://api.zywave.com/commercialpolicybenchmark/v2.0/company/{id}
This endpoint will return the company information based on company id
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| id | Company ID | Integer | Yes |
curl --location --request GET 'https://api.zywave.com/commercialpolicybenchmark/v2.0/company/3009774' --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
{
"id": 3009774,
"companyName": "Tesla Inc",
"organizationType": "PUB",
"naics2": 33,
"naics3": 336,
"revenues": 53823000000,
"numberOfEmployees": 99290,
"marketCap": 662564490761
}
using System.Net.Http;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "https://api.zywave.com/commercialpolicybenchmark/v2.0/company/3009774");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/company/3009774"))
.GET()
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/company/3009774', {
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}'
}
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
}
response = requests.get('https://api.zywave.com/commercialpolicybenchmark/v2.0/company/3009774', headers=headers)
| Response Item | Description | Data Type |
|---|---|---|
| id | Advisen Company ID | Integer |
| companyName | Company Name | String |
| organizationType | Company Organization Type | String |
| naics2/naics3 | Company’s higher level naics code | String |
| revenues | Company’s revenue | Decimal |
| numberOfEmployees | Company’s number of employees | Integer |
| marketCap | Company’s market cap | Decimal |
GET https://api.zywave.com/commercialpolicybenchmark/v2.0/company
This endpoint will search for a company with a given Company Name.
| Parameter Name | Description | Type | Required |
|---|---|---|---|
| $filter | OData formatted filter by CompanyName or OrganizationType | String | No |
| $orderBy | OData formatted sorting criteria | String | No |
| $skip | Number of rows to skip in the result set | Integer | No (default: "0") |
| $top | Return the first number of rows in the result set | Integer | No (default: "100") |
curl --location --request GET 'https://api.zywave.com/commercialpolicybenchmark/v2.0/company?%24filter=startswith(CompanyName,%20%27Tesla%27)%20&%24orderBy=OrganizationType&%24skip=890&%24top=10' --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
{
"hasMoreResults": true,
"pageIndex": 89,
"pageSize": 10,
"skip": 890,
"take": 10,
"totalCount": 902,
"items": [
{
"id": 11754432,
"companyName": "Teslabarri Sa",
"organizationType": "PSB"
},
{
"id": 13808056,
"companyName": "Tesla Exploration Holdings Limited",
"organizationType": "PSB"
},
{
"id": 11576164,
"companyName": "Tesla Exploration International Limited",
"organizationType": "PSB"
},
{
"id": 6290296,
"companyName": "Tesla Store Los Angeles",
"organizationType": "PSB"
},
{
"id": 18593302,
"companyName": "Teslabarri Sa",
"organizationType": "PSB"
},
{
"id": 3400103,
"companyName": "Tesla Power G.P., Inc.",
"organizationType": "PSB"
},
{
"id": 13298863,
"companyName": "Tesla Power Properties, LP",
"organizationType": "PSB"
},
{
"id": 24592493,
"companyName": "Tesla, Inc.",
"organizationType": "PSB"
},
{
"id": 3009774,
"companyName": "Tesla Inc",
"organizationType": "PUB"
},
{
"id": 2749008,
"companyName": "Tesla Sezam",
"organizationType": "PUB"
}
]
}
using System.Net.Http;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "https://api.zywave.com/commercialpolicybenchmark/v2.0/company?%24filter=startswith(CompanyName,%20%27Tesla%27)%20&%24orderBy=OrganizationType&%24skip=890&%24top=10");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/company?%24filter=startswith(CompanyName,%20%27Tesla%27)%20&%24orderBy=OrganizationType&%24skip=890&%24top=10"))
.GET()
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/company?%24filter=startswith(CompanyName,%20%27Tesla%27)%20&%24orderBy=OrganizationType&%24skip=890&%24top=10', {
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}'
}
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
}
response = requests.get(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/company?%24filter=startswith(CompanyName,%20%27Tesla%27)%20&%24orderBy=OrganizationType&%24skip=890&%24top=10',
headers=headers,
)
| Response Item | Description | Data Type |
|---|---|---|
| hasMoreResults | Indicates if there are more results following the returned data | Boolean |
| pageIndex | Current page number of the returned data | Integer |
| PageSize | Number of rows in a data page | Integer |
| skip | Number of rows skipped | Integer |
| take | Number of rows taken from current data page | Integer |
| totalCount | Total number of rows in the data query | Integer |
| items | Company's Advisen id | Integer |
| items.id | Company's Advisen id | Integer |
| item.companyName | Company's Name | String |
| item.organizationType | Company's organization type | String |
GET https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/{lossEventId}
This endpoint will return the details of loss events.
| Path parameter | Description | Type |
|---|---|---|
| {lossEventId} | Loss Event ID | Integer |
curl --location --request GET 'https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/883485' --header 'Accept: application/json' --header 'Authorization: Bearer ${ACCESS_TOKEN}'
{
"lossName": "Foodfirst Global Holdings, Inc.",
"lossCategory": "Employment",
"lossType": "Wage and Hour",
"lossCoverage": "Management Liability",
"lossLOB": "Employment Practices",
"accidentDate": null,
"filingDate": "2016-05-14T00:00:00",
"status": "Settled",
"totalAmount": 4000000,
"lossDetailsDescription": "On May 14, 2016, >loss details abbreviated<"
}
using System.Net.Http;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/883485");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ${ACCESS_TOKEN}");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/883485"))
.GET()
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ${ACCESS_TOKEN}")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/883485', {
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}'
}
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ${ACCESS_TOKEN}',
}
response = requests.get('https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/883485', headers=headers)
| Response Item | Description | Data Type |
|---|---|---|
| lossName | The Company Name relating to the loss event | String |
| lossCategory | Category Name | String |
| lossType | Type of Loss under a category | String |
| lossCoverage | Type of coverage | String |
| lossLOB | Line of business under a coverage | String |
| accidentDate | Loss accident date | DateTime |
| filingDate | Loss filing date | DateTime |
| status | Loss status | String |
| totalAmount | Amount in US dollars | Integer |
| lossDetailsDescription | Details of loss description | String |
GET https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/limitadequacy
This endpoint will display limit adequacy details.
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| CoverageId | Coverage Id | Integer | Required |
| LobId | Line of Business Id | String | Required |
| Naics | 2 digits or 3 digits naics code (comma separated) | String | Required |
| ExposureType | Exposure type (eg. Revenues, Employees, Market Cap) | String | Required |
| ExposureRangeLow | Lowest exposure range | Decimal | Required |
| ExposureRangeHigh | Highest exposure range | Decimal | Required |
| OrganizationType | Organization Type (eg. Private = PRV, Public = PUB, All) | String | Optional |
| ClientLimit | User input amount limit | Decimal | Optional |
| lossYear | Exact loss year. Must be greater than 1800 | Number (int) | No (default: null) |
| oldestLossYear | Oldest loss year to be considered. Must be greater than 1800 | Number (int) | No (default: null) |
| newestLossYear | Newest loss year to be considered. Must be greater than 1800 and must be greater than oldestLossYear | Number (int) | No (default: null) |
curl -d '{"naics": ["54", "81" ],"coverageId": 4,"lineOfBusinessId": [48],"exposureType": "Employees","exposureRangeLow": 50,"exposureRangeHigh": 100,"organizationType": ["All" ],"clientlimit": 5000000000}' --location --request POST "https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata" \
--header 'Accept: application/json' \
--header 'Authorization: Bearer '
{
"clientLimit": 5000000000,
"medianLimit": 1000000,
"percentCovered": 100,
"maxLoss": 3850000,
"averageLoss": 0,
"listOfCases": [
{
"lossEventID": 5283782,
"lossAmount": 2075.06
},
{
"lossEventID": 5076167,
"lossAmount": 5000
},
{
"lossEventID": 1163103,
"lossAmount": 6226.06
},
{
"lossEventID": 1246716,
"lossAmount": 7880
},
{
"lossEventID": 5009362,
"lossAmount": 10000
},
{
"lossEventID": 5001328,
"lossAmount": 10544
},
{
"lossEventID": 5191977,
"lossAmount": 13395
},
{
"lossEventID": 5281287,
"lossAmount": 15750
},
{
"lossEventID": 5146223,
"lossAmount": 20000
},
{
"lossEventID": 5189429,
"lossAmount": 28600.8
},
{
"lossEventID": 5022060,
"lossAmount": 43179.95
},
{
"lossEventID": 5213192,
"lossAmount": 50000
},
{
"lossEventID": 1159121,
"lossAmount": 58815
},
{
"lossEventID": 1173261,
"lossAmount": 66641
},
{
"lossEventID": 5047529,
"lossAmount": 70000
},
{
"lossEventID": 1182063,
"lossAmount": 82468
},
{
"lossEventID": 5004758,
"lossAmount": 100000
},
{
"lossEventID": 1195726,
"lossAmount": 123143
},
{
"lossEventID": 1044079,
"lossAmount": 173044
},
{
"lossEventID": 1170241,
"lossAmount": 178784
},
{
"lossEventID": 5018488,
"lossAmount": 250000
},
{
"lossEventID": 1254517,
"lossAmount": 276000
},
{
"lossEventID": 1249673,
"lossAmount": 293051
},
{
"lossEventID": 5139309,
"lossAmount": 362515.49
},
{
"lossEventID": 1231666,
"lossAmount": 450124
},
{
"lossEventID": 1236784,
"lossAmount": 1000000
},
{
"lossEventID": 5122120,
"lossAmount": 3850000
}
]
}
using System.Net.Http;
using System.Net.Http.Headers;
HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer ");
request.Content = new StringContent("{\"naics\": [\"54\", \"81\"\t],\"coverageId\": 4,\"lineOfBusinessId\": [48],\"exposureType\": \"Employees\",\"exposureRangeLow\": 50,\"exposureRangeHigh\": 100,\"organizationType\": [\"All\"\t],\"clientlimit\": 5000000000}");
request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
HttpResponseMessage response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
string responseBody = await response.Content.ReadAsStringAsync();
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpRequest.BodyPublishers;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata"))
.POST(BodyPublishers.ofString("{\"naics\": [\"54\", \"81\"\t],\"coverageId\": 4,\"lineOfBusinessId\": [48],\"exposureType\": \"Employees\",\"exposureRangeLow\": 50,\"exposureRangeHigh\": 100,\"organizationType\": [\"All\"\t],\"clientlimit\": 5000000000}"))
.setHeader("Accept", "application/json")
.setHeader("Authorization", "Bearer ")
.setHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
fetch('https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer ',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: '{"naics": ["54", "81"\t],"coverageId": 4,"lineOfBusinessId": [48],"exposureType": "Employees","exposureRangeLow": 50,"exposureRangeHigh": 100,"organizationType": ["All"\t],"clientlimit": 5000000000}'
});
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer ',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '{"naics": ["54", "81"\t],"coverageId": 4,"lineOfBusinessId": [48],"exposureType": "Employees","exposureRangeLow": 50,"exposureRangeHigh": 100,"organizationType": ["All"\t],"clientlimit": 5000000000}'
response = requests.post(
'https://api.zywave.com/commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata',
headers=headers,
data=data,
)
| Response Item | Description | Data Type |
|---|---|---|
| clientLimit | User input amount limit | Decimal |
| medianLimit | Median limit | Integer |
| percentCovered | Percentage covered | Integer |
| maxLoss | Maximum loss amount | Decimal |
| averageLoss | Average loss amount | Integer |
| ListOfCases/lossEventId | Loss event Id | Integer |
| ListOfCases/lossAmount | Loss amount | Decimal |
title: CommercialPolicyBenchmark API language_tabs:
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
oAuth2 authentication.
| Scope | Scope Description |
|---|---|
| api.commercialpolicybenchmark | Full access to all api operations |
| api.commercialpolicybenchmark:read | Read-only access to api |
POST /commercialpolicybenchmark/v2.0/assessment/gettotallosscount
GetTotalLossCount endpoint.
Body parameter
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "LossAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"clientLimit": {
"type": "number",
"description": "Default value is 0.\nClientLimit nullable property.",
"format": "decimal",
"default": 0,
"nullable": true
},
"mostRecentLossYear": {
"type": "integer",
"description": "MostRecentLossYear nullable property.",
"format": "int32",
"nullable": true
},
"oldestLossYear": {
"type": "integer",
"description": "OldestLossYear nullable property.",
"format": "int32",
"nullable": true
}
}
}
]
}
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | LossAssessmentSearchRequest | true | none |
Example responses
200 Response
{
"type": "integer",
"format": "int32"
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | integer |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
POST /commercialpolicybenchmark/v2.0/assessment/gettotalprogramcount
GetTotalProgramCount endpoint.
Body parameter
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "ProgramAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"oldestTrailing": {
"type": "integer",
"description": "Default value is 24.\nOldestTrailing property.",
"format": "int32",
"default": 24
},
"newestTrailing": {
"type": "integer",
"description": "Default value is 0.\nNewestTrailing property.",
"format": "int32",
"default": 0
},
"premium": {
"type": "number",
"description": "Default value is 0.\nPremium property.",
"format": "decimal",
"default": 0
},
"limit": {
"type": "number",
"description": "Default value is 0.\nLimit property.",
"format": "decimal",
"default": 0
},
"retention": {
"type": "number",
"description": "Default value is 0.\nRetention property.",
"format": "decimal",
"default": 0
}
}
}
]
}
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | ProgramAssessmentSearchRequest | true | none |
Example responses
200 Response
{
"type": "integer",
"format": "int32"
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | integer |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
POST /commercialpolicybenchmark/v2.0/assessment/getassessmentdata
GetAssessmentData endpoint.
Body parameter
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "ProgramAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"oldestTrailing": {
"type": "integer",
"description": "Default value is 24.\nOldestTrailing property.",
"format": "int32",
"default": 24
},
"newestTrailing": {
"type": "integer",
"description": "Default value is 0.\nNewestTrailing property.",
"format": "int32",
"default": 0
},
"premium": {
"type": "number",
"description": "Default value is 0.\nPremium property.",
"format": "decimal",
"default": 0
},
"limit": {
"type": "number",
"description": "Default value is 0.\nLimit property.",
"format": "decimal",
"default": 0
},
"retention": {
"type": "number",
"description": "Default value is 0.\nRetention property.",
"format": "decimal",
"default": 0
}
}
}
]
}
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | ProgramAssessmentSearchRequest | true | none |
Example responses
200 Response
{
"type": "object",
"description": "AssessmentData class.",
"additionalProperties": false,
"properties": {
"limitDistribution": {
"description": "LimitDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
},
"premiumDistribution": {
"description": "PremiumDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
},
"retentionDistribution": {
"description": "RetentionDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | AssessmentData |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
POST /commercialpolicybenchmark/v2.0/assessment/getrpmdistributiondata
GetRpmDistributionData endpoint.
Body parameter
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "ProgramAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"oldestTrailing": {
"type": "integer",
"description": "Default value is 24.\nOldestTrailing property.",
"format": "int32",
"default": 24
},
"newestTrailing": {
"type": "integer",
"description": "Default value is 0.\nNewestTrailing property.",
"format": "int32",
"default": 0
},
"premium": {
"type": "number",
"description": "Default value is 0.\nPremium property.",
"format": "decimal",
"default": 0
},
"limit": {
"type": "number",
"description": "Default value is 0.\nLimit property.",
"format": "decimal",
"default": 0
},
"retention": {
"type": "number",
"description": "Default value is 0.\nRetention property.",
"format": "decimal",
"default": 0
}
}
}
]
}
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | ProgramAssessmentSearchRequest | true | none |
Example responses
200 Response
{
"type": "object",
"description": "RpmData class.",
"additionalProperties": false,
"properties": {
"firstQuartile": {
"type": "number",
"description": "firstQuartile property.",
"format": "float"
},
"median": {
"type": "number",
"description": "median property.",
"format": "float"
},
"fourthQuartile": {
"type": "number",
"description": "fourthQuartile property.",
"format": "float"
},
"maxRpm": {
"type": "number",
"description": "maxRpm property.",
"format": "float"
},
"clientBar": {
"type": "number",
"description": "clientBar property.",
"format": "float"
},
"nthPercent": {
"type": "number",
"description": "nthPercent property.",
"format": "float"
},
"chartDescription": {
"type": "string",
"description": "chartDescription nullable property.",
"nullable": true
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | RpmData |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
GET /commercialpolicybenchmark/v2.0/company/{id}
return company info.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | integer(int32) | true | none |
Example responses
200 Response
{
"type": "object",
"description": "Company class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "id property.",
"format": "int32"
},
"companyName": {
"type": "string",
"description": "CompanyName property.",
"nullable": true
},
"organizationType": {
"type": "string",
"description": "OrganizationType property.",
"nullable": true
},
"naicsCode": {
"type": "string",
"description": "NaicsCode property",
"nullable": true
},
"naics2": {
"type": "integer",
"description": "Naics2 property.",
"format": "int32"
},
"naics3": {
"type": "integer",
"description": "Naics3 property.",
"format": "int32"
},
"revenues": {
"type": "number",
"description": "Revenues property.",
"format": "decimal"
},
"numberOfEmployees": {
"type": "integer",
"description": "NumberOfEmployees property.",
"format": "int32"
},
"marketCap": {
"type": "number",
"description": "MarketCap property.",
"format": "decimal"
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Company |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
GET /commercialpolicybenchmark/v2.0/company
return list of companies.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| $filter | query | string | false | none |
| $orderBy | query | string | false | none |
| $skip | query | integer(int32) | false | none |
| $top | query | integer(int32) | false | none |
Example responses
200 Response
{
"type": "object",
"description": "A model containing a collection of Content pieces and metadata about their position in a larger result list.",
"additionalProperties": false,
"properties": {
"hasMoreResults": {
"type": "boolean",
"description": "A value indicating whether the larger result set has more results.",
"nullable": true
},
"pageIndex": {
"type": "integer",
"description": "The index of the page reflected by the collection.",
"format": "int32",
"nullable": true
},
"pageSize": {
"type": "integer",
"description": "The size of the page relfected by the collection.",
"format": "int32",
"nullable": true
},
"skip": {
"type": "integer",
"description": "A value indicating how many of the previous values in the larger result set were omitted.",
"format": "int32",
"nullable": true
},
"take": {
"type": "integer",
"description": "The number of records retrieved from larger result set.",
"format": "int32",
"nullable": true
},
"totalCount": {
"type": "integer",
"description": "The total number of records in the larger result set.",
"format": "int32",
"nullable": true
},
"items": {
"type": "array",
"description": "The records retrieved from the larger result set.",
"nullable": true,
"items": {
"type": "object",
"description": "Company class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "id property.",
"format": "int32"
},
"companyName": {
"type": "string",
"description": "CompanyName property.",
"nullable": true
},
"organizationType": {
"type": "string",
"description": "OrganizationType property.",
"nullable": true
},
"naicsCode": {
"type": "string",
"description": "NaicsCode property",
"nullable": true
},
"naics2": {
"type": "integer",
"description": "Naics2 property.",
"format": "int32"
},
"naics3": {
"type": "integer",
"description": "Naics3 property.",
"format": "int32"
},
"revenues": {
"type": "number",
"description": "Revenues property.",
"format": "decimal"
},
"numberOfEmployees": {
"type": "integer",
"description": "NumberOfEmployees property.",
"format": "int32"
},
"marketCap": {
"type": "number",
"description": "MarketCap property.",
"format": "decimal"
}
}
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | PagedResultOfCompany |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
GET /commercialpolicybenchmark/v2.0/referencedata/revenue
return revenue ranges.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "Range class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "Id property.",
"format": "int32"
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
},
"lowRange": {
"type": "integer",
"description": "LowRange property.",
"format": "int64",
"nullable": true
},
"highRange": {
"type": "integer",
"description": "HighRange property.",
"format": "int64",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [Range] | false | none | [Range class.] |
| » id | integer(int32) | false | none | Id property. |
| » name | string|null | false | none | Name property. |
| » lowRange | integer(int64)|null | false | none | LowRange property. |
| » highRange | integer(int64)|null | false | none | HighRange property. |
GET /commercialpolicybenchmark/v2.0/referencedata/marketcap
return market cap ranges.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "Range class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "Id property.",
"format": "int32"
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
},
"lowRange": {
"type": "integer",
"description": "LowRange property.",
"format": "int64",
"nullable": true
},
"highRange": {
"type": "integer",
"description": "HighRange property.",
"format": "int64",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [Range] | false | none | [Range class.] |
| » id | integer(int32) | false | none | Id property. |
| » name | string|null | false | none | Name property. |
| » lowRange | integer(int64)|null | false | none | LowRange property. |
| » highRange | integer(int64)|null | false | none | HighRange property. |
GET /commercialpolicybenchmark/v2.0/referencedata/employeecount
return employee ranges.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "Range class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "Id property.",
"format": "int32"
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
},
"lowRange": {
"type": "integer",
"description": "LowRange property.",
"format": "int64",
"nullable": true
},
"highRange": {
"type": "integer",
"description": "HighRange property.",
"format": "int64",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [Range] | false | none | [Range class.] |
| » id | integer(int32) | false | none | Id property. |
| » name | string|null | false | none | Name property. |
| » lowRange | integer(int64)|null | false | none | LowRange property. |
| » highRange | integer(int64)|null | false | none | HighRange property. |
GET /commercialpolicybenchmark/v2.0/referencedata/organizationtype
return organization types.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "OrganizationType class.",
"additionalProperties": false,
"properties": {
"typeId": {
"type": "string",
"description": "TypeId property.",
"nullable": true
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [OrganizationType] | false | none | [OrganizationType class.] |
| » typeId | string|null | false | none | TypeId property. |
| » name | string|null | false | none | Name property. |
GET /commercialpolicybenchmark/v2.0/referencedata/coveragelinesofbusiness
return coverage(s)/lob(s).
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "CoverageLineOfBusiness class.",
"additionalProperties": false,
"properties": {
"coverageId": {
"type": "integer",
"description": "CoverageId property.",
"format": "int32"
},
"coverageName": {
"type": "string",
"description": "CoverageName property.",
"nullable": true
},
"lineOfBusinessId": {
"type": "integer",
"description": "LineOfBusinessId property.",
"format": "int32"
},
"lineOfBusinessName": {
"type": "string",
"description": "LineOfBusinessName property.",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [CoverageLineOfBusiness] | false | none | [CoverageLineOfBusiness class.] |
| » coverageId | integer(int32) | false | none | CoverageId property. |
| » coverageName | string|null | false | none | CoverageName property. |
| » lineOfBusinessId | integer(int32) | false | none | LineOfBusinessId property. |
| » lineOfBusinessName | string|null | false | none | LineOfBusinessName property. |
GET /commercialpolicybenchmark/v2.0/referencedata/naicscodes
return naics codes.
Example responses
200 Response
{
"type": "array",
"items": {
"type": "object",
"description": "NAICSCode class.",
"additionalProperties": false,
"properties": {
"code": {
"type": "string",
"description": "Code property.",
"nullable": true
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | Inline |
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | [NAICSCode] | false | none | [NAICSCode class.] |
| » code | string|null | false | none | Code property. |
| » name | string|null | false | none | Name property. |
GET /commercialpolicybenchmark/v2.0/lossdetails/{lossEventId}
return loss details.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| lossEventId | path | integer(int32) | true | none |
Example responses
200 Response
{
"type": "object",
"description": "LossEventDetails class.",
"additionalProperties": false,
"properties": {
"lossName": {
"type": "string",
"description": "LossName property.",
"nullable": true
},
"lossCategory": {
"type": "string",
"description": "LossCategory property.",
"nullable": true
},
"lossType": {
"type": "string",
"description": "LossType property.",
"nullable": true
},
"lossCoverage": {
"type": "string",
"description": "LossCoverage property.",
"nullable": true
},
"lossLOB": {
"type": "string",
"description": "LossLOB property.",
"nullable": true
},
"accidentDate": {
"type": "string",
"description": "AccidentDate property.",
"format": "date-time",
"nullable": true
},
"filingDate": {
"type": "string",
"description": "FilingDate property.",
"format": "date-time",
"nullable": true
},
"status": {
"type": "string",
"description": "Status property.",
"nullable": true
},
"totalAmount": {
"type": "number",
"description": "TotalAmount property.",
"format": "decimal",
"nullable": true
},
"lossDetailsDescription": {
"type": "string",
"description": "LossDetailsDescription property.",
"nullable": true
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | LossEventDetails |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
POST /commercialpolicybenchmark/v2.0/lossdetails/getlimitadequacydata
return limit adequacy chart data.
Body parameter
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "LossAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"clientLimit": {
"type": "number",
"description": "Default value is 0.\nClientLimit nullable property.",
"format": "decimal",
"default": 0,
"nullable": true
},
"mostRecentLossYear": {
"type": "integer",
"description": "MostRecentLossYear nullable property.",
"format": "int32",
"nullable": true
},
"oldestLossYear": {
"type": "integer",
"description": "OldestLossYear nullable property.",
"format": "int32",
"nullable": true
}
}
}
]
}
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | LossAssessmentSearchRequest | true | none |
Example responses
200 Response
{
"type": "object",
"description": "LossEventData class.",
"additionalProperties": false,
"properties": {
"clientLimit": {
"type": "number",
"description": "ClientLimit property.",
"format": "decimal",
"nullable": true
},
"medianLimit": {
"type": "integer",
"description": "MedianLimit property.",
"format": "int32",
"nullable": true
},
"percentCovered": {
"type": "integer",
"description": "PercentCovered property.",
"format": "int32"
},
"maxLoss": {
"type": "number",
"description": "MaxLoss property.",
"format": "decimal"
},
"averageLoss": {
"type": "integer",
"description": "AverageLoss property.",
"format": "int32"
},
"listOfCases": {
"type": "array",
"description": "ListOfCases property.",
"nullable": true,
"items": {
"type": "object",
"description": "ListOfCases class.",
"additionalProperties": false,
"properties": {
"lossEventID": {
"type": "integer",
"description": "LossEventID property.",
"format": "int32"
},
"lossAmount": {
"type": "number",
"description": "LossAmount property.",
"format": "decimal",
"nullable": true
}
}
}
}
}
}
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | none | LossEventData |
| 400 | Bad Request | none | ProblemDetails |
| 403 | Forbidden | none | ProblemDetails |
| 404 | Not Found | none | ProblemDetails |
{
"type": "object",
"additionalProperties": {
"nullable": true
},
"properties": {
"type": {
"type": "string",
"nullable": true
},
"title": {
"type": "string",
"nullable": true
},
"status": {
"type": "integer",
"format": "int32",
"nullable": true
},
"detail": {
"type": "string",
"nullable": true
},
"instance": {
"type": "string",
"nullable": true
}
}
}
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| additionalProperties | any | false | none | none |
| type | string|null | false | none | none |
| title | string|null | false | none | none |
| status | integer(int32)|null | false | none | none |
| detail | string|null | false | none | none |
| instance | string|null | false | none | none |
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "LossAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"clientLimit": {
"type": "number",
"description": "Default value is 0.\nClientLimit nullable property.",
"format": "decimal",
"default": 0,
"nullable": true
},
"mostRecentLossYear": {
"type": "integer",
"description": "MostRecentLossYear nullable property.",
"format": "int32",
"nullable": true
},
"oldestLossYear": {
"type": "integer",
"description": "OldestLossYear nullable property.",
"format": "int32",
"nullable": true
}
}
}
]
}
allOf
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | AssessmentSearchRequest | false | none | AssessmentSearchRequest class. |
and
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | object | false | none | LossAssessmentSearchRequest class. |
| » clientLimit | number(decimal)|null | false | none | Default value is 0. ClientLimit nullable property. |
| » mostRecentLossYear | integer(int32)|null | false | none | MostRecentLossYear nullable property. |
| » oldestLossYear | integer(int32)|null | false | none | OldestLossYear nullable property. |
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
}
AssessmentSearchRequest class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| naics | [string]|null | false | none | BindRequired. Naics property. |
| coverageId | integer(int32) | false | none | BindRequired. CoverageId property. |
| lineOfBusinessId | [integer]|null | false | none | BindRequired. LineOfBusinessId property. |
| exposureType | string|null | false | none | BindRequired. Default value is "Revenues". ExposureType property. |
| exposureRangeLow | number(decimal) | false | none | BindRequired. ExposureRangeLow property. |
| exposureRangeHigh | number(decimal) | false | none | BindRequired. ExposureRangeHigh property. |
| organizationType | [string]|null | false | none | OrganizationType property. |
{
"allOf": [
{
"type": "object",
"description": "AssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"naics": {
"type": "array",
"description": "BindRequired.\nNaics property.",
"nullable": true,
"items": {
"type": "string"
}
},
"coverageId": {
"type": "integer",
"description": "BindRequired.\nCoverageId property.",
"format": "int32"
},
"lineOfBusinessId": {
"type": "array",
"description": "BindRequired.\nLineOfBusinessId property.",
"nullable": true,
"items": {
"type": "integer",
"format": "int32"
}
},
"exposureType": {
"type": "string",
"description": "BindRequired.\nDefault value is \"Revenues\".\nExposureType property.",
"default": "Revenues",
"nullable": true
},
"exposureRangeLow": {
"type": "number",
"description": "BindRequired.\nExposureRangeLow property.",
"format": "decimal"
},
"exposureRangeHigh": {
"type": "number",
"description": "BindRequired.\nExposureRangeHigh property.",
"format": "decimal"
},
"organizationType": {
"type": "array",
"description": "OrganizationType property.",
"default": "All",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"description": "ProgramAssessmentSearchRequest class.",
"additionalProperties": false,
"properties": {
"oldestTrailing": {
"type": "integer",
"description": "Default value is 24.\nOldestTrailing property.",
"format": "int32",
"default": 24
},
"newestTrailing": {
"type": "integer",
"description": "Default value is 0.\nNewestTrailing property.",
"format": "int32",
"default": 0
},
"premium": {
"type": "number",
"description": "Default value is 0.\nPremium property.",
"format": "decimal",
"default": 0
},
"limit": {
"type": "number",
"description": "Default value is 0.\nLimit property.",
"format": "decimal",
"default": 0
},
"retention": {
"type": "number",
"description": "Default value is 0.\nRetention property.",
"format": "decimal",
"default": 0
}
}
}
]
}
allOf
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | AssessmentSearchRequest | false | none | AssessmentSearchRequest class. |
and
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| anonymous | object | false | none | ProgramAssessmentSearchRequest class. |
| » oldestTrailing | integer(int32) | false | none | Default value is 24. OldestTrailing property. |
| » newestTrailing | integer(int32) | false | none | Default value is 0. NewestTrailing property. |
| » premium | number(decimal) | false | none | Default value is 0. Premium property. |
| » limit | number(decimal) | false | none | Default value is 0. Limit property. |
| » retention | number(decimal) | false | none | Default value is 0. Retention property. |
{
"type": "object",
"description": "AssessmentData class.",
"additionalProperties": false,
"properties": {
"limitDistribution": {
"description": "LimitDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
},
"premiumDistribution": {
"description": "PremiumDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
},
"retentionDistribution": {
"description": "RetentionDistribution property.",
"nullable": true,
"oneOf": [
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
]
}
}
}
AssessmentData class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| limitDistribution | DistributionData|null | false | none | LimitDistribution property. |
| premiumDistribution | DistributionData|null | false | none | PremiumDistribution property. |
| retentionDistribution | DistributionData|null | false | none | RetentionDistribution property. |
{
"type": "object",
"description": "DistributionData class.",
"additionalProperties": false,
"properties": {
"chartDescription": {
"type": "string",
"description": "ChartDescription property.",
"nullable": true
},
"bands": {
"type": "array",
"description": "Bands property.",
"nullable": true,
"items": {
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
}
}
}
DistributionData class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| chartDescription | string|null | false | none | ChartDescription property. |
| bands | [Bands]|null | false | none | Bands property. |
{
"type": "object",
"description": "Bands class.",
"additionalProperties": false,
"properties": {
"bandSeq": {
"type": "integer",
"description": "BandSeq property.",
"format": "int32"
},
"bandDescription": {
"type": "string",
"description": "BandDescription property.",
"nullable": true
},
"programCount": {
"type": "integer",
"description": "ProgramCount property.",
"format": "int32"
}
}
}
Bands class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| bandSeq | integer(int32) | false | none | BandSeq property. |
| bandDescription | string|null | false | none | BandDescription property. |
| programCount | integer(int32) | false | none | ProgramCount property. |
{
"type": "object",
"description": "RpmData class.",
"additionalProperties": false,
"properties": {
"firstQuartile": {
"type": "number",
"description": "firstQuartile property.",
"format": "float"
},
"median": {
"type": "number",
"description": "median property.",
"format": "float"
},
"fourthQuartile": {
"type": "number",
"description": "fourthQuartile property.",
"format": "float"
},
"maxRpm": {
"type": "number",
"description": "maxRpm property.",
"format": "float"
},
"clientBar": {
"type": "number",
"description": "clientBar property.",
"format": "float"
},
"nthPercent": {
"type": "number",
"description": "nthPercent property.",
"format": "float"
},
"chartDescription": {
"type": "string",
"description": "chartDescription nullable property.",
"nullable": true
}
}
}
RpmData class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| firstQuartile | number(float) | false | none | firstQuartile property. |
| median | number(float) | false | none | median property. |
| fourthQuartile | number(float) | false | none | fourthQuartile property. |
| maxRpm | number(float) | false | none | maxRpm property. |
| clientBar | number(float) | false | none | clientBar property. |
| nthPercent | number(float) | false | none | nthPercent property. |
| chartDescription | string|null | false | none | chartDescription nullable property. |
{
"type": "object",
"description": "Company class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "id property.",
"format": "int32"
},
"companyName": {
"type": "string",
"description": "CompanyName property.",
"nullable": true
},
"organizationType": {
"type": "string",
"description": "OrganizationType property.",
"nullable": true
},
"naicsCode": {
"type": "string",
"description": "NaicsCode property",
"nullable": true
},
"naics2": {
"type": "integer",
"description": "Naics2 property.",
"format": "int32"
},
"naics3": {
"type": "integer",
"description": "Naics3 property.",
"format": "int32"
},
"revenues": {
"type": "number",
"description": "Revenues property.",
"format": "decimal"
},
"numberOfEmployees": {
"type": "integer",
"description": "NumberOfEmployees property.",
"format": "int32"
},
"marketCap": {
"type": "number",
"description": "MarketCap property.",
"format": "decimal"
}
}
}
Company class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| id | integer(int32) | false | none | id property. |
| companyName | string|null | false | none | CompanyName property. |
| organizationType | string|null | false | none | OrganizationType property. |
| naicsCode | string|null | false | none | NaicsCode property |
| naics2 | integer(int32) | false | none | Naics2 property. |
| naics3 | integer(int32) | false | none | Naics3 property. |
| revenues | number(decimal) | false | none | Revenues property. |
| numberOfEmployees | integer(int32) | false | none | NumberOfEmployees property. |
| marketCap | number(decimal) | false | none | MarketCap property. |
{
"type": "object",
"description": "A model containing a collection of Content pieces and metadata about their position in a larger result list.",
"additionalProperties": false,
"properties": {
"hasMoreResults": {
"type": "boolean",
"description": "A value indicating whether the larger result set has more results.",
"nullable": true
},
"pageIndex": {
"type": "integer",
"description": "The index of the page reflected by the collection.",
"format": "int32",
"nullable": true
},
"pageSize": {
"type": "integer",
"description": "The size of the page relfected by the collection.",
"format": "int32",
"nullable": true
},
"skip": {
"type": "integer",
"description": "A value indicating how many of the previous values in the larger result set were omitted.",
"format": "int32",
"nullable": true
},
"take": {
"type": "integer",
"description": "The number of records retrieved from larger result set.",
"format": "int32",
"nullable": true
},
"totalCount": {
"type": "integer",
"description": "The total number of records in the larger result set.",
"format": "int32",
"nullable": true
},
"items": {
"type": "array",
"description": "The records retrieved from the larger result set.",
"nullable": true,
"items": {
"type": "object",
"description": "Company class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "id property.",
"format": "int32"
},
"companyName": {
"type": "string",
"description": "CompanyName property.",
"nullable": true
},
"organizationType": {
"type": "string",
"description": "OrganizationType property.",
"nullable": true
},
"naicsCode": {
"type": "string",
"description": "NaicsCode property",
"nullable": true
},
"naics2": {
"type": "integer",
"description": "Naics2 property.",
"format": "int32"
},
"naics3": {
"type": "integer",
"description": "Naics3 property.",
"format": "int32"
},
"revenues": {
"type": "number",
"description": "Revenues property.",
"format": "decimal"
},
"numberOfEmployees": {
"type": "integer",
"description": "NumberOfEmployees property.",
"format": "int32"
},
"marketCap": {
"type": "number",
"description": "MarketCap property.",
"format": "decimal"
}
}
}
}
}
}
A model containing a collection of Content pieces and metadata about their position in a larger result list.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| hasMoreResults | boolean|null | false | none | A value indicating whether the larger result set has more results. |
| pageIndex | integer(int32)|null | false | none | The index of the page reflected by the collection. |
| pageSize | integer(int32)|null | false | none | The size of the page relfected by the collection. |
| skip | integer(int32)|null | false | none | A value indicating how many of the previous values in the larger result set were omitted. |
| take | integer(int32)|null | false | none | The number of records retrieved from larger result set. |
| totalCount | integer(int32)|null | false | none | The total number of records in the larger result set. |
| items | [Company]|null | false | none | The records retrieved from the larger result set. |
{
"type": "object",
"description": "Range class.",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"description": "Id property.",
"format": "int32"
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
},
"lowRange": {
"type": "integer",
"description": "LowRange property.",
"format": "int64",
"nullable": true
},
"highRange": {
"type": "integer",
"description": "HighRange property.",
"format": "int64",
"nullable": true
}
}
}
Range class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| id | integer(int32) | false | none | Id property. |
| name | string|null | false | none | Name property. |
| lowRange | integer(int64)|null | false | none | LowRange property. |
| highRange | integer(int64)|null | false | none | HighRange property. |
{
"type": "object",
"description": "OrganizationType class.",
"additionalProperties": false,
"properties": {
"typeId": {
"type": "string",
"description": "TypeId property.",
"nullable": true
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
}
}
}
OrganizationType class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| typeId | string|null | false | none | TypeId property. |
| name | string|null | false | none | Name property. |
{
"type": "object",
"description": "CoverageLineOfBusiness class.",
"additionalProperties": false,
"properties": {
"coverageId": {
"type": "integer",
"description": "CoverageId property.",
"format": "int32"
},
"coverageName": {
"type": "string",
"description": "CoverageName property.",
"nullable": true
},
"lineOfBusinessId": {
"type": "integer",
"description": "LineOfBusinessId property.",
"format": "int32"
},
"lineOfBusinessName": {
"type": "string",
"description": "LineOfBusinessName property.",
"nullable": true
}
}
}
CoverageLineOfBusiness class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| coverageId | integer(int32) | false | none | CoverageId property. |
| coverageName | string|null | false | none | CoverageName property. |
| lineOfBusinessId | integer(int32) | false | none | LineOfBusinessId property. |
| lineOfBusinessName | string|null | false | none | LineOfBusinessName property. |
{
"type": "object",
"description": "NAICSCode class.",
"additionalProperties": false,
"properties": {
"code": {
"type": "string",
"description": "Code property.",
"nullable": true
},
"name": {
"type": "string",
"description": "Name property.",
"nullable": true
}
}
}
NAICSCode class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| code | string|null | false | none | Code property. |
| name | string|null | false | none | Name property. |
{
"type": "object",
"description": "LossEventDetails class.",
"additionalProperties": false,
"properties": {
"lossName": {
"type": "string",
"description": "LossName property.",
"nullable": true
},
"lossCategory": {
"type": "string",
"description": "LossCategory property.",
"nullable": true
},
"lossType": {
"type": "string",
"description": "LossType property.",
"nullable": true
},
"lossCoverage": {
"type": "string",
"description": "LossCoverage property.",
"nullable": true
},
"lossLOB": {
"type": "string",
"description": "LossLOB property.",
"nullable": true
},
"accidentDate": {
"type": "string",
"description": "AccidentDate property.",
"format": "date-time",
"nullable": true
},
"filingDate": {
"type": "string",
"description": "FilingDate property.",
"format": "date-time",
"nullable": true
},
"status": {
"type": "string",
"description": "Status property.",
"nullable": true
},
"totalAmount": {
"type": "number",
"description": "TotalAmount property.",
"format": "decimal",
"nullable": true
},
"lossDetailsDescription": {
"type": "string",
"description": "LossDetailsDescription property.",
"nullable": true
}
}
}
LossEventDetails class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| lossName | string|null | false | none | LossName property. |
| lossCategory | string|null | false | none | LossCategory property. |
| lossType | string|null | false | none | LossType property. |
| lossCoverage | string|null | false | none | LossCoverage property. |
| lossLOB | string|null | false | none | LossLOB property. |
| accidentDate | string(date-time)|null | false | none | AccidentDate property. |
| filingDate | string(date-time)|null | false | none | FilingDate property. |
| status | string|null | false | none | Status property. |
| totalAmount | number(decimal)|null | false | none | TotalAmount property. |
| lossDetailsDescription | string|null | false | none | LossDetailsDescription property. |
{
"type": "object",
"description": "LossEventData class.",
"additionalProperties": false,
"properties": {
"clientLimit": {
"type": "number",
"description": "ClientLimit property.",
"format": "decimal",
"nullable": true
},
"medianLimit": {
"type": "integer",
"description": "MedianLimit property.",
"format": "int32",
"nullable": true
},
"percentCovered": {
"type": "integer",
"description": "PercentCovered property.",
"format": "int32"
},
"maxLoss": {
"type": "number",
"description": "MaxLoss property.",
"format": "decimal"
},
"averageLoss": {
"type": "integer",
"description": "AverageLoss property.",
"format": "int32"
},
"listOfCases": {
"type": "array",
"description": "ListOfCases property.",
"nullable": true,
"items": {
"type": "object",
"description": "ListOfCases class.",
"additionalProperties": false,
"properties": {
"lossEventID": {
"type": "integer",
"description": "LossEventID property.",
"format": "int32"
},
"lossAmount": {
"type": "number",
"description": "LossAmount property.",
"format": "decimal",
"nullable": true
}
}
}
}
}
}
LossEventData class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| clientLimit | number(decimal)|null | false | none | ClientLimit property. |
| medianLimit | integer(int32)|null | false | none | MedianLimit property. |
| percentCovered | integer(int32) | false | none | PercentCovered property. |
| maxLoss | number(decimal) | false | none | MaxLoss property. |
| averageLoss | integer(int32) | false | none | AverageLoss property. |
| listOfCases | [ListOfCases]|null | false | none | ListOfCases property. |
{
"type": "object",
"description": "ListOfCases class.",
"additionalProperties": false,
"properties": {
"lossEventID": {
"type": "integer",
"description": "LossEventID property.",
"format": "int32"
},
"lossAmount": {
"type": "number",
"description": "LossAmount property.",
"format": "decimal",
"nullable": true
}
}
}
ListOfCases class.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| lossEventID | integer(int32) | false | none | LossEventID property. |
| lossAmount | number(decimal)|null | false | none | LossAmount property. |