POST api/Quote/Insert
Insert/update quote/policy. Alternative methods are supplied, kindly used them.
Request Information
URI Parameters
None.
Body Parameters
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": "fbda561a-57db-4f0f-9784-f47b049b8c95", "insuredEmail": "sample string 2", "insuredFirstName": "sample string 3", "insuredLastName": "sample string 4", "databaseId": "e818c557-837e-4245-affd-e2dfaadd2d4b", "number": "sample string 6", "effectiveDate": "2024-12-10T09:26:52.0224604-06:00", "expirationDate": "2024-12-10T09:26:52.0224604-06:00", "bindDate": "2024-12-10T09:26:52.0224604-06:00", "businessType": 0, "businessSubType": 0, "description": "sample string 7", "billingType": 0, "insuredName": "sample string 8", "agents": [ { "databaseId": "abcf94fd-e21c-4488-8dd2-9ea47d6a98d7", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "abcf94fd-e21c-4488-8dd2-9ea47d6a98d7", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "abcf94fd-e21c-4488-8dd2-9ea47d6a98d7", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "abcf94fd-e21c-4488-8dd2-9ea47d6a98d7", "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": "2024-12-10T09:26:52.0224604-06:00", "manualStatus": 0, "cancellationDate": "2024-12-10T09:26:52.0224604-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": "eca351bd-e91d-4a7c-9bdc-5da6672ea461", "referralSourceCompanyName": "sample string 16", "deleteBasePremiumFeesAndTaxes": true, "deleteExistingAgents": true, "parentPolicyId": "4cff61e5-c7c5-4f4a-84b4-45e1734111bc", "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>abcf94fd-e21c-4488-8dd2-9ea47d6a98d7</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>abcf94fd-e21c-4488-8dd2-9ea47d6a98d7</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>2024-12-10T09:26:52.0224604-06:00</BindDate> <BinderId>sample string 12</BinderId> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs> <AgentBusiness> <DatabaseId>abcf94fd-e21c-4488-8dd2-9ea47d6a98d7</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>abcf94fd-e21c-4488-8dd2-9ea47d6a98d7</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CancellationDate>2024-12-10T09:26:52.0224604-06:00</CancellationDate> <CarrierName>sample string 10</CarrierName> <DatabaseId>e818c557-837e-4245-affd-e2dfaadd2d4b</DatabaseId> <DeleteBasePremiumFeesAndTaxes>true</DeleteBasePremiumFeesAndTaxes> <DeleteExistingAgents>true</DeleteExistingAgents> <DeleteOtherLob>true</DeleteOtherLob> <Description>sample string 7</Description> <EffectiveDate>2024-12-10T09:26:52.0224604-06:00</EffectiveDate> <ExpirationDate>2024-12-10T09:26:52.0224604-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>4cff61e5-c7c5-4f4a-84b4-45e1734111bc</ParentPolicyId> <PolicyFee>1</PolicyFee> <PolicyURL>sample string 13</PolicyURL> <Premium>1</Premium> <PrimaryOfficeDatabaseId>eca351bd-e91d-4a7c-9bdc-5da6672ea461</PrimaryOfficeDatabaseId> <ProductName>sample string 14</ProductName> <ReferralSourceCompanyName>sample string 16</ReferralSourceCompanyName> <Status>64</Status> <StatusChangeDate>2024-12-10T09:26:52.0224604-06:00</StatusChangeDate> <Taxes>1</Taxes> <InsuredDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">fbda561a-57db-4f0f-9784-f47b049b8c95</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": "c6ec72c7-071c-4c09-a74c-1ef18c282a23", "isQuote": true, "objectURL": "sample string 3", "status": 0, "message": "sample string 4" }, { "policyOrQuoteId": "c6ec72c7-071c-4c09-a74c-1ef18c282a23", "isQuote": true, "objectURL": "sample string 3", "status": 0, "message": "sample string 4" } ], "insuredDatabaseId": "c2747d96-ba96-4e22-83cc-7027ecb9fd37", "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>c2747d96-ba96-4e22-83cc-7027ecb9fd37</InsuredDatabaseId> <PoliciesOrQuotes> <NowCertsApiResultWithPoliciesAndQuotesIds> <Message>sample string 4</Message> <Status>Error</Status> <IsQuote>true</IsQuote> <PolicyOrQuoteId>c6ec72c7-071c-4c09-a74c-1ef18c282a23</PolicyOrQuoteId> <objectURL>sample string 3</objectURL> </NowCertsApiResultWithPoliciesAndQuotesIds> <NowCertsApiResultWithPoliciesAndQuotesIds> <Message>sample string 4</Message> <Status>Error</Status> <IsQuote>true</IsQuote> <PolicyOrQuoteId>c6ec72c7-071c-4c09-a74c-1ef18c282a23</PolicyOrQuoteId> <objectURL>sample string 3</objectURL> </NowCertsApiResultWithPoliciesAndQuotesIds> </PoliciesOrQuotes> </NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds>