Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field nameTypeDescriptionDefaultNotes
Domainsstring[]List of domainsN/A Optional. At least one (1) domain is required. Cannot include both Domains and UploadedFile in a single request.
UploadedFilestringThe file name that was returned from the UploadSurgeFile endpointN/A Optional. File name must be exactly equal to the name that was returned. Cannot include both Domains and UploadedFile in a single request. For information about how to upload a file, see the  Upload Your Database File for a Company Surge® Report documentation.
Topicsint[]List of topic IDsNoneRequired. Maximum number of topics allowed depends on your permissions.
TopicClusterstopicCluster[]List of topic clustersNone

Optional. May use TopicClusters to replace Topics. May not use both Topics and TopicClusters.

Code Block
languagejs
"TopicClusters" : [{"Name": "Cluster A", "TopicIds"=[1333532, 1333540]},{"Name": "Cluster B", "TopicIds"=[1333532]}]


ScoreThresholdintValue from 0-10060Optional. If specified, only results with topic Company Surge® score equal to or above the specified number are returned.
TopicThresholdintValue >= 11Optional. If specified, only domains showing an increase in interest on X amount of topics are returned.
NamestringName of the Surge Report

Report's Id 

Optional. If specified, will change the name of the report. 
Filtersfilter[]List of Filter ObjectsNone

Optional. A list of filter objects that will be used to filter Company Surge® data. e.g

Code Block
languagejs
[ {"Id": "ccm_industry", "Value"=["Education","Sports"]}]


GeographicScoreThresholdintvalue from 0-1000Optional. If there are geographic filters present, then it will return only results where one of the corresponding geo scores are higher than GeographicScoreThreshold
Deltabooleantrue or falsefalseOptional. Whether to add the delta columns. This will return the difference between this week's scores and last week's scores or will return "New" if the Company Surge® data from the previous week did not match the filtering criteria for the report.

IncludeDomainOrigin

booleantrue or falsefalse

Optional. Whether to add the domain origin output column. This will return the country for the given company where we see the most activity for that company.

IncludeMetroAreasbooleantrue or falsefalseOptional.  Whether to add the metro areas as an output column. This will return the metro areas and
metro area composite score where we see activity from the given company on the given topic.
IncludeStatesbooleantrue or falsefalseOptional. Whether to add the state as an output column. This will return the state/providence and
state/providence composite score where we see activity from the given company on the given topic.
IncludeCountriesbooleantrue or falsefalseOptional. Whether to add the country as an output column. This will return the country and country and country composite score where we see activity from the given company on the given topic.
ReportType**stringValue "comp" (comprehensive) or "sum" (summary)"comp"

Optional. If not included or "comp" is specified, results include unique topic scores. If "sum" is specified, results are grouped by domain and include average topic score. Cannot include geography (country/state/metro) for "sum" reports.

** See Comments for example output.

OutputFormatstringValue "csv","xlsx", or "json""csv"Optional. If "csv" or not specified, report will be returned in CSV format. If "xlsx", report will be returned in excel format. If "json", report will be returned in JSON format.
AutoGenstringValue "Weekly" or "Monthly"NoneOptional. If specified, will automatically generate a new report on every Monday (Weekly) or the Monday following the first of every month (Monthly).

...