GET api/Zapier/GetPolicies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "database_id": "abacc105-ed84-48c6-81e7-5cffd3d4dcc6",
    "number": "sample string 2",
    "effective_date": "2019-11-17T17:39:31.8439142-06:00",
    "expiration_date": "2019-11-17T17:39:31.8439142-06:00",
    "bind_date": "2019-11-17T17:39:31.8439142-06:00",
    "business_type": 0,
    "business_sub_type": 0,
    "description": "sample string 3",
    "billing_type": 0,
    "insured_database_id": "837d045f-9490-418a-9fde-56cb91800555",
    "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"
    ]
  },
  {
    "database_id": "abacc105-ed84-48c6-81e7-5cffd3d4dcc6",
    "number": "sample string 2",
    "effective_date": "2019-11-17T17:39:31.8439142-06:00",
    "expiration_date": "2019-11-17T17:39:31.8439142-06:00",
    "bind_date": "2019-11-17T17:39:31.8439142-06:00",
    "business_type": 0,
    "business_sub_type": 0,
    "description": "sample string 3",
    "billing_type": 0,
    "insured_database_id": "837d045f-9490-418a-9fde-56cb91800555",
    "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"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicyOrQuoteIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations">
  <PolicyOrQuoteIntegrationModel>
    <AgencyCommissionPercent>1</AgencyCommissionPercent>
    <AgencyCommissionValue>1</AgencyCommissionValue>
    <AgencyFee>1</AgencyFee>
    <Agents xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Agents>
    <BillingType>Direct_Bill_100</BillingType>
    <BindDate>2019-11-17T17:39:31.8439142-06:00</BindDate>
    <BusinessSubType>AgentOfRecord</BusinessSubType>
    <BusinessType>New_Business</BusinessType>
    <CSRs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CSRs>
    <CarrierName>sample string 10</CarrierName>
    <DatabaseId>abacc105-ed84-48c6-81e7-5cffd3d4dcc6</DatabaseId>
    <Description>sample string 3</Description>
    <EffectiveDate>2019-11-17T17:39:31.8439142-06:00</EffectiveDate>
    <ExpirationDate>2019-11-17T17:39:31.8439142-06:00</ExpirationDate>
    <InsuredCommercialName>sample string 8</InsuredCommercialName>
    <InsuredDatabaseId>837d045f-9490-418a-9fde-56cb91800555</InsuredDatabaseId>
    <InsuredEmail>sample string 5</InsuredEmail>
    <InsuredFirstName>sample string 6</InsuredFirstName>
    <InsuredLastName>sample string 7</InsuredLastName>
    <LineOfBusinessName>sample string 9</LineOfBusinessName>
    <MgaName>sample string 11</MgaName>
    <Number>sample string 2</Number>
    <Premium>1</Premium>
    <Taxes>1</Taxes>
  </PolicyOrQuoteIntegrationModel>
  <PolicyOrQuoteIntegrationModel>
    <AgencyCommissionPercent>1</AgencyCommissionPercent>
    <AgencyCommissionValue>1</AgencyCommissionValue>
    <AgencyFee>1</AgencyFee>
    <Agents xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Agents>
    <BillingType>Direct_Bill_100</BillingType>
    <BindDate>2019-11-17T17:39:31.8439142-06:00</BindDate>
    <BusinessSubType>AgentOfRecord</BusinessSubType>
    <BusinessType>New_Business</BusinessType>
    <CSRs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CSRs>
    <CarrierName>sample string 10</CarrierName>
    <DatabaseId>abacc105-ed84-48c6-81e7-5cffd3d4dcc6</DatabaseId>
    <Description>sample string 3</Description>
    <EffectiveDate>2019-11-17T17:39:31.8439142-06:00</EffectiveDate>
    <ExpirationDate>2019-11-17T17:39:31.8439142-06:00</ExpirationDate>
    <InsuredCommercialName>sample string 8</InsuredCommercialName>
    <InsuredDatabaseId>837d045f-9490-418a-9fde-56cb91800555</InsuredDatabaseId>
    <InsuredEmail>sample string 5</InsuredEmail>
    <InsuredFirstName>sample string 6</InsuredFirstName>
    <InsuredLastName>sample string 7</InsuredLastName>
    <LineOfBusinessName>sample string 9</LineOfBusinessName>
    <MgaName>sample string 11</MgaName>
    <Number>sample string 2</Number>
    <Premium>1</Premium>
    <Taxes>1</Taxes>
  </PolicyOrQuoteIntegrationModel>
</ArrayOfPolicyOrQuoteIntegrationModel>