POST api/Zapier/InsertQuote
Insert/update quote.
Request Information
URI Parameters
None.
Body Parameters
PolicyOrQuoteIntegrationModelName | Description | Type | Additional information |
---|---|---|---|
database_id | globally unique identifier |
None. |
|
number | string |
Required |
|
effective_date | string |
None. |
|
expiration_date | string |
None. |
|
bind_date | string |
None. |
|
business_type | PolicyBusinessType |
None. |
|
business_sub_type | PolicyBusinessSubType |
None. |
|
description | string |
None. |
|
billing_type | PolicyBillingType |
None. |
|
insured_database_id | globally unique identifier |
None. |
|
insured_email | string |
None. |
|
insured_first_name | string |
None. |
|
insured_last_name | string |
None. |
|
insured_commercial_name | string |
None. |
|
line_of_business_name | string |
None. |
|
carrier_name | string |
None. |
|
mga_name | string |
None. |
|
premium | decimal number |
None. |
|
agency_commission_percent | decimal number |
None. |
|
agency_commission_value | decimal number |
None. |
|
agency_fee | decimal number |
None. |
|
taxes | decimal number |
None. |
|
agents | Collection of string |
None. |
|
csrs | Collection of string |
None. |
|
line_of_business | Collection of string |
None. |
|
finance_company_name | string |
None. |
|
non_premium | decimal number |
None. |
|
insured_greeting_name | string |
None. |
|
insured_insured_id | string |
None. |
|
insured_customer_id | string |
None. |
|
insured_address_line_1 | string |
None. |
|
insured_address_Line_2 | string |
None. |
|
insured_city | string |
None. |
|
insured_state | string |
None. |
|
insured_zip_code | string |
None. |
|
insured_phone_number | string |
None. |
|
insured_cell_phone | string |
None. |
|
insured_sms_phone | string |
None. |
|
insured_website | string |
None. |
|
insured_type | string |
None. |
|
status | string |
None. |
|
policy_url | string |
None. |
|
policy_term | integer |
None. |
|
policy_fee | decimal number |
None. |
|
product_name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "database_id": "6f1470ad-4dfd-40d1-a439-4e30789715d0", "number": "sample string 2", "effective_date": "sample string 3", "expiration_date": "sample string 4", "bind_date": "sample string 5", "business_type": 0, "business_sub_type": 0, "description": "sample string 6", "billing_type": 0, "insured_database_id": "231e0425-bd4f-4ba5-a5dc-0aa588a6f71f", "insured_email": "sample string 8", "insured_first_name": "sample string 9", "insured_last_name": "sample string 10", "insured_commercial_name": "sample string 11", "line_of_business_name": "sample string 13", "carrier_name": "sample string 14", "mga_name": "sample string 15", "premium": 1.0, "agency_commission_percent": 1.0, "agency_commission_value": 1.0, "agency_fee": 1.0, "taxes": 1.0, "agents": [ "sample string 1", "sample string 2" ], "csrs": [ "sample string 1", "sample string 2" ], "line_of_business": [ "sample string 1", "sample string 2" ], "finance_company_name": "sample string 19", "non_premium": 1.0, "insured_greeting_name": "sample string 20", "insured_insured_id": "sample string 21", "insured_customer_id": "sample string 22", "insured_address_line_1": "sample string 23", "insured_address_Line_2": "sample string 24", "insured_city": "sample string 25", "insured_state": "sample string 26", "insured_zip_code": "sample string 27", "insured_phone_number": "sample string 28", "insured_cell_phone": "sample string 29", "insured_sms_phone": "sample string 30", "insured_website": "sample string 31", "insured_type": "sample string 32", "status": "sample string 33", "policy_url": "sample string 34", "policy_term": 35, "policy_fee": 1.0, "product_name": "sample string 36" }
application/xml, text/xml
Sample:
<PolicyOrQuoteIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations"> <AgencyCommissionPercent>1</AgencyCommissionPercent> <AgencyCommissionValue>1</AgencyCommissionValue> <AgencyFee>1</AgencyFee> <Agents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Agents> <BillingType>Direct_Bill_100</BillingType> <BindDate>sample string 5</BindDate> <BusinessSubType>AgentOfRecord</BusinessSubType> <BusinessType>New_Business</BusinessType> <CSRs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CSRs> <CarrierName>sample string 14</CarrierName> <DatabaseId>6f1470ad-4dfd-40d1-a439-4e30789715d0</DatabaseId> <Description>sample string 6</Description> <EffectiveDate>sample string 3</EffectiveDate> <ExpirationDate>sample string 4</ExpirationDate> <FinanceCompanyName>sample string 19</FinanceCompanyName> <InsuredAddressLine1>sample string 23</InsuredAddressLine1> <InsuredAddressLine2>sample string 24</InsuredAddressLine2> <InsuredCellPhone>sample string 29</InsuredCellPhone> <InsuredCity>sample string 25</InsuredCity> <InsuredCommercialName>sample string 11</InsuredCommercialName> <InsuredDOT_Number>sample string 22</InsuredDOT_Number> <InsuredDatabaseId>231e0425-bd4f-4ba5-a5dc-0aa588a6f71f</InsuredDatabaseId> <InsuredEmail>sample string 8</InsuredEmail> <InsuredFirstName>sample string 9</InsuredFirstName> <InsuredGreetingName>sample string 20</InsuredGreetingName> <InsuredLastName>sample string 10</InsuredLastName> <InsuredMC_Number>sample string 21</InsuredMC_Number> <InsuredPhoneNumber>sample string 28</InsuredPhoneNumber> <InsuredSMSPhone>sample string 30</InsuredSMSPhone> <InsuredState>sample string 26</InsuredState> <InsuredType>sample string 32</InsuredType> <InsuredWebsite>sample string 31</InsuredWebsite> <InsuredZipCode>sample string 27</InsuredZipCode> <LineOfBusiness xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </LineOfBusiness> <LineOfBusinessName>sample string 13</LineOfBusinessName> <MgaName>sample string 15</MgaName> <NonPremium>1</NonPremium> <Number>sample string 2</Number> <PolicyFee>1</PolicyFee> <PolicyTerm>35</PolicyTerm> <PolicyURL>sample string 34</PolicyURL> <Premium>1</Premium> <ProductName>sample string 36</ProductName> <SerializeAgencyCommissionPercent>true</SerializeAgencyCommissionPercent> <SerializeAgencyFee>true</SerializeAgencyFee> <SerializeLineOfBusinessName>true</SerializeLineOfBusinessName> <SerializeTaxes>true</SerializeTaxes> <Status>sample string 33</Status> <Taxes>1</Taxes> </PolicyOrQuoteIntegrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithInsuredAndDatabaseIdName | Description | Type | Additional information |
---|---|---|---|
InsuredDatabaseId | globally unique identifier |
None. |
|
DatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "insuredDatabaseId": "d8f56606-0f4e-470b-bdf2-b9c4eda791fe", "databaseId": "902d2d58-d587-48cd-b8c5-fbb237252f8c", "status": 0, "message": "sample string 3" }
application/xml, text/xml
Sample:
<NowCertsApiResultWithInsuredAndDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 3</Message> <Status>Error</Status> <DatabaseId>902d2d58-d587-48cd-b8c5-fbb237252f8c</DatabaseId> <InsuredDatabaseId>d8f56606-0f4e-470b-bdf2-b9c4eda791fe</InsuredDatabaseId> </NowCertsApiResultWithInsuredAndDatabaseId>