POST api/Zapier/InsertUpdateCLRatingData
This endpoint is used to insert/update rating data against insured/prospect.
Request Information
URI Parameters
None.
Body Parameters
CLRatingDataModelName | Description | Type | Additional information |
---|---|---|---|
YearBizStarted | integer |
None. |
|
YearsOfOperation | integer |
None. |
|
NumberOfOwners | integer |
None. |
|
NumberOfFullTimeEmployees | integer |
None. |
|
NumberOfPartTimeEmployees | integer |
None. |
|
TotalPayroll | decimal number |
None. |
|
AnnualSales | decimal number |
None. |
|
NAIC | string |
None. |
|
SIC | string |
None. |
|
Status | integer |
None. |
|
Description | string |
None. |
|
InsuredDatabaseId | globally unique identifier |
None. |
|
InsuredEmail | string |
None. |
|
InsuredFirstName | string |
None. |
|
InsuredLastName | string |
None. |
|
InsuredCommercialName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "yearBizStarted": 1, "yearsOfOperation": 1, "numberOfOwners": 1, "numberOfFullTimeEmployees": 1, "numberOfPartTimeEmployees": 1, "totalPayroll": 1.0, "annualSales": 1.0, "naic": "sample string 1", "sic": "sample string 2", "status": 3, "description": "sample string 4", "insuredDatabaseId": "e731efe1-0140-4aa6-9de9-6c793eb0759b", "insuredEmail": "sample string 5", "insuredFirstName": "sample string 6", "insuredLastName": "sample string 7", "insuredCommercialName": "sample string 8" }
application/xml, text/xml
Sample:
<CLRatingDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models"> <AnnualSales>1</AnnualSales> <Description>sample string 4</Description> <InsuredCommercialName>sample string 8</InsuredCommercialName> <InsuredDatabaseId>e731efe1-0140-4aa6-9de9-6c793eb0759b</InsuredDatabaseId> <InsuredEmail>sample string 5</InsuredEmail> <InsuredFirstName>sample string 6</InsuredFirstName> <InsuredLastName>sample string 7</InsuredLastName> <NAIC>sample string 1</NAIC> <NumberOfFullTimeEmployees>1</NumberOfFullTimeEmployees> <NumberOfOwners>1</NumberOfOwners> <NumberOfPartTimeEmployees>1</NumberOfPartTimeEmployees> <SIC>sample string 2</SIC> <Status>3</Status> <TotalPayroll>1</TotalPayroll> <YearBizStarted>1</YearBizStarted> <YearsOfOperation>1</YearsOfOperation> </CLRatingDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithDatabaseIdName | Description | Type | Additional information |
---|---|---|---|
DatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "databaseId": "44be838c-75dd-466f-8665-5ce34c217bd3", "status": 0, "message": "sample string 2" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 2</Message> <Status>Error</Status> <DatabaseId>44be838c-75dd-466f-8665-5ce34c217bd3</DatabaseId> </NowCertsApiResultWithDatabaseId>