POST api/Zapier/InsertPolicy

Request Information

URI Parameters

None.

Body Parameters

PolicyOrQuoteIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

number

string

Required

effective_date

date

None.

expiration_date

date

None.

bind_date

date

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.

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.

Request Formats

application/json, text/json

Sample:
{
  "database_id": "934f1051-c5d5-46f2-8970-dfe27752e32b",
  "number": "sample string 2",
  "effective_date": "2020-10-28T16:20:03.788483-06:00",
  "expiration_date": "2020-10-28T16:20:03.788483-06:00",
  "bind_date": "2020-10-28T16:20:03.788483-06:00",
  "business_type": 0,
  "business_sub_type": 0,
  "description": "sample string 3",
  "billing_type": 0,
  "insured_database_id": "0fe95703-fab0-4821-bac5-8a5186dd1b39",
  "insured_email": "sample string 5",
  "insured_first_name": "sample string 6",
  "insured_last_name": "sample string 7",
  "insured_commercial_name": "sample string 8",
  "line_of_business_name": "sample string 9",
  "carrier_name": "sample string 10",
  "mga_name": "sample string 11",
  "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"
  ],
  "insured_greeting_name": "sample string 12",
  "insured_insured_id": "sample string 13",
  "insured_customer_id": "sample string 14",
  "insured_address_line_1": "sample string 15",
  "insured_address_Line_2": "sample string 16",
  "insured_city": "sample string 17",
  "insured_state": "sample string 18",
  "insured_zip_code": "sample string 19",
  "insured_phone_number": "sample string 20",
  "insured_cell_phone": "sample string 21",
  "insured_sms_phone": "sample string 22",
  "insured_website": "sample string 23",
  "insured_type": "sample string 24"
}

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>2020-10-28T16:20:03.788483-06:00</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 10</CarrierName>
  <DatabaseId>934f1051-c5d5-46f2-8970-dfe27752e32b</DatabaseId>
  <Description>sample string 3</Description>
  <EffectiveDate>2020-10-28T16:20:03.788483-06:00</EffectiveDate>
  <ExpirationDate>2020-10-28T16:20:03.788483-06:00</ExpirationDate>
  <InsuredAddressLine1>sample string 15</InsuredAddressLine1>
  <InsuredAddressLine2>sample string 16</InsuredAddressLine2>
  <InsuredCellPhone>sample string 21</InsuredCellPhone>
  <InsuredCity>sample string 17</InsuredCity>
  <InsuredCommercialName>sample string 8</InsuredCommercialName>
  <InsuredDOT_Number>sample string 14</InsuredDOT_Number>
  <InsuredDatabaseId>0fe95703-fab0-4821-bac5-8a5186dd1b39</InsuredDatabaseId>
  <InsuredEmail>sample string 5</InsuredEmail>
  <InsuredFirstName>sample string 6</InsuredFirstName>
  <InsuredGreetingName>sample string 12</InsuredGreetingName>
  <InsuredLastName>sample string 7</InsuredLastName>
  <InsuredMC_Number>sample string 13</InsuredMC_Number>
  <InsuredPhoneNumber>sample string 20</InsuredPhoneNumber>
  <InsuredSMSPhone>sample string 22</InsuredSMSPhone>
  <InsuredState>sample string 18</InsuredState>
  <InsuredType>sample string 24</InsuredType>
  <InsuredWebsite>sample string 23</InsuredWebsite>
  <InsuredZipCode>sample string 19</InsuredZipCode>
  <LineOfBusinessName>sample string 9</LineOfBusinessName>
  <MgaName>sample string 11</MgaName>
  <Number>sample string 2</Number>
  <Premium>1</Premium>
  <Taxes>1</Taxes>
</PolicyOrQuoteIntegrationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResult
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResult>