Location

APIDescription
GET api/Locations/GetLocationsByCompanyId/{companyId}

No documentation available.

DELETE api/Locations/Delete/{id}

Deletes a location based upon the id

POST api/Locations/Save

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/Locations/GetLocationSectorById/{id}

Gets locationsector by id (locationsectorid). Will return empty object if id not found with object.id = 0.

GET api/Locations/GetLocationSectorsByLocationId/{locationId}

No documentation available.

GET api/Locations/GetLocationSectorsByBothIds/{sectorid}/{locationid}

Gets the locationsector by the sectorid and locationid. Will return empty object if id not found with object.id = 0.

DELETE api/Locations/DeleteLocationSectorById/{sectorid}?id={id}

Deletes a locationsector based upon the id

POST api/Locations/SaveLocationSector

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/Locations/SaveLocationSectorsMultiple/{locationId}/{sectorIds}

No documentation available.

GET api/Location/{id}

Gets location by id. Will return empty object if id not found with object.id = 0.

Favorites

APIDescription
GET api/Favorites/GetFavorites

Gets a list of favorites based upon the user relying on the token

POST api/Favorites/Save

Saves a new bookmark

DELETE api/Favorites/Delete/{id}

Deletes a favorite

Author

APIDescription
GET api/Authors/getAuthorByCompanyId/{companyid}

No documentation available.

GET api/Authors/getAuthorByName

Returns the author and company information the author is associated with

GET api/Authors/getAuthorsByHubSpotArticle/{hubspotarticleid}

No documentation available.

POST api/Authors/getByHid

No documentation available.

GET api/Authors/getOnlyByHid/{hubspotauthorid}

No documentation available.

GET api/Authors/getArticlesByHUBauthorId/{hubspotauthorid}

No documentation available.

POST api/Authors/getAllByHid

No documentation available.

GET api/Authors/getAllAuthors

No documentation available.

GET api/Authors/SaveAuthorByHubSpotAuthorId/{hubspotauthorid}

No documentation available.

POST api/Authors/SaveAuthor

No documentation available.

POST api/Authors/SaveAuthorArticle

No documentation available.

DELETE api/Authors/RemoveAuthorArticle/{author2articleid}

No documentation available.

CustomField

APIDescription
GET api/CustomField

No documentation available.

POST api/CustomFieldValue/Save

No documentation available.

POST api/CustomFieldValue/BatchSave

No documentation available.

Contact

APIDescription
GET api/Contact/{id}

Gets contact by id. Will return empty object if id not found.

GET api/Contact/GetContactInfosByCompanyId/{companyid}/{display}

Returns all contacts within a given company

GET api/Contact/GetContactInfosByCompanyIdName/{companyid}/{name}

Returns first found record for contact based upon companyid and Name match. Returns an default empty object (id will be 0) if match not found.

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

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

DELETE api/Contact/Delete/{id}

Deletes Contact based upon id

POST api/Contact/Save

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

POST api/Contact/SaveSortOrder

Saves the sort order for a contact

UserCompanies

APIDescription
GET api/UserCompanies/GetCountUserCompaniesByUserId/{profileid}/{industryid}

returns the number of records that a user has in the usercompanies table. Number of company comparisons

GET api/UserCompanies/GetUserCompareCompaniesById/{id}

Gets UserCompareCompanies by id. Will return empty object if id not found with object.id = 0.

DELETE api/UserCompanies/DeleteUserCompareCompaniesById/{id}

Deletes a UserCompareCompanies based upon the id

POST api/UserCompanies/SaveUserCompareCompanies

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/UserCompanies/{id}

Gets usercompanies by id. Will return empty object if id not found with object.id = 0.

DELETE api/UserCompanies/{id}

Deletes a usercompanies based upon the id

POST api/UserCompanies

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

Company

APIDescription
GET api/Company/GetRegionsBySourceInt/{baseregion}

returns regions based upon bitwise operation America = 1, Asia = 2, Europe = 4 Passing in 3 will return America,Asia, 6 returns Asia,Europe, etc.

GET api/Company/{id}/{industryid}/{tracking}

Returns the company based upon company id. Will return an empty object if id not found

GET api/Company/Search/{searchterm}/{entitytype}/{industryid}

No documentation available.

GET api/Company/GetAll2

No documentation available.

GET api/Company/GetReportContactBased/{companyid}/{startdate}/{enddate}

Generates a company report based upon their contacts and the contacts' corresponding company interactions.

GET api/Company/htmlreport?companyId={companyId}&start={start}&end={end}

Generates a company report based upon their contacts and the contacts' corresponding company interactions.

GET api/Company/GetReportContactJSON/{companyid}/{startdate}/{enddate}

No documentation available.

GET api/Company/GetReport/{companyid}/{startdate}/{enddate}

gets the company contact data 2/13/2019

GET api/Company/GetAll/{page}/{searchTerm}

Returns all companies in the system for admin display

GET api/Company/GetCompanySimple/{industryid}

No documentation available.

GET api/Company/GetCompaniesByLetterRange/{index}/{getfull}/{industryid}/{entitytype}

Returns a list of companies based upon the letter index for the industry. if letter sequence is: a-b,c-d,e-k,l-q,r-s,t-z,0-9, index 2 will be e-k, all companies with the first letter of the company name matching the letter index will be returned. Returns all companies based upon industry and optional entitytype, i.e. company,university,government

GET api/Company/GetCompanyTotalByIndustry/{industryid}

No documentation available.

GET api/Company/GetCompanyByDomain/{domain}

Used for getting company by domain usually based upon an email address seed

GET api/Company/GetCompanyByName

Returns the company based upon the company's name. Will return an empty object if not found. Use ?companyName={companyName} in querystring Add industryid to querystring for tracking purposes if necessary/possible Set track=false (added to the querystring) if you don't want to auto track the company details.

GET api/Company/GetCompaniesAtoZ/{industryid}/{entitytype}

Returns all companies based upon industry and optional entitytype, i.e. 1=company,2=university,3=government

GET api/Company/GetCompanyCountBySector/{sectorid}

Returns the count for the number of companysectors for a given sectorid. Will return an empty object if id not found

GET api/Company/GetCompaniesBySector/{sectorid}/{industryid}

Returns company list with enabled display that are associated with the given sector Autotracks sector for company Optional param for industry

GET api/Company/GetCompanySectorsByBothIds/{sectorid}/{companyid}

Returns the companysector for a given sectorid and companyid

GET api/Company/GetCompaniesByUserCompare/{industryid}

Returns the list of companies that a user has added to their compare profile. If profileid = 0 uses Session, otherwise loads saved data from db.

GET api/Company/GetCompaniesToDisplayById/{id}

Returns companies that are enabled on the display. Used for display side, not admin. Will return an empty object if id not found

GET api/Company/GetLetters/{index}/{industryid}

This will return the letter based upon the index. if letter sequence is: a-b,c-d,e-k,l-q,r-s,t-z,0-9, index 2 will be e-k. Letter sequence is built from industry

GET api/Company/GetCompaniesByFirstLetter/{letter}/{industryid}/{entitytype}

Returns a list of companies by the first letter in their name.

GET api/Company/getCompanySectorsHTML/{companyid}

Returns HTML build out of the sectors for the company with parent relationship

GET api/Company/getCompanySectorLocationHTML/{companyId}

Returns HTML build out of the sectors by location for the company with parent relationship

GET api/Company/loadListsHTML/{industryid}

Returns service offerings and regions for the given industry in an indented list checkbox format

POST api/Company/Save

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/Company/GetCompanySectorsById/{id}

Gets companysector by id

DELETE api/Company/DeleteCompanySectorsById/{id}

No documentation available.

POST api/Company/SaveCompanySectors

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

POST api/Company/SaveCompanySectorsMultiple/{companyId}/{industryId}

No documentation available.

GET api/Company/GetCompanySectorsByCompanyId/{companyId}

No documentation available.

POST api/Company2Industry/Save

No documentation available.

POST api/Company2Industry/UpdateCompany2IndustryMarkets

No documentation available.

GET api/Company2Industry/SaveMultiple/{companyId}/{industryIds}

This call will save all industries that you pass in and delete any other industries that are not in the list

GET api/v2/Company/{id}

No documentation available.

GET api/v2/Company?search={search}

No documentation available.

GET api/v2/Company/{id}/CompanySectors

No documentation available.

GET api/v2/Company/{id}/CompanySectorsExpanded

No documentation available.

GET api/v2/Company/{id}/Industries

No documentation available.

GET api/v2/Company/{id}/{property}

No documentation available.

PATCH api/v2/Company/{id}/{property}

No documentation available.

PUT api/v2/Company/{companyId}/CompanySectors

No documentation available.

GET api/v2/Company/Names

No documentation available.

GET api/Company

Returns all companies in the system for admin display

DELETE api/Company/{id}

No documentation available.

Subsegment

APIDescription
GET api/Subsegment/GetSubSegmentsBySegmentId/{segmentid}

Returns all subsegments associated with the segment

GET api/Subsegment/GetSubsegmentsById/{id}

Gets Subsegment by id. Will return empty object if id not found with object.id = 0.

POST api/Subsegment/SaveSubsegments

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/Subsegment/BuildSegments/{industryid}/{ctype}

Returns HTML string for all segments in an industry

GET api/Subsegment/BuildSegmentsPerformanceTracker/{industryid}/{ctype}

Returns HTML string for all segments in an industry

GET api/Subsegment/BuildSubSegments/{segmentid}

Builds out the subsegment options for dropdown selection based upon industryid

GET api/Subsegment/BuildSubSegmentsPerformanceTracker/{industryid}/{ctype}

Builds out the subsegment options for dropdown selection based upon industryid

GET api/Subsegment/buildDynamicSubsegments/{industryid}

Builds the subsegments that are dependant upon the sector which the companies are in based upon the user compare list for their profileid

APIDescription
GET api/Search/SearchSuggestions

Returns Search Suggestions. Json formatted specfically for library being used. Use querystring ?industryid={industryid} query={searchterm}

GET api/Search/GetCompaniesBySearch

Gets companies by search. Parses querystring dynamically. Requires minimum values of industryid (default to 0),page (default to 1)

MailChimp

APIDescription
GET api/MailChimp/getClickResults/{dayofweek}/{weeksold}

No documentation available.

GET api/VSM/getResults/{requestdate}/{group}

GET api/VSM/getSubscriber/{siteid}/{subid}

No documentation available.

GET api/ActiveHost/getAllMCclickResults/{requestdate}

No documentation available.

GET api/ActiveHost/getAllAHClickResults/{requestdate}

No documentation available.

GET api/ActiveHost/getClickResults/{dayofweek}/{weeksold}

get sendresults based upon the day sent. Sunday=0, Monday=1 and so on weeksold, optional param 0 = current week

GET api/ActiveHost/getResultsByCampId/{campaignid}/{messageid}/{senddate}/{requestdate}

No documentation available.

GET api/NewsCompiled/getResultsByLink/{link}/{provider}

No documentation available.

GET api/NewsCompiled/getResultsByID/{id}/{provider}

No documentation available.

GET api/MailChimp?sendnewsid={sendnewsid}&senddate={senddate}&requestdate={requestdate}

No documentation available.

GET api/MailChimp?campaignid={campaignid}&campaignname={campaignname}&requestdate={requestdate}&senddate={senddate}

No documentation available.

GET api/MailChimp?campaignid={campaignid}

No documentation available.

GET api/MailChimp?campaignid={campaignid}&urlid={urlid}

No documentation available.

APIDescription
GET api/Sponsors/{id}

No documentation available.

GET api/Sponsors/{industryid}/{pagekey}/{logonum}?adid={adid}

Will display the results based upon the position within the pagekey, industryid Pass in the number of logos that you would like to see using optional logonum. 2 is the default Adtype of 1 = company logo ad, 2 = banner display

GET api/SponsorTracking/{adid}

No documentation available.

POST api/Sponsors/GetPagingSponsors

No documentation available.

DELETE api/Sponsors/Delete/{id}

No documentation available.

POST api/Sponsors/Save

No documentation available.

Tracking

APIDescription
GET api/Tracking/getUserTracking/{section}/{companyid}/{timespan}

section is either: Article, Company, or Services

GET api/Tracking/getAllUserTracking/{companyid}/{timespan}

No documentation available.

GET api/Tracking/getAllEnhancedUserTracking/{companyid}/{timespan}

No documentation available.

GET api/Tracking/getUserTrackingConcise/{section}/{companyid}/{timespan}

section is either: Article, Company, or Services

GET api/Tracking/getNewsDashResults/{companyid}/{timespan}

section is either: Article, Company, or Services

GET api/Tracking/getSponsorViewsClicks/{section}/{companyid}/{timespan}

No documentation available.

GET api/Tracking/getIndustryTracking/{industryid}/{timespan}

No documentation available.

GET api/Tracking/getElements/{companyid}/{elementtype}/{timespan}

No documentation available.

GET api/Tracking/getSectorList/{sectorid}/{timespan}

No documentation available.

GET api/Tracking/getCompanyResults/{companyid}/{fromdate}/{todate}

GET api/Tracking/getCompanySectorResults/{companyid}/{timespan}

No documentation available.

GET api/Tracking/getCompanyResultsTimespan/{companyid}/{timespan}

No documentation available.

GET api/Tracking/getTop20Companies/{timespan}

No documentation available.

GET api/Tracking/getTop20CompaniesByIndustry/{timespan}

No documentation available.

GET api/Tracking/getTop20CompaniesByIndustry/{industryid}/{timespan}

No documentation available.

GET api/Tracking/getContentStatistics/{timespan}

No documentation available.

GET api/Tracking/getTop20CommunityLeaders/{timespan}/{numbertoreturn}

No documentation available.

GET api/Tracking/compileHubspotArticles/{type}

if type = force then it will build regardless of whether it needs to or not.

GET api/Tracking/getTopTest/{timespan}/{numbertoreturn}

No documentation available.

GET api/Tracking/getToparticles/{timespan}/{numbertoreturn}

Returns 100 records by default

GET api/Tracking/getTrendingTopics/{timespan}/{numbertoreturn}

Returns 100 records by default

POST api/Tracking?companyid={companyid}&connection={connection}

No documentation available.

POST api/Tracking

Saves the tracking element. Leave RefferalPage, RequestorIP and LogDate blank/null. They will be auto populated/overwritten by the system If RequestorName = "Users" then leave RequestorId blank Default value for RequestorName is "Users" SourcePage in header is used for the referring page. Needs to be added to the header collection upon calling Leaving the date a single character will return all results

Industry

APIDescription
GET api/Industry/All

No documentation available.

GET api/Industry?page={page}&pagesize={pagesize}&fields={fields}&sort={sort}

Gets all industries

GET api/Industry?page={page}&pagesize={pagesize}&sort={sort}

No documentation available.

GET api/Industry/GetIndustryById/{industryid}

Gets Industry by id. Will return empty object if id not found with object.id = 0.

GET api/Industry/GetIndustryPremium/{industryid}

No documentation available.

GET api/Industry/GetIndustryCorporate/{industryid}

No documentation available.

GET api/Industry/GetIndustryBoth/{industryid}

No documentation available.

GET api/Industry/GetIndustryBasicAuth/{industryid}

No documentation available.

GET api/Industry/GetSubscriberIndustry/{companyid}

No documentation available.

POST api/Industry/Save

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

GET api/Industry/{id}/NestedSectors

No documentation available.

GET api/v2/Industry/{id}/NestedSectors?CompanyId={CompanyId}

No documentation available.

Settings

APIDescription
GET api/Settings/GetSettings

No documentation available.

GET api/Settings/GetSettingsSimple

No documentation available.

POST api/Settings/SaveReportDate/{date}

No documentation available.

Hubspot

APIDescription
GET api/HubSpot/getBlogContent/{contentblogid}

No documentation available.

PUT api/HubSpot/publishAuthor

No documentation available.

GET api/HubSpot/addEditHubspotUser

No documentation available.

GET api/HubSpot/rebuildHBarticlesNeeded

No documentation available.

GET api/HubSpot/saveHBarticletotal/{count}

No documentation available.

GET api/Hubpost/searchAuthors/{keyword}

No documentation available.

GET api/Hubpost/updateAuthorsWithHBidFromHubspot

No documentation available.

GET api/HubSpot/createHubspotContact

No documentation available.

GET api/HubSpot/getArticles/{limit}/{offset}

No documentation available.

GET api/HubSpot/getBlogAuthorsByHubspotIdFromHubspot/{hubspotauthorid}

No documentation available.

POST api/HubSpot/getArticleImage

No documentation available.

POST api/HubSpot/getHubSpotArticlesWallAuthors

No documentation available.

GET api/HubSpot/saveAuthorUrl/{hubspotauthorid}

No documentation available.

GET api/HubSpot/saveBatchAuthorUrls

No documentation available.

GET api/HubSpot/saveBatchAuthorEmptyUrls

No documentation available.

Sector

APIDescription
GET api/Sector/GetSectorGroupsList/{industryid}/{searchable}

Returns a distinct list of groups associated with the sectors within the given industry.

GET api/Sector/GetSectorGroupsListByCompanyId/{companyid}

Returns a distinct list of groups associated with the sectors based upon the input

GET api/Sector/GetSectorsByGroupAndCompany/{groupname}/{companyid}

Gets a list of Sectors based upon the group associated within the companyid relationship

GET api/Sector/GetSectorsByCompanyId/{companyid}

Returns list of sector objects related to the company

GET api/Sector/GetSectorParentsByIndustryId/{industryid}

Gets only parent sectors

GET api/Sector/GetSectorChildrenByParentId/{parentsectorid}

Gets sectors by parent id

GET api/Sector/GetSectorsOrGroupsByGroupName/{industry}/{group}/{searchable}

Gets a list of sectors OR groups based upon the groupname and industry

GET api/Sector/GetSectorGroups/{industryid}

Returns the count of the sectors under the groupname based upon industry

GET api/Sector/GetSectorIds/{industryid}/{searchable}

Returns a list a of ids for the sectors matching the input parameters

GET api/Sector/GetSectorsByGroupName/{industryid}/{groupname}

Get a list of sectors only based upon industry and groupname. Differs from GetSectorsOrGroupsByGroupName

GET api/Sector/GetSectorsById/{id}

Gets sector by id. Will return empty object if id not found with object.id = 0.

POST api/Sector/SaveSectors

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

DELETE api/Sector/DeleteSector2CompanyByCompanyId/{id}

deletes the sector to company relationship based upon correlation id

POST api/Sector/SaveSector2Company

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists

POST api/Sector

No documentation available.

GET api/Sector/{id}

No documentation available.

GET api/Sector/ForCompany/{id}

No documentation available.

PUT api/Sector/{id}

No documentation available.

PATCH api/Sector/{id}/{property}

No documentation available.

DELETE api/Sector/{id}

No documentation available.

GET api/Sector/[action]/{id}

No documentation available.

Compare

APIDescription
GET api/Compare/getCompare/{industryid}

0 is valid for the companyid

GET api/Compare/getCompanyIdList/{industryid}

No documentation available.

GET api/Compare/setCompanyCompare

Parses out querystring. Requires: industryid. Optional: remove,removeAll, companyid

User

APIDescription
GET api/Users/{id}

returns a specific user from a userid

GET api/Users/GetUser

returns a specific user from a userid

POST api/Users/GetNewsUser

No documentation available.

POST api/Users/ChangeNewsUserStatus

No documentation available.

GET api/Users/GetRole

No documentation available.

GET api/Users/GetAllUsers/{datesince}

No documentation available.

POST api/Users/GetPagingUsers

No documentation available.

GET api/Users/ApproveUserInCompany/{userid}/{companyid}/{approveuser}

No documentation available.

POST api/Users/AddSubscriber

No documentation available.

POST api/Users/CreateUser

No documentation available.

POST api/Users/SaveUser

No documentation available.

POST api/Users/AssignUserViaReferral

Assigns a user just registering to a company based off of a referral link Must include "username" and "cid" (companyid) in post body

POST api/Users/UpdateUsername

No documentation available.

POST api/Users/ResetPassword

Psasword reset for logged-in user

POST api/Users/ResetPasswordViaToken

Reset a user's password via a reset token (forgot password)

GET api/Users/ForgotPasswordReset/{email}

No documentation available.

GET api/Users/CheckUsernameExists/{username}

No documentation available.

DELETE api/Users/Delete/{id}

No documentation available.

GET api/Users/UpdateProfileWithSubscriber

No documentation available.

GET api/Roles/GetRoles

No documentation available.

GET api/Roles/GetCompany2RoleByCompanyId/{companyId}

No documentation available.

POST api/Roles/SaveCompany2Role

No documentation available.

Logging

APIDescription
GET api/Logging/getLogging/{type}/{elementid}/{timespan}/{page}

No documentation available.

POST api/Logging/saveLogging/{logtext}/{pagename}

No documentation available.

GET api/Logging/getActions

No documentation available.

POST api/Logging?companyid={companyid}&connection={connection}

No documentation available.

Token

APIDescription
POST api/LogUserIn

No documentation available.

AnnualCompare

APIDescription
GET api/AnnualCompare/GetChartData/{companyid}/{subsegmentid}/{ctype}

HTML string value returned with javascript using fusioncharts to display annual compare data for a given company, subsegment and ctype. fushionchart.js file must referenced in calling page

GET api/AnnualCompare/GetDependantSegments/{companyid}/{industryid}

Returns HTML option list and gets the segements associated with the company

GET api/AnnualCompare?year={year}&industry={industry}

Returns list of annualcompare objects based upon year and industry

Chart

APIDescription
GET api/Chart/getChart/{subsegmentid}/{ctype}/{industryid}

Generates HTML response with charting for user company comparison

Market

APIDescription
GET api/Markets/GetMarketsByIndustryId/{industryid}

No documentation available.

GET api/Markets/GetMarketsBySourceInt/{baseRegion}/{industryId}

No documentation available.

ScoreCard

APIDescription
GET api/ScoreCard/{id}

Gets scorecard by id. Will return empty object if id not found with object.id = 0.

DELETE api/ScoreCard/{id}

Deletes a scorecard based upon the id

POST api/ScoreCard

Passing in a 0 value for c.Id will create a new record, while a c.Id > 0 will update an existing record if a match exists