curl --request PATCH \
--url https://vision.pingintel.com/api/v1/submission/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": true,
"is_rush": true,
"need_by_date": "2023-12-25",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{id}"
payload = {
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": True,
"is_rush": True,
"need_by_date": "2023-12-25",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
broker_assistant_name: '<string>',
broker_city: '<string>',
broker_contact_name: '<string>',
broker_country: '<string>',
broker_email: 'jsmith@example.com',
broker_fein: '<string>',
broker_license_number: '<string>',
broker_license_state: '<string>',
broker_name: '<string>',
broker_phone: '<string>',
broker_state: '<string>',
broker_street: '<string>',
broker_street2: '<string>',
broker_zip: '<string>',
ceding_company_assistant_name: '<string>',
ceding_company_city: '<string>',
ceding_company_country: '<string>',
ceding_company_name: '<string>',
ceding_company_state: '<string>',
ceding_company_street: '<string>',
ceding_company_street2: '<string>',
ceding_company_zip: '<string>',
client_ref: '<string>',
expiration_date: '2023-12-25',
fac_re_broker_company_assistant_name: '<string>',
fac_re_broker_company_city: '<string>',
fac_re_broker_company_contact_name: '<string>',
fac_re_broker_company_country: '<string>',
fac_re_broker_company_name: '<string>',
fac_re_broker_company_state: '<string>',
fac_re_broker_company_street: '<string>',
fac_re_broker_company_street2: '<string>',
fac_re_broker_company_zip: '<string>',
fac_re_company_assistant_name: '<string>',
fac_re_company_city: '<string>',
fac_re_company_contact_name: '<string>',
fac_re_company_country: '<string>',
fac_re_company_name: '<string>',
fac_re_company_state: '<string>',
fac_re_company_street: '<string>',
fac_re_company_street2: '<string>',
fac_re_company_zip: '<string>',
home_state: '<string>',
inception_date: '2023-12-25',
insured_business_description: '<string>',
insured_city: '<string>',
insured_contact_email: 'jsmith@example.com',
insured_contact_name: '<string>',
insured_contact_phone: '<string>',
insured_country: '<string>',
insured_fein: '<string>',
insured_gl_code: '<string>',
insured_name: '<string>',
insured_sic: '<string>',
insured_state: '<string>',
insured_street: '<string>',
insured_street2: '<string>',
insured_website: '<string>',
insured_zip: '<string>',
is_building_data_ready: true,
is_rush: true,
need_by_date: '2023-12-25',
primary_naics_code: 1073741823,
risk_summary: '<string>',
target_terms: '<string>',
underwriter_assistant_name: '<string>',
underwriter_city: '<string>',
underwriter_contact_name: '<string>',
underwriter_country: '<string>',
underwriter_name: '<string>',
underwriter_state: '<string>',
underwriter_street: '<string>',
underwriter_street2: '<string>',
underwriter_zip: '<string>',
wholesale_broker_assistant_name: '<string>',
wholesale_broker_city: '<string>',
wholesale_broker_contact_name: '<string>',
wholesale_broker_country: '<string>',
wholesale_broker_email: 'jsmith@example.com',
wholesale_broker_name: '<string>',
wholesale_broker_state: '<string>',
wholesale_broker_street: '<string>',
wholesale_broker_street2: '<string>',
wholesale_broker_zip: '<string>'
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'broker_assistant_name' => '<string>',
'broker_city' => '<string>',
'broker_contact_name' => '<string>',
'broker_country' => '<string>',
'broker_email' => 'jsmith@example.com',
'broker_fein' => '<string>',
'broker_license_number' => '<string>',
'broker_license_state' => '<string>',
'broker_name' => '<string>',
'broker_phone' => '<string>',
'broker_state' => '<string>',
'broker_street' => '<string>',
'broker_street2' => '<string>',
'broker_zip' => '<string>',
'ceding_company_assistant_name' => '<string>',
'ceding_company_city' => '<string>',
'ceding_company_country' => '<string>',
'ceding_company_name' => '<string>',
'ceding_company_state' => '<string>',
'ceding_company_street' => '<string>',
'ceding_company_street2' => '<string>',
'ceding_company_zip' => '<string>',
'client_ref' => '<string>',
'expiration_date' => '2023-12-25',
'fac_re_broker_company_assistant_name' => '<string>',
'fac_re_broker_company_city' => '<string>',
'fac_re_broker_company_contact_name' => '<string>',
'fac_re_broker_company_country' => '<string>',
'fac_re_broker_company_name' => '<string>',
'fac_re_broker_company_state' => '<string>',
'fac_re_broker_company_street' => '<string>',
'fac_re_broker_company_street2' => '<string>',
'fac_re_broker_company_zip' => '<string>',
'fac_re_company_assistant_name' => '<string>',
'fac_re_company_city' => '<string>',
'fac_re_company_contact_name' => '<string>',
'fac_re_company_country' => '<string>',
'fac_re_company_name' => '<string>',
'fac_re_company_state' => '<string>',
'fac_re_company_street' => '<string>',
'fac_re_company_street2' => '<string>',
'fac_re_company_zip' => '<string>',
'home_state' => '<string>',
'inception_date' => '2023-12-25',
'insured_business_description' => '<string>',
'insured_city' => '<string>',
'insured_contact_email' => 'jsmith@example.com',
'insured_contact_name' => '<string>',
'insured_contact_phone' => '<string>',
'insured_country' => '<string>',
'insured_fein' => '<string>',
'insured_gl_code' => '<string>',
'insured_name' => '<string>',
'insured_sic' => '<string>',
'insured_state' => '<string>',
'insured_street' => '<string>',
'insured_street2' => '<string>',
'insured_website' => '<string>',
'insured_zip' => '<string>',
'is_building_data_ready' => true,
'is_rush' => true,
'need_by_date' => '2023-12-25',
'primary_naics_code' => 1073741823,
'risk_summary' => '<string>',
'target_terms' => '<string>',
'underwriter_assistant_name' => '<string>',
'underwriter_city' => '<string>',
'underwriter_contact_name' => '<string>',
'underwriter_country' => '<string>',
'underwriter_name' => '<string>',
'underwriter_state' => '<string>',
'underwriter_street' => '<string>',
'underwriter_street2' => '<string>',
'underwriter_zip' => '<string>',
'wholesale_broker_assistant_name' => '<string>',
'wholesale_broker_city' => '<string>',
'wholesale_broker_contact_name' => '<string>',
'wholesale_broker_country' => '<string>',
'wholesale_broker_email' => 'jsmith@example.com',
'wholesale_broker_name' => '<string>',
'wholesale_broker_state' => '<string>',
'wholesale_broker_street' => '<string>',
'wholesale_broker_street2' => '<string>',
'wholesale_broker_zip' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{id}"
payload := strings.NewReader("{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://vision.pingintel.com/api/v1/submission/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"broker_full_address": "<string>",
"cat_modeling_term_selectors_read_only": true,
"num_buildings": 123,
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_ofac_status": "N",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": true,
"is_rush": true,
"need_by_date": "2023-12-25",
"new_renewal": "New",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}Update Submission Details
Update properties of the submission. If you want to change the claimant or the workflow status, use v1/submission/bulkupdate instead.
curl --request PATCH \
--url https://vision.pingintel.com/api/v1/submission/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": true,
"is_rush": true,
"need_by_date": "2023-12-25",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}
'import requests
url = "https://vision.pingintel.com/api/v1/submission/{id}"
payload = {
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": True,
"is_rush": True,
"need_by_date": "2023-12-25",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
broker_assistant_name: '<string>',
broker_city: '<string>',
broker_contact_name: '<string>',
broker_country: '<string>',
broker_email: 'jsmith@example.com',
broker_fein: '<string>',
broker_license_number: '<string>',
broker_license_state: '<string>',
broker_name: '<string>',
broker_phone: '<string>',
broker_state: '<string>',
broker_street: '<string>',
broker_street2: '<string>',
broker_zip: '<string>',
ceding_company_assistant_name: '<string>',
ceding_company_city: '<string>',
ceding_company_country: '<string>',
ceding_company_name: '<string>',
ceding_company_state: '<string>',
ceding_company_street: '<string>',
ceding_company_street2: '<string>',
ceding_company_zip: '<string>',
client_ref: '<string>',
expiration_date: '2023-12-25',
fac_re_broker_company_assistant_name: '<string>',
fac_re_broker_company_city: '<string>',
fac_re_broker_company_contact_name: '<string>',
fac_re_broker_company_country: '<string>',
fac_re_broker_company_name: '<string>',
fac_re_broker_company_state: '<string>',
fac_re_broker_company_street: '<string>',
fac_re_broker_company_street2: '<string>',
fac_re_broker_company_zip: '<string>',
fac_re_company_assistant_name: '<string>',
fac_re_company_city: '<string>',
fac_re_company_contact_name: '<string>',
fac_re_company_country: '<string>',
fac_re_company_name: '<string>',
fac_re_company_state: '<string>',
fac_re_company_street: '<string>',
fac_re_company_street2: '<string>',
fac_re_company_zip: '<string>',
home_state: '<string>',
inception_date: '2023-12-25',
insured_business_description: '<string>',
insured_city: '<string>',
insured_contact_email: 'jsmith@example.com',
insured_contact_name: '<string>',
insured_contact_phone: '<string>',
insured_country: '<string>',
insured_fein: '<string>',
insured_gl_code: '<string>',
insured_name: '<string>',
insured_sic: '<string>',
insured_state: '<string>',
insured_street: '<string>',
insured_street2: '<string>',
insured_website: '<string>',
insured_zip: '<string>',
is_building_data_ready: true,
is_rush: true,
need_by_date: '2023-12-25',
primary_naics_code: 1073741823,
risk_summary: '<string>',
target_terms: '<string>',
underwriter_assistant_name: '<string>',
underwriter_city: '<string>',
underwriter_contact_name: '<string>',
underwriter_country: '<string>',
underwriter_name: '<string>',
underwriter_state: '<string>',
underwriter_street: '<string>',
underwriter_street2: '<string>',
underwriter_zip: '<string>',
wholesale_broker_assistant_name: '<string>',
wholesale_broker_city: '<string>',
wholesale_broker_contact_name: '<string>',
wholesale_broker_country: '<string>',
wholesale_broker_email: 'jsmith@example.com',
wholesale_broker_name: '<string>',
wholesale_broker_state: '<string>',
wholesale_broker_street: '<string>',
wholesale_broker_street2: '<string>',
wholesale_broker_zip: '<string>'
})
};
fetch('https://vision.pingintel.com/api/v1/submission/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vision.pingintel.com/api/v1/submission/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'broker_assistant_name' => '<string>',
'broker_city' => '<string>',
'broker_contact_name' => '<string>',
'broker_country' => '<string>',
'broker_email' => 'jsmith@example.com',
'broker_fein' => '<string>',
'broker_license_number' => '<string>',
'broker_license_state' => '<string>',
'broker_name' => '<string>',
'broker_phone' => '<string>',
'broker_state' => '<string>',
'broker_street' => '<string>',
'broker_street2' => '<string>',
'broker_zip' => '<string>',
'ceding_company_assistant_name' => '<string>',
'ceding_company_city' => '<string>',
'ceding_company_country' => '<string>',
'ceding_company_name' => '<string>',
'ceding_company_state' => '<string>',
'ceding_company_street' => '<string>',
'ceding_company_street2' => '<string>',
'ceding_company_zip' => '<string>',
'client_ref' => '<string>',
'expiration_date' => '2023-12-25',
'fac_re_broker_company_assistant_name' => '<string>',
'fac_re_broker_company_city' => '<string>',
'fac_re_broker_company_contact_name' => '<string>',
'fac_re_broker_company_country' => '<string>',
'fac_re_broker_company_name' => '<string>',
'fac_re_broker_company_state' => '<string>',
'fac_re_broker_company_street' => '<string>',
'fac_re_broker_company_street2' => '<string>',
'fac_re_broker_company_zip' => '<string>',
'fac_re_company_assistant_name' => '<string>',
'fac_re_company_city' => '<string>',
'fac_re_company_contact_name' => '<string>',
'fac_re_company_country' => '<string>',
'fac_re_company_name' => '<string>',
'fac_re_company_state' => '<string>',
'fac_re_company_street' => '<string>',
'fac_re_company_street2' => '<string>',
'fac_re_company_zip' => '<string>',
'home_state' => '<string>',
'inception_date' => '2023-12-25',
'insured_business_description' => '<string>',
'insured_city' => '<string>',
'insured_contact_email' => 'jsmith@example.com',
'insured_contact_name' => '<string>',
'insured_contact_phone' => '<string>',
'insured_country' => '<string>',
'insured_fein' => '<string>',
'insured_gl_code' => '<string>',
'insured_name' => '<string>',
'insured_sic' => '<string>',
'insured_state' => '<string>',
'insured_street' => '<string>',
'insured_street2' => '<string>',
'insured_website' => '<string>',
'insured_zip' => '<string>',
'is_building_data_ready' => true,
'is_rush' => true,
'need_by_date' => '2023-12-25',
'primary_naics_code' => 1073741823,
'risk_summary' => '<string>',
'target_terms' => '<string>',
'underwriter_assistant_name' => '<string>',
'underwriter_city' => '<string>',
'underwriter_contact_name' => '<string>',
'underwriter_country' => '<string>',
'underwriter_name' => '<string>',
'underwriter_state' => '<string>',
'underwriter_street' => '<string>',
'underwriter_street2' => '<string>',
'underwriter_zip' => '<string>',
'wholesale_broker_assistant_name' => '<string>',
'wholesale_broker_city' => '<string>',
'wholesale_broker_contact_name' => '<string>',
'wholesale_broker_country' => '<string>',
'wholesale_broker_email' => 'jsmith@example.com',
'wholesale_broker_name' => '<string>',
'wholesale_broker_state' => '<string>',
'wholesale_broker_street' => '<string>',
'wholesale_broker_street2' => '<string>',
'wholesale_broker_zip' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vision.pingintel.com/api/v1/submission/{id}"
payload := strings.NewReader("{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://vision.pingintel.com/api/v1/submission/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vision.pingintel.com/api/v1/submission/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"broker_assistant_name\": \"<string>\",\n \"broker_city\": \"<string>\",\n \"broker_contact_name\": \"<string>\",\n \"broker_country\": \"<string>\",\n \"broker_email\": \"jsmith@example.com\",\n \"broker_fein\": \"<string>\",\n \"broker_license_number\": \"<string>\",\n \"broker_license_state\": \"<string>\",\n \"broker_name\": \"<string>\",\n \"broker_phone\": \"<string>\",\n \"broker_state\": \"<string>\",\n \"broker_street\": \"<string>\",\n \"broker_street2\": \"<string>\",\n \"broker_zip\": \"<string>\",\n \"ceding_company_assistant_name\": \"<string>\",\n \"ceding_company_city\": \"<string>\",\n \"ceding_company_country\": \"<string>\",\n \"ceding_company_name\": \"<string>\",\n \"ceding_company_state\": \"<string>\",\n \"ceding_company_street\": \"<string>\",\n \"ceding_company_street2\": \"<string>\",\n \"ceding_company_zip\": \"<string>\",\n \"client_ref\": \"<string>\",\n \"expiration_date\": \"2023-12-25\",\n \"fac_re_broker_company_assistant_name\": \"<string>\",\n \"fac_re_broker_company_city\": \"<string>\",\n \"fac_re_broker_company_contact_name\": \"<string>\",\n \"fac_re_broker_company_country\": \"<string>\",\n \"fac_re_broker_company_name\": \"<string>\",\n \"fac_re_broker_company_state\": \"<string>\",\n \"fac_re_broker_company_street\": \"<string>\",\n \"fac_re_broker_company_street2\": \"<string>\",\n \"fac_re_broker_company_zip\": \"<string>\",\n \"fac_re_company_assistant_name\": \"<string>\",\n \"fac_re_company_city\": \"<string>\",\n \"fac_re_company_contact_name\": \"<string>\",\n \"fac_re_company_country\": \"<string>\",\n \"fac_re_company_name\": \"<string>\",\n \"fac_re_company_state\": \"<string>\",\n \"fac_re_company_street\": \"<string>\",\n \"fac_re_company_street2\": \"<string>\",\n \"fac_re_company_zip\": \"<string>\",\n \"home_state\": \"<string>\",\n \"inception_date\": \"2023-12-25\",\n \"insured_business_description\": \"<string>\",\n \"insured_city\": \"<string>\",\n \"insured_contact_email\": \"jsmith@example.com\",\n \"insured_contact_name\": \"<string>\",\n \"insured_contact_phone\": \"<string>\",\n \"insured_country\": \"<string>\",\n \"insured_fein\": \"<string>\",\n \"insured_gl_code\": \"<string>\",\n \"insured_name\": \"<string>\",\n \"insured_sic\": \"<string>\",\n \"insured_state\": \"<string>\",\n \"insured_street\": \"<string>\",\n \"insured_street2\": \"<string>\",\n \"insured_website\": \"<string>\",\n \"insured_zip\": \"<string>\",\n \"is_building_data_ready\": true,\n \"is_rush\": true,\n \"need_by_date\": \"2023-12-25\",\n \"primary_naics_code\": 1073741823,\n \"risk_summary\": \"<string>\",\n \"target_terms\": \"<string>\",\n \"underwriter_assistant_name\": \"<string>\",\n \"underwriter_city\": \"<string>\",\n \"underwriter_contact_name\": \"<string>\",\n \"underwriter_country\": \"<string>\",\n \"underwriter_name\": \"<string>\",\n \"underwriter_state\": \"<string>\",\n \"underwriter_street\": \"<string>\",\n \"underwriter_street2\": \"<string>\",\n \"underwriter_zip\": \"<string>\",\n \"wholesale_broker_assistant_name\": \"<string>\",\n \"wholesale_broker_city\": \"<string>\",\n \"wholesale_broker_contact_name\": \"<string>\",\n \"wholesale_broker_country\": \"<string>\",\n \"wholesale_broker_email\": \"jsmith@example.com\",\n \"wholesale_broker_name\": \"<string>\",\n \"wholesale_broker_state\": \"<string>\",\n \"wholesale_broker_street\": \"<string>\",\n \"wholesale_broker_street2\": \"<string>\",\n \"wholesale_broker_zip\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"broker_full_address": "<string>",
"cat_modeling_term_selectors_read_only": true,
"num_buildings": 123,
"broker_assistant_name": "<string>",
"broker_city": "<string>",
"broker_contact_name": "<string>",
"broker_country": "<string>",
"broker_email": "jsmith@example.com",
"broker_fein": "<string>",
"broker_license_number": "<string>",
"broker_license_state": "<string>",
"broker_name": "<string>",
"broker_phone": "<string>",
"broker_state": "<string>",
"broker_street": "<string>",
"broker_street2": "<string>",
"broker_zip": "<string>",
"ceding_company_assistant_name": "<string>",
"ceding_company_city": "<string>",
"ceding_company_country": "<string>",
"ceding_company_name": "<string>",
"ceding_company_state": "<string>",
"ceding_company_street": "<string>",
"ceding_company_street2": "<string>",
"ceding_company_zip": "<string>",
"client_ref": "<string>",
"expiration_date": "2023-12-25",
"fac_re_broker_company_assistant_name": "<string>",
"fac_re_broker_company_city": "<string>",
"fac_re_broker_company_contact_name": "<string>",
"fac_re_broker_company_country": "<string>",
"fac_re_broker_company_name": "<string>",
"fac_re_broker_company_state": "<string>",
"fac_re_broker_company_street": "<string>",
"fac_re_broker_company_street2": "<string>",
"fac_re_broker_company_zip": "<string>",
"fac_re_company_assistant_name": "<string>",
"fac_re_company_city": "<string>",
"fac_re_company_contact_name": "<string>",
"fac_re_company_country": "<string>",
"fac_re_company_name": "<string>",
"fac_re_company_state": "<string>",
"fac_re_company_street": "<string>",
"fac_re_company_street2": "<string>",
"fac_re_company_zip": "<string>",
"home_state": "<string>",
"inception_date": "2023-12-25",
"insured_business_description": "<string>",
"insured_city": "<string>",
"insured_contact_email": "jsmith@example.com",
"insured_contact_name": "<string>",
"insured_contact_phone": "<string>",
"insured_country": "<string>",
"insured_fein": "<string>",
"insured_gl_code": "<string>",
"insured_name": "<string>",
"insured_ofac_status": "N",
"insured_sic": "<string>",
"insured_state": "<string>",
"insured_street": "<string>",
"insured_street2": "<string>",
"insured_website": "<string>",
"insured_zip": "<string>",
"is_building_data_ready": true,
"is_rush": true,
"need_by_date": "2023-12-25",
"new_renewal": "New",
"primary_naics_code": 1073741823,
"risk_summary": "<string>",
"target_terms": "<string>",
"underwriter_assistant_name": "<string>",
"underwriter_city": "<string>",
"underwriter_contact_name": "<string>",
"underwriter_country": "<string>",
"underwriter_name": "<string>",
"underwriter_state": "<string>",
"underwriter_street": "<string>",
"underwriter_street2": "<string>",
"underwriter_zip": "<string>",
"wholesale_broker_assistant_name": "<string>",
"wholesale_broker_city": "<string>",
"wholesale_broker_contact_name": "<string>",
"wholesale_broker_country": "<string>",
"wholesale_broker_email": "jsmith@example.com",
"wholesale_broker_name": "<string>",
"wholesale_broker_state": "<string>",
"wholesale_broker_street": "<string>",
"wholesale_broker_street2": "<string>",
"wholesale_broker_zip": "<string>"
}Authorizations
Supports Token-prefixed API keys and Bearer-prefixed JWT-based authentication.
Path Parameters
The pingid of the submission.
Body
200020002000200025420002552000255255200020002000200025525525525525525525525520002552552552552552552552552552552552552552552552552552552552000254255255200020002552000N- Not RunU- UnblockedB- Blocked
N, U, B, , null 2552000200020002552000A flag to indicate that this submission is a rush job.
Whether the submission is for a new policy or a renewal.
New- NewRenewal- Renewal
New, Renewal, , null Primary NAICS code for the submission, denormalized from Location
0 <= x <= 2147483647AI generated risk summary (generated by InsuredAgent())
1000255255255255255255255255255255255255255255255255255255255Response
The number of buildings in the submission (denormalized from Location)
200020002000200025420002552000255255200020002000200025525525525525525525525520002552552552552552552552552552552552552552552552552552552552000254255255200020002552000N- Not RunU- UnblockedB- Blocked
N, U, B, , null 2552000200020002552000A flag to indicate that this submission is a rush job.
Whether the submission is for a new policy or a renewal.
New- NewRenewal- Renewal
New, Renewal, , null Primary NAICS code for the submission, denormalized from Location
0 <= x <= 2147483647AI generated risk summary (generated by InsuredAgent())
1000255255255255255255255255255255255255255255255255255255255