GET api/Contact/GetContactInfosByIndustry/{companyid}/{all}

Returns companies and contacts for given industry based upon the company subscriptionid

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyid

integer

Required

all

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Collection of CompanyContacts
NameDescriptionTypeAdditional information
company

Companies

None.

contacts

Collection of ContactInfos

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "company": {
      "Id": 1,
      "Name": "sample string 2",
      "Type": 3,
      "Website": "sample string 4",
      "Overview": "sample string 5",
      "Regions": 6,
      "Logo": "sample string 7",
      "Enabled": true,
      "OverallCA": 9,
      "OverallCP": 10,
      "AccessLevel": 11,
      "Display": true,
      "Tagline": "sample string 13",
      "Headquarters": "sample string 14",
      "Employees": "sample string 15",
      "Ticker": "sample string 16",
      "Revenue": "sample string 17",
      "RecentHappenings": "sample string 18",
      "NumPipeLineDrugs": 19,
      "PipeLineDrugs": "sample string 20",
      "EntityType": 21,
      "Phone": "sample string 22",
      "OldImportId": 23,
      "SubscriptionIndustryId": 24,
      "SubscriptionSegmentId": 25,
      "MemberSince": "2024-10-30T05:12:07.9698547-07:00",
      "DemoMode": true,
      "Ownership": 0,
      "Email": "sample string 28",
      "SocialMedia": "sample string 29"
    },
    "contacts": [
      {
        "Id": 1,
        "Region": 2,
        "Name": "sample string 3",
        "Title": "sample string 4",
        "Phone": "sample string 5",
        "Email": "sample string 6",
        "CompanyId": 7,
        "LinkedIn": "sample string 8",
        "ProfilePublic": true,
        "Website": "sample string 10",
        "Address": "sample string 11",
        "City": "sample string 12",
        "State": "sample string 13",
        "ZipCode": "sample string 14",
        "Country": "sample string 15",
        "SortOrder": 16
      },
      {
        "Id": 1,
        "Region": 2,
        "Name": "sample string 3",
        "Title": "sample string 4",
        "Phone": "sample string 5",
        "Email": "sample string 6",
        "CompanyId": 7,
        "LinkedIn": "sample string 8",
        "ProfilePublic": true,
        "Website": "sample string 10",
        "Address": "sample string 11",
        "City": "sample string 12",
        "State": "sample string 13",
        "ZipCode": "sample string 14",
        "Country": "sample string 15",
        "SortOrder": 16
      }
    ]
  },
  {
    "company": {
      "Id": 1,
      "Name": "sample string 2",
      "Type": 3,
      "Website": "sample string 4",
      "Overview": "sample string 5",
      "Regions": 6,
      "Logo": "sample string 7",
      "Enabled": true,
      "OverallCA": 9,
      "OverallCP": 10,
      "AccessLevel": 11,
      "Display": true,
      "Tagline": "sample string 13",
      "Headquarters": "sample string 14",
      "Employees": "sample string 15",
      "Ticker": "sample string 16",
      "Revenue": "sample string 17",
      "RecentHappenings": "sample string 18",
      "NumPipeLineDrugs": 19,
      "PipeLineDrugs": "sample string 20",
      "EntityType": 21,
      "Phone": "sample string 22",
      "OldImportId": 23,
      "SubscriptionIndustryId": 24,
      "SubscriptionSegmentId": 25,
      "MemberSince": "2024-10-30T05:12:07.9698547-07:00",
      "DemoMode": true,
      "Ownership": 0,
      "Email": "sample string 28",
      "SocialMedia": "sample string 29"
    },
    "contacts": [
      {
        "Id": 1,
        "Region": 2,
        "Name": "sample string 3",
        "Title": "sample string 4",
        "Phone": "sample string 5",
        "Email": "sample string 6",
        "CompanyId": 7,
        "LinkedIn": "sample string 8",
        "ProfilePublic": true,
        "Website": "sample string 10",
        "Address": "sample string 11",
        "City": "sample string 12",
        "State": "sample string 13",
        "ZipCode": "sample string 14",
        "Country": "sample string 15",
        "SortOrder": 16
      },
      {
        "Id": 1,
        "Region": 2,
        "Name": "sample string 3",
        "Title": "sample string 4",
        "Phone": "sample string 5",
        "Email": "sample string 6",
        "CompanyId": 7,
        "LinkedIn": "sample string 8",
        "ProfilePublic": true,
        "Website": "sample string 10",
        "Address": "sample string 11",
        "City": "sample string 12",
        "State": "sample string 13",
        "ZipCode": "sample string 14",
        "Country": "sample string 15",
        "SortOrder": 16
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyContacts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <CompanyContacts>
    <company>
      <AccessLevel>11</AccessLevel>
      <DemoMode>true</DemoMode>
      <Display>true</Display>
      <Email>sample string 28</Email>
      <Employees>sample string 15</Employees>
      <Enabled>true</Enabled>
      <EntityType>21</EntityType>
      <Headquarters>sample string 14</Headquarters>
      <Id>1</Id>
      <Logo>sample string 7</Logo>
      <MemberSince>2024-10-30T05:12:07.9698547-07:00</MemberSince>
      <Name>sample string 2</Name>
      <NumPipeLineDrugs>19</NumPipeLineDrugs>
      <OldImportId>23</OldImportId>
      <OverallCA>9</OverallCA>
      <OverallCP>10</OverallCP>
      <Overview>sample string 5</Overview>
      <Ownership>Unset</Ownership>
      <Phone>sample string 22</Phone>
      <PipeLineDrugs>sample string 20</PipeLineDrugs>
      <RecentHappenings>sample string 18</RecentHappenings>
      <Regions>6</Regions>
      <Revenue>sample string 17</Revenue>
      <SocialMedia>sample string 29</SocialMedia>
      <SubscriptionIndustryId>24</SubscriptionIndustryId>
      <SubscriptionSegmentId>25</SubscriptionSegmentId>
      <Tagline>sample string 13</Tagline>
      <Ticker>sample string 16</Ticker>
      <Type>3</Type>
      <Website>sample string 4</Website>
    </company>
    <contacts>
      <ContactInfos>
        <Address>sample string 11</Address>
        <City>sample string 12</City>
        <CompanyId>7</CompanyId>
        <Country>sample string 15</Country>
        <Email>sample string 6</Email>
        <Id>1</Id>
        <LinkedIn>sample string 8</LinkedIn>
        <Name>sample string 3</Name>
        <Phone>sample string 5</Phone>
        <ProfilePublic>true</ProfilePublic>
        <Region>2</Region>
        <SortOrder>16</SortOrder>
        <State>sample string 13</State>
        <Title>sample string 4</Title>
        <Website>sample string 10</Website>
        <ZipCode>sample string 14</ZipCode>
      </ContactInfos>
      <ContactInfos>
        <Address>sample string 11</Address>
        <City>sample string 12</City>
        <CompanyId>7</CompanyId>
        <Country>sample string 15</Country>
        <Email>sample string 6</Email>
        <Id>1</Id>
        <LinkedIn>sample string 8</LinkedIn>
        <Name>sample string 3</Name>
        <Phone>sample string 5</Phone>
        <ProfilePublic>true</ProfilePublic>
        <Region>2</Region>
        <SortOrder>16</SortOrder>
        <State>sample string 13</State>
        <Title>sample string 4</Title>
        <Website>sample string 10</Website>
        <ZipCode>sample string 14</ZipCode>
      </ContactInfos>
    </contacts>
  </CompanyContacts>
  <CompanyContacts>
    <company>
      <AccessLevel>11</AccessLevel>
      <DemoMode>true</DemoMode>
      <Display>true</Display>
      <Email>sample string 28</Email>
      <Employees>sample string 15</Employees>
      <Enabled>true</Enabled>
      <EntityType>21</EntityType>
      <Headquarters>sample string 14</Headquarters>
      <Id>1</Id>
      <Logo>sample string 7</Logo>
      <MemberSince>2024-10-30T05:12:07.9698547-07:00</MemberSince>
      <Name>sample string 2</Name>
      <NumPipeLineDrugs>19</NumPipeLineDrugs>
      <OldImportId>23</OldImportId>
      <OverallCA>9</OverallCA>
      <OverallCP>10</OverallCP>
      <Overview>sample string 5</Overview>
      <Ownership>Unset</Ownership>
      <Phone>sample string 22</Phone>
      <PipeLineDrugs>sample string 20</PipeLineDrugs>
      <RecentHappenings>sample string 18</RecentHappenings>
      <Regions>6</Regions>
      <Revenue>sample string 17</Revenue>
      <SocialMedia>sample string 29</SocialMedia>
      <SubscriptionIndustryId>24</SubscriptionIndustryId>
      <SubscriptionSegmentId>25</SubscriptionSegmentId>
      <Tagline>sample string 13</Tagline>
      <Ticker>sample string 16</Ticker>
      <Type>3</Type>
      <Website>sample string 4</Website>
    </company>
    <contacts>
      <ContactInfos>
        <Address>sample string 11</Address>
        <City>sample string 12</City>
        <CompanyId>7</CompanyId>
        <Country>sample string 15</Country>
        <Email>sample string 6</Email>
        <Id>1</Id>
        <LinkedIn>sample string 8</LinkedIn>
        <Name>sample string 3</Name>
        <Phone>sample string 5</Phone>
        <ProfilePublic>true</ProfilePublic>
        <Region>2</Region>
        <SortOrder>16</SortOrder>
        <State>sample string 13</State>
        <Title>sample string 4</Title>
        <Website>sample string 10</Website>
        <ZipCode>sample string 14</ZipCode>
      </ContactInfos>
      <ContactInfos>
        <Address>sample string 11</Address>
        <City>sample string 12</City>
        <CompanyId>7</CompanyId>
        <Country>sample string 15</Country>
        <Email>sample string 6</Email>
        <Id>1</Id>
        <LinkedIn>sample string 8</LinkedIn>
        <Name>sample string 3</Name>
        <Phone>sample string 5</Phone>
        <ProfilePublic>true</ProfilePublic>
        <Region>2</Region>
        <SortOrder>16</SortOrder>
        <State>sample string 13</State>
        <Title>sample string 4</Title>
        <Website>sample string 10</Website>
        <ZipCode>sample string 14</ZipCode>
      </ContactInfos>
    </contacts>
  </CompanyContacts>
</ArrayOfCompanyContacts>