POST api/Policy/Insert
Insert/update policy
Request Information
URI Parameters
None.
Body Parameters
NcPolicyOrQuoteMatch properties
NcPolicyOrQuoteMatchName | Description | Type | Additional information |
---|---|---|---|
InsuredDatabaseId | globally unique identifier |
None. |
|
InsuredEmail | string |
None. |
|
InsuredFirstName | string |
None. |
|
InsuredLastName | string |
None. |
|
DatabaseId | globally unique identifier |
None. |
|
Number | string |
None. |
|
EffectiveDate | date |
None. |
|
ExpirationDate | date |
None. |
|
BindDate | date |
None. |
|
BusinessType | PolicyBusinessType |
None. |
|
BusinessSubType | PolicyBusinessSubType |
None. |
|
Description | string |
None. |
|
BillingType | PolicyBillingType |
None. |
|
InsuredName | string |
None. |
|
Agents | Collection of AgentBusiness |
None. |
|
CSRs | Collection of AgentBusiness |
None. |
|
LineOfBusinessName | string |
None. |
|
CarrierName | string |
None. |
|
MgaName | string |
None. |
|
Premium | decimal number |
None. |
|
AgencyCommissionPercent | decimal number |
None. |
|
AgencyCommissionValue | decimal number |
None. |
|
AgencyFee | decimal number |
None. |
|
Taxes | decimal number |
None. |
|
BinderId | string |
None. |
|
Status | byte |
None. |
|
StatusChangeDate | date |
None. |
|
ManualStatus | PolicyStatus |
None. |
|
CancellationDate | date |
None. |
|
PolicyFee | decimal number |
None. |
|
PolicyURL | string |
None. |
|
ProductName | string |
None. |
|
OldPremium | decimal number |
None. |
|
OldAgencyCommissionValue | decimal number |
None. |
|
OldAgencyFee | decimal number |
None. |
|
OldTaxes | decimal number |
None. |
|
DeleteOtherLob | boolean |
None. |
|
PrimaryOfficeDatabaseId | globally unique identifier |
None. |
|
ReferralSourceCompanyName | string |
None. |
|
DeleteBasePremiumFeesAndTaxes | boolean |
None. |
|
DeleteExistingAgents | boolean |
None. |
|
ParentPolicyId | globally unique identifier |
None. |
|
IsPolicyRenewal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "insuredDatabaseId": "4e4abb1e-2567-4a79-8752-1b0a72283d60", "insuredEmail": "sample string 2", "insuredFirstName": "sample string 3", "insuredLastName": "sample string 4", "databaseId": "5502708e-e711-45d7-a350-aff83d03be38", "number": "sample string 6", "effectiveDate": "2025-01-16T22:52:51.3859742-06:00", "expirationDate": "2025-01-16T22:52:51.3859742-06:00", "bindDate": "2025-01-16T22:52:51.3859742-06:00", "businessType": 0, "businessSubType": 0, "description": "sample string 7", "billingType": 0, "insuredName": "sample string 8", "agents": [ { "databaseId": "ed80d377-2278-4028-a841-4c04fa89aac6", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "ed80d377-2278-4028-a841-4c04fa89aac6", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "ed80d377-2278-4028-a841-4c04fa89aac6", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "ed80d377-2278-4028-a841-4c04fa89aac6", "firstName": "sample string 2", "lastName": "sample string 3" } ], "lineOfBusinessName": "sample string 9", "carrierName": "sample string 10", "mgaName": "sample string 11", "premium": 1.0, "agencyCommissionPercent": 1.0, "agencyCommissionValue": 1.0, "agencyFee": 1.0, "taxes": 1.0, "binderId": "sample string 12", "status": 64, "statusChangeDate": "2025-01-16T22:52:51.3859742-06:00", "manualStatus": 0, "cancellationDate": "2025-01-16T22:52:51.3859742-06:00", "policyFee": 1.0, "policyURL": "sample string 13", "productName": "sample string 14", "oldPremium": 1.0, "oldAgencyCommissionValue": 1.0, "oldAgencyFee": 1.0, "oldTaxes": 1.0, "deleteOtherLob": true, "primaryOfficeDatabaseId": "15557b12-d44a-4a13-82cd-c0184be8409e", "referralSourceCompanyName": "sample string 16", "deleteBasePremiumFeesAndTaxes": true, "deleteExistingAgents": true, "parentPolicyId": "fdad2524-4e9f-4097-b625-afd374b72296", "isPolicyRenewal": true }
application/xml, text/xml
Sample:
<NcPolicyOrQuoteMatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <AgencyCommissionPercent>1</AgencyCommissionPercent> <AgencyCommissionValue>1</AgencyCommissionValue> <AgencyFee>1</AgencyFee> <Agents> <AgentBusiness> <DatabaseId>ed80d377-2278-4028-a841-4c04fa89aac6</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>ed80d377-2278-4028-a841-4c04fa89aac6</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>2025-01-16T22:52:51.3859742-06:00</BindDate> <BinderId>sample string 12</BinderId> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs> <AgentBusiness> <DatabaseId>ed80d377-2278-4028-a841-4c04fa89aac6</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>ed80d377-2278-4028-a841-4c04fa89aac6</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CancellationDate>2025-01-16T22:52:51.3859742-06:00</CancellationDate> <CarrierName>sample string 10</CarrierName> <DatabaseId>5502708e-e711-45d7-a350-aff83d03be38</DatabaseId> <DeleteBasePremiumFeesAndTaxes>true</DeleteBasePremiumFeesAndTaxes> <DeleteExistingAgents>true</DeleteExistingAgents> <DeleteOtherLob>true</DeleteOtherLob> <Description>sample string 7</Description> <EffectiveDate>2025-01-16T22:52:51.3859742-06:00</EffectiveDate> <ExpirationDate>2025-01-16T22:52:51.3859742-06:00</ExpirationDate> <InsuredName>sample string 8</InsuredName> <IsPolicyRenewal>true</IsPolicyRenewal> <LineOfBusinessName>sample string 9</LineOfBusinessName> <ManualStatus>Active</ManualStatus> <MgaName>sample string 11</MgaName> <Number>sample string 6</Number> <OldAgencyCommissionValue>1</OldAgencyCommissionValue> <OldAgencyFee>1</OldAgencyFee> <OldPremium>1</OldPremium> <OldTaxes>1</OldTaxes> <ParentPolicyId>fdad2524-4e9f-4097-b625-afd374b72296</ParentPolicyId> <PolicyFee>1</PolicyFee> <PolicyURL>sample string 13</PolicyURL> <Premium>1</Premium> <PrimaryOfficeDatabaseId>15557b12-d44a-4a13-82cd-c0184be8409e</PrimaryOfficeDatabaseId> <ProductName>sample string 14</ProductName> <ReferralSourceCompanyName>sample string 16</ReferralSourceCompanyName> <Status>64</Status> <StatusChangeDate>2025-01-16T22:52:51.3859742-06:00</StatusChangeDate> <Taxes>1</Taxes> <InsuredDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">4e4abb1e-2567-4a79-8752-1b0a72283d60</InsuredDatabaseId> <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 2</InsuredEmail> <InsuredFirstName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 3</InsuredFirstName> <InsuredLastName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 4</InsuredLastName> </NcPolicyOrQuoteMatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithInsuredAndPoliciesAndQuotesIdsName | Description | Type | Additional information |
---|---|---|---|
PoliciesOrQuotes | Collection of NowCertsApiResultWithPoliciesAndQuotesIds |
None. |
|
InsuredDatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "policiesOrQuotes": [ { "policyOrQuoteId": "871e3e6e-a4c3-41a4-bae6-d33103ce1279", "isQuote": true, "objectURL": "sample string 3", "status": 0, "message": "sample string 4" }, { "policyOrQuoteId": "871e3e6e-a4c3-41a4-bae6-d33103ce1279", "isQuote": true, "objectURL": "sample string 3", "status": 0, "message": "sample string 4" } ], "insuredDatabaseId": "54a60edf-3d2b-43af-855b-716c52d90896", "status": 0, "message": "sample string 2" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds 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> <InsuredDatabaseId>54a60edf-3d2b-43af-855b-716c52d90896</InsuredDatabaseId> <PoliciesOrQuotes> <NowCertsApiResultWithPoliciesAndQuotesIds> <Message>sample string 4</Message> <Status>Error</Status> <IsQuote>true</IsQuote> <PolicyOrQuoteId>871e3e6e-a4c3-41a4-bae6-d33103ce1279</PolicyOrQuoteId> <objectURL>sample string 3</objectURL> </NowCertsApiResultWithPoliciesAndQuotesIds> <NowCertsApiResultWithPoliciesAndQuotesIds> <Message>sample string 4</Message> <Status>Error</Status> <IsQuote>true</IsQuote> <PolicyOrQuoteId>871e3e6e-a4c3-41a4-bae6-d33103ce1279</PolicyOrQuoteId> <objectURL>sample string 3</objectURL> </NowCertsApiResultWithPoliciesAndQuotesIds> </PoliciesOrQuotes> </NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds>