GET api/Zapier/GetOpportunities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OpportunityIntegrationModel
NameDescriptionTypeAdditional information
database_id

globally unique identifier

None.

line_of_business_name

string

Required

needed_by

date

Required

opportunity_stage_name

string

Required

current_stage_due_date

date

None.

referral_source_name

string

None.

referral_source_contact_name

string

None.

win_probability

string

Required

agency_commission

decimal number

Required

assigned_to

Collection of string

Required

description

string

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.

policy_numbers

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "database_id": "2d275862-4223-40b2-a16c-5b7e9018d521",
    "line_of_business_name": "sample string 2",
    "needed_by": "2019-11-22T03:51:15.3193742-06:00",
    "opportunity_stage_name": "sample string 4",
    "current_stage_due_date": "2019-11-22T03:51:15.3193742-06:00",
    "referral_source_name": "sample string 5",
    "referral_source_contact_name": "sample string 6",
    "win_probability": "sample string 7",
    "agency_commission": 8.0,
    "assigned_to": [
      "sample string 1",
      "sample string 2"
    ],
    "description": "sample string 9",
    "insured_database_id": "949b210c-0be5-44b0-bc89-7fc3369de7d5",
    "insured_email": "sample string 10",
    "insured_first_name": "sample string 11",
    "insured_last_name": "sample string 12",
    "insured_commercial_name": "sample string 13",
    "policy_numbers": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "database_id": "2d275862-4223-40b2-a16c-5b7e9018d521",
    "line_of_business_name": "sample string 2",
    "needed_by": "2019-11-22T03:51:15.3193742-06:00",
    "opportunity_stage_name": "sample string 4",
    "current_stage_due_date": "2019-11-22T03:51:15.3193742-06:00",
    "referral_source_name": "sample string 5",
    "referral_source_contact_name": "sample string 6",
    "win_probability": "sample string 7",
    "agency_commission": 8.0,
    "assigned_to": [
      "sample string 1",
      "sample string 2"
    ],
    "description": "sample string 9",
    "insured_database_id": "949b210c-0be5-44b0-bc89-7fc3369de7d5",
    "insured_email": "sample string 10",
    "insured_first_name": "sample string 11",
    "insured_last_name": "sample string 12",
    "insured_commercial_name": "sample string 13",
    "policy_numbers": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfOpportunityIntegrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations">
  <OpportunityIntegrationModel>
    <AgencyCommission>8</AgencyCommission>
    <AssignedTo xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AssignedTo>
    <CurrentStageDueDate>2019-11-22T03:51:15.3193742-06:00</CurrentStageDueDate>
    <DatabaseId>2d275862-4223-40b2-a16c-5b7e9018d521</DatabaseId>
    <Description>sample string 9</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>949b210c-0be5-44b0-bc89-7fc3369de7d5</InsuredDatabaseId>
    <InsuredEmail>sample string 10</InsuredEmail>
    <InsuredFirstName>sample string 11</InsuredFirstName>
    <InsuredLastName>sample string 12</InsuredLastName>
    <LineOfBusinessName>sample string 2</LineOfBusinessName>
    <NeededBy>2019-11-22T03:51:15.3193742-06:00</NeededBy>
    <OpportunityStageName>sample string 4</OpportunityStageName>
    <PolicyNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PolicyNumbers>
    <ReferralSourceContactName>sample string 6</ReferralSourceContactName>
    <ReferralSourceName>sample string 5</ReferralSourceName>
    <WinProbability>sample string 7</WinProbability>
  </OpportunityIntegrationModel>
  <OpportunityIntegrationModel>
    <AgencyCommission>8</AgencyCommission>
    <AssignedTo xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AssignedTo>
    <CurrentStageDueDate>2019-11-22T03:51:15.3193742-06:00</CurrentStageDueDate>
    <DatabaseId>2d275862-4223-40b2-a16c-5b7e9018d521</DatabaseId>
    <Description>sample string 9</Description>
    <InsuredCommercialName>sample string 13</InsuredCommercialName>
    <InsuredDatabaseId>949b210c-0be5-44b0-bc89-7fc3369de7d5</InsuredDatabaseId>
    <InsuredEmail>sample string 10</InsuredEmail>
    <InsuredFirstName>sample string 11</InsuredFirstName>
    <InsuredLastName>sample string 12</InsuredLastName>
    <LineOfBusinessName>sample string 2</LineOfBusinessName>
    <NeededBy>2019-11-22T03:51:15.3193742-06:00</NeededBy>
    <OpportunityStageName>sample string 4</OpportunityStageName>
    <PolicyNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PolicyNumbers>
    <ReferralSourceContactName>sample string 6</ReferralSourceContactName>
    <ReferralSourceName>sample string 5</ReferralSourceName>
    <WinProbability>sample string 7</WinProbability>
  </OpportunityIntegrationModel>
</ArrayOfOpportunityIntegrationModel>