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": "ae582a9b-8aec-4843-947c-c1ab0db3b891", "insuredDatabaseId": "c53d3628-bf99-43f3-acfd-4da62b88b4cb", "insuredEmail": "sample string 3", "insuredFirstName": "sample string 4", "insuredLastName": "sample string 5", "databaseId": "d7fd7e88-2d5d-48b7-855b-7f3b016d59c2", "number": "sample string 7", "effectiveDate": "2024-12-12T08:31:57.4882271-06:00", "expirationDate": "2024-12-12T08:31:57.4882271-06:00", "bindDate": "2024-12-12T08:31:57.4882271-06:00", "businessType": 0, "businessSubType": 0, "description": "sample string 8", "billingType": 0, "insuredName": "sample string 9", "agents": [ { "databaseId": "3b1f11e2-248b-4d6c-b503-158c058ab86b", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "3b1f11e2-248b-4d6c-b503-158c058ab86b", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "3b1f11e2-248b-4d6c-b503-158c058ab86b", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "3b1f11e2-248b-4d6c-b503-158c058ab86b", "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-12-12T08:31:57.4882271-06:00", "manualStatus": 0, "cancellationDate": "2024-12-12T08:31:57.4882271-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": "83c3d267-1f18-4740-8bb4-1646ac2f6865", "referralSourceCompanyName": "sample string 17", "deleteBasePremiumFeesAndTaxes": true, "deleteExistingAgents": true, "parentPolicyId": "61516519-e05d-4cb6-9d34-f5b8789e3d8b", "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>3b1f11e2-248b-4d6c-b503-158c058ab86b</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>3b1f11e2-248b-4d6c-b503-158c058ab86b</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>2024-12-12T08:31:57.4882271-06:00</BindDate> <BinderId>sample string 13</BinderId> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs> <AgentBusiness> <DatabaseId>3b1f11e2-248b-4d6c-b503-158c058ab86b</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>3b1f11e2-248b-4d6c-b503-158c058ab86b</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CancellationDate>2024-12-12T08:31:57.4882271-06:00</CancellationDate> <CarrierName>sample string 11</CarrierName> <DatabaseId>d7fd7e88-2d5d-48b7-855b-7f3b016d59c2</DatabaseId> <DeleteBasePremiumFeesAndTaxes>true</DeleteBasePremiumFeesAndTaxes> <DeleteExistingAgents>true</DeleteExistingAgents> <DeleteOtherLob>true</DeleteOtherLob> <Description>sample string 8</Description> <EffectiveDate>2024-12-12T08:31:57.4882271-06:00</EffectiveDate> <ExpirationDate>2024-12-12T08:31:57.4882271-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>61516519-e05d-4cb6-9d34-f5b8789e3d8b</ParentPolicyId> <PolicyFee>1</PolicyFee> <PolicyURL>sample string 14</PolicyURL> <Premium>1</Premium> <PrimaryOfficeDatabaseId>83c3d267-1f18-4740-8bb4-1646ac2f6865</PrimaryOfficeDatabaseId> <ProductName>sample string 15</ProductName> <ReferralSourceCompanyName>sample string 17</ReferralSourceCompanyName> <Status>64</Status> <StatusChangeDate>2024-12-12T08:31:57.4882271-06:00</StatusChangeDate> <Taxes>1</Taxes> <InsuredDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">c53d3628-bf99-43f3-acfd-4da62b88b4cb</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>ae582a9b-8aec-4843-947c-c1ab0db3b891</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": "74473252-5131-4322-abdc-02ee5d9066af", "policyOrQuoteId": "233a8a56-a5fb-4b20-a299-7e8ac494f980", "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>233a8a56-a5fb-4b20-a299-7e8ac494f980</PolicyOrQuoteId> <objectURL>sample string 4</objectURL> <EndorsementId>74473252-5131-4322-abdc-02ee5d9066af</EndorsementId> </NowCertsApiResultWithPoliciesAndQuotesIdsAndEndorsementId>