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. |
Request Formats
application/json, text/json
Sample:
{ "endorsementId": "5ca3d101-1020-4485-a91c-f01b00472c4e", "insuredDatabaseId": "6bb154e3-6d69-4357-91e4-530ef219180e", "insuredEmail": "sample string 3", "insuredFirstName": "sample string 4", "insuredLastName": "sample string 5", "databaseId": "1d8c13ac-77c8-424f-a66b-4c90f5f7621b", "number": "sample string 7", "effectiveDate": "2024-04-25T17:42:03.653098-05:00", "expirationDate": "2024-04-25T17:42:03.653098-05:00", "bindDate": "2024-04-25T17:42:03.653098-05:00", "businessType": 0, "businessSubType": 0, "description": "sample string 8", "billingType": 0, "insuredName": "sample string 9", "agents": [ { "databaseId": "9eac471c-fea6-47ff-8f72-1b19e6660950", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "9eac471c-fea6-47ff-8f72-1b19e6660950", "firstName": "sample string 2", "lastName": "sample string 3" } ], "csRs": [ { "databaseId": "9eac471c-fea6-47ff-8f72-1b19e6660950", "firstName": "sample string 2", "lastName": "sample string 3" }, { "databaseId": "9eac471c-fea6-47ff-8f72-1b19e6660950", "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-04-25T17:42:03.653098-05:00", "manualStatus": 0, "cancellationDate": "2024-04-25T17:42:03.653098-05: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": "83e43e23-86da-4582-90ec-d0a6bf42d5f8" }
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>9eac471c-fea6-47ff-8f72-1b19e6660950</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>9eac471c-fea6-47ff-8f72-1b19e6660950</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>2024-04-25T17:42:03.653098-05:00</BindDate> <BinderId>sample string 13</BinderId> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs> <AgentBusiness> <DatabaseId>9eac471c-fea6-47ff-8f72-1b19e6660950</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> <AgentBusiness> <DatabaseId>9eac471c-fea6-47ff-8f72-1b19e6660950</DatabaseId> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </AgentBusiness> </CSRs> <CancellationDate>2024-04-25T17:42:03.653098-05:00</CancellationDate> <CarrierName>sample string 11</CarrierName> <DatabaseId>1d8c13ac-77c8-424f-a66b-4c90f5f7621b</DatabaseId> <DeleteOtherLob>true</DeleteOtherLob> <Description>sample string 8</Description> <EffectiveDate>2024-04-25T17:42:03.653098-05:00</EffectiveDate> <ExpirationDate>2024-04-25T17:42:03.653098-05:00</ExpirationDate> <InsuredName>sample string 9</InsuredName> <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> <PolicyFee>1</PolicyFee> <PolicyURL>sample string 14</PolicyURL> <Premium>1</Premium> <PrimaryOfficeDatabaseId>83e43e23-86da-4582-90ec-d0a6bf42d5f8</PrimaryOfficeDatabaseId> <ProductName>sample string 15</ProductName> <Status>64</Status> <StatusChangeDate>2024-04-25T17:42:03.653098-05:00</StatusChangeDate> <Taxes>1</Taxes> <InsuredDatabaseId xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.Contracts">6bb154e3-6d69-4357-91e4-530ef219180e</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>5ca3d101-1020-4485-a91c-f01b00472c4e</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": "cb081c03-0114-4a71-9adb-fad521aadf5f", "policyOrQuoteId": "88d7cb1e-b572-4122-aaeb-ab861815c271", "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>88d7cb1e-b572-4122-aaeb-ab861815c271</PolicyOrQuoteId> <objectURL>sample string 4</objectURL> <EndorsementId>cb081c03-0114-4a71-9adb-fad521aadf5f</EndorsementId> </NowCertsApiResultWithPoliciesAndQuotesIdsAndEndorsementId>