curl --request GET \
--url https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"name": "<string>",
"parent": "<string>",
"reason": {
"words": "<string>",
"role": "<string>"
},
"change": {
"kind": "hold_rate_change",
"segments": [
"<string>"
],
"target": 123
},
"edited": [
"<string>"
],
"requestedAt": "2023-11-07T05:31:56Z",
"requestedBy": {
"kind": "user",
"id": "<string>",
"name": "<string>"
},
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"webUrl": "<string>"
},
"status": "building",
"rater": null,
"cases": null,
"book": null,
"exhibits": [
{
"name": "<string>",
"artifactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sha256": "<string>"
}
],
"edit": {
"files": [
{
"path": "<string>",
"kind": "code",
"linesAdded": 1,
"linesRemoved": 1,
"hunks": [
{
"at": "<string>",
"lines": [
{
"kind": "added",
"text": "<string>"
}
]
}
]
}
]
},
"tables": {
"lossCosts": {
"rows": [
{
"subline": "premops",
"territory": "<string>",
"classes": 1,
"up": 1,
"down": 1,
"same": 1,
"median": 123,
"lowest": 123,
"highest": 123
}
],
"referred": {
"premops": 1,
"products": 1
},
"productsIncluded": 1
},
"limitFactors": {
"tables": [
{
"id": "<string>",
"label": "<string>"
}
],
"rows": [
{
"limits": "<string>",
"basic": true,
"cells": [
{
"before": 123,
"after": 123
}
]
}
]
},
"files": [
{
"path": "<string>",
"part": "<string>",
"unit": "rows",
"total": 1,
"updated": 1,
"same": 1,
"noIsoValue": 1,
"carrierKept": [
"<string>"
]
}
],
"unchanged": [
"<string>"
],
"watched": [
{
"item": "<string>",
"premOps": [
{
"territory": "<string>",
"value": 123
}
],
"products": 123
}
]
},
"places": [
{
"change": "<string>",
"kind": "table",
"name": "<string>",
"file": "<string>",
"changed": true,
"lines": [
{
"kind": "context",
"n": 2,
"text": "<string>"
}
],
"note": "<string>",
"unread": "<string>"
}
],
"citations": [
{
"change": "<string>",
"item": "<string>",
"file": "<string>",
"lines": [
{
"kind": "context",
"n": 2,
"text": "<string>"
}
],
"source": {
"before": "<string>",
"after": "<string>"
}
}
],
"carrier": "<string>",
"coverageMoveTolerance": 123
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"problems": [
{
"path": [
"<string>"
],
"code": "not_a_circular_project",
"message": "<string>"
}
],
"raterRebuildId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>"
}Get one version of a rater rebuild
A rater rebuild applies one ISO circular to a carrier’s rater for one product in one state, on a circular project (a project with projectType iso_circular). It reads the rater, the rebuild guideline, the in-force book and the experience file from the product’s rating setup in the state (a product_rating_setups record, set on the product’s Rating tab). The worked cases are the rebuild’s own, optional input. A caller who can read the project reads its rebuilds; a caller who can edit the project creates and changes them. A product has at most one open rebuild in a state. One version as getRaterRebuild shows it (V1, V2 and so on; V0 is inputs.rater), plus its whole edit against its parent. edit is null while the version builds.
Alpha: this operation may change or be removed without notice.
curl --request GET \
--url https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.effectiveai.app/api/v2/insurance/rater-rebuilds/{id}/versions/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"name": "<string>",
"parent": "<string>",
"reason": {
"words": "<string>",
"role": "<string>"
},
"change": {
"kind": "hold_rate_change",
"segments": [
"<string>"
],
"target": 123
},
"edited": [
"<string>"
],
"requestedAt": "2023-11-07T05:31:56Z",
"requestedBy": {
"kind": "user",
"id": "<string>",
"name": "<string>"
},
"run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"webUrl": "<string>"
},
"status": "building",
"rater": null,
"cases": null,
"book": null,
"exhibits": [
{
"name": "<string>",
"artifactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sha256": "<string>"
}
],
"edit": {
"files": [
{
"path": "<string>",
"kind": "code",
"linesAdded": 1,
"linesRemoved": 1,
"hunks": [
{
"at": "<string>",
"lines": [
{
"kind": "added",
"text": "<string>"
}
]
}
]
}
]
},
"tables": {
"lossCosts": {
"rows": [
{
"subline": "premops",
"territory": "<string>",
"classes": 1,
"up": 1,
"down": 1,
"same": 1,
"median": 123,
"lowest": 123,
"highest": 123
}
],
"referred": {
"premops": 1,
"products": 1
},
"productsIncluded": 1
},
"limitFactors": {
"tables": [
{
"id": "<string>",
"label": "<string>"
}
],
"rows": [
{
"limits": "<string>",
"basic": true,
"cells": [
{
"before": 123,
"after": 123
}
]
}
]
},
"files": [
{
"path": "<string>",
"part": "<string>",
"unit": "rows",
"total": 1,
"updated": 1,
"same": 1,
"noIsoValue": 1,
"carrierKept": [
"<string>"
]
}
],
"unchanged": [
"<string>"
],
"watched": [
{
"item": "<string>",
"premOps": [
{
"territory": "<string>",
"value": 123
}
],
"products": 123
}
]
},
"places": [
{
"change": "<string>",
"kind": "table",
"name": "<string>",
"file": "<string>",
"changed": true,
"lines": [
{
"kind": "context",
"n": 2,
"text": "<string>"
}
],
"note": "<string>",
"unread": "<string>"
}
],
"citations": [
{
"change": "<string>",
"item": "<string>",
"file": "<string>",
"lines": [
{
"kind": "context",
"n": 2,
"text": "<string>"
}
],
"source": {
"before": "<string>",
"after": "<string>"
}
}
],
"carrier": "<string>",
"coverageMoveTolerance": 123
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>",
"dataset": "naic",
"businessCode": "<string>",
"violations": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>",
"value": "<unknown>",
"constraint": "<string>",
"cite": "<string>"
}
],
"violationsTruncated": true,
"executionId": "<string>",
"accessUrl": "<string>"
}{
"error": "<string>",
"code": "<string>",
"problems": [
{
"path": [
"<string>"
],
"code": "not_a_circular_project",
"message": "<string>"
}
],
"raterRebuildId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>"
}Authorizations
Path Parameters
Response
The version.
- Option 1
- Option 2
- Option 3
How far a coverage of the carrier may move before the guideline’s coverage_moved rule raises it, a fraction (0.1 is 10 percent): the coverage_move_tolerance the rebuild guideline release declares in its own sources. Null for any version but the current one, when either rater release cannot be read, and when the guideline release cannot be read or declares none.