POST api/Policy/InsertWithEndorementId
Insert/update policy
Request Information
URI Parameters
None.
Body Parameters
NCPolicyWithEndorsementId properties
NCPolicyWithEndorsementIdName | Description | Type | Additional information |
---|---|---|---|
EndorsementId | globally unique identifier |
None. |
|
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:
{ "endorsementId": "96424fa3-bc15-467b-b9d2-c025b58d3037", "insuredDatabaseId": "c75f52fc-f42f-4d74-94ee-39d561e2e10b", "insuredEmail": "sample string 3", "insuredFirstName": "sample string 4", "insuredLastName": "sample string 5", "databaseId": "5280ce11-7acd-4b7a-bd65-19e30525766f", "number": "sample string 7", "effectiveDate": "2024-11-21T02:53:15.5714644-06:00", "expirationDate": "2024-11-21T02:53:15.5714644-06:00", "bindDate": "2024-11-21T02:53:15.5714644-06:00", "businessType": 0, "businessSubType": 0, "description": "sample string 8", "billingType": 0, "insuredName": "sample string 9", "agents": [ { "databaseId": "00456bee-12d6-446e-99ba-15ce2c9a2899", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "00456bee-12d6-446e-99ba-15ce2c9a2899", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "00456bee-12d6-446e-99ba-15ce2c9a2899", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "00456bee-12d6-446e-99ba-15ce2c9a2899", "firstName": "sample string 2", "lastName": "sample string 3" } ], "lineOfBusinessName": "sample string 10", "carrierName": "sample string 11", "mgaName": "sample string 12", "premium": 1.0, "agencyCommissionPercent": 1.0, "agencyCommissionValue": 1.0, "agencyFee": 1.0, "taxes": 1.0, "binderId": "sample string 13", "status": 64, "statusChangeDate": "2024-11-21T02:53:15.5714644-06:00", "manualStatus": 0, "cancellationDate": "2024-11-21T02:53:15.5714644-06:00", "policyFee": 1.0, "policyURL": "sample string 14", "productName": "sample string 15", "oldPremium": 1.0, "oldAgencyCommissionValue": 1.0, "oldAgencyFee": 1.0, "oldTaxes": 1.0, "deleteOtherLob": true, "primaryOfficeDatabaseId": "d3f35263-367f-4b47-a854-7721b23dcf03", "referralSourceCompanyName": "sample string 17", "deleteBasePremiumFeesAndTaxes": true, "deleteExistingAgents": true, "parentPolicyId": "6a521d13-cb10-426c-8cad-c4d3e77d0bc5", "isPolicyRenewal": true }
application/xml, text/xml
Sample:
<NCPolicyWithEndorsementId 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>00456bee-12d6-446e-99ba-15ce2c9a2899</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>00456bee-12d6-446e-99ba-15ce2c9a2899</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>2024-11-21T02:53:15.5714644-06:00</BindDate> <BinderId>sample string 13</BinderId> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs> <AgentBusiness> <DatabaseId>00456bee-12d6-446e-99ba-15ce2c9a2899</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>00456bee-12d6-446e-99ba-15ce2c9a2899</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CancellationDate>2024-11-21T02:53:15.5714644-06:00</CancellationDate> <CarrierName>sample string 11</CarrierName> <DatabaseId>5280ce11-7acd-4b7a-bd65-19e30525766f</DatabaseId> <DeleteBasePremiumFeesAndTaxes>true</DeleteBasePremiumFeesAndTaxes> <DeleteExistingAgents>true</DeleteExistingAgents> <DeleteOtherLob>true</DeleteOtherLob> <Description>sample string 8</Description> <EffectiveDate>2024-11-21T02:53:15.5714644-06:00</EffectiveDate> <ExpirationDate>2024-11-21T02:53:15.5714644-06:00</ExpirationDate> <InsuredName>sample string 9</InsuredName> <IsPolicyRenewal>true</IsPolicyRenewal> <LineOfBusinessName>sample string 10</LineOfBusinessName> <ManualStatus>Active</ManualStatus> <MgaName>sample string 12</MgaName> <Number>sample string 7</Number> <OldAgencyCommissionValue>1</OldAgencyCommissionValue> <OldAgencyFee>1</OldAgencyFee> <OldPremium>1</OldPremium> <OldTaxes>1</OldTaxes> <ParentPolicyId>6a521d13-cb10-426c-8cad-c4d3e77d0bc5</ParentPolicyId> <PolicyFee>1</PolicyFee> <PolicyURL>sample string 14</PolicyURL> <Premium>1</Premium> <PrimaryOfficeDatabaseId>d3f35263-367f-4b47-a854-7721b23dcf03</PrimaryOfficeDatabaseId> <ProductName>sample string 15</ProductName> <ReferralSourceCompanyName>sample string 17</ReferralSourceCompanyName> <Status>64</Status> <StatusChangeDate>2024-11-21T02:53:15.5714644-06:00</StatusChangeDate> <Taxes>1</Taxes> <InsuredDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">c75f52fc-f42f-4d74-94ee-39d561e2e10b</InsuredDatabaseId> <InsuredEmail xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 3</InsuredEmail> <InsuredFirstName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 4</InsuredFirstName> <InsuredLastName xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">sample string 5</InsuredLastName> <EndorsementId>96424fa3-bc15-467b-b9d2-c025b58d3037</EndorsementId> </NCPolicyWithEndorsementId>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithPoliciesAndQuotesIdsAndEndorsementIdName | Description | Type | Additional information |
---|---|---|---|
EndorsementId | globally unique identifier |
None. |
|
PolicyOrQuoteId | globally unique identifier |
None. |
|
IsQuote | boolean |
None. |
|
objectURL | string |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "endorsementId": "d1cb01fc-3ec5-4285-b975-237f0cfa7005", "policyOrQuoteId": "364ceb54-9a57-4c0b-80de-7b90dadb1080", "isQuote": true, "objectURL": "sample string 4", "status": 0, "message": "sample string 5" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithPoliciesAndQuotesIdsAndEndorsementId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 5</Message> <Status>Error</Status> <IsQuote>true</IsQuote> <PolicyOrQuoteId>364ceb54-9a57-4c0b-80de-7b90dadb1080</PolicyOrQuoteId> <objectURL>sample string 4</objectURL> <EndorsementId>d1cb01fc-3ec5-4285-b975-237f0cfa7005</EndorsementId> </NowCertsApiResultWithPoliciesAndQuotesIdsAndEndorsementId>