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

Returns list of annualcompare objects based upon year and industry

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

industry

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AnnualCompare
NameDescriptionTypeAdditional information
AnnualCompareId

integer

None.

Name

string

None.

Type

string

None.

Year

integer

None.

CompanyId

integer

None.

SubSegmentId

integer

None.

Score

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "AnnualCompareId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Year": 4,
    "CompanyId": 5,
    "SubSegmentId": 6,
    "Score": 7
  },
  {
    "AnnualCompareId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Year": 4,
    "CompanyId": 5,
    "SubSegmentId": 6,
    "Score": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfAnnualCompare xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <AnnualCompare>
    <AnnualCompareId>1</AnnualCompareId>
    <CompanyId>5</CompanyId>
    <Name>sample string 2</Name>
    <Score>7</Score>
    <SubSegmentId>6</SubSegmentId>
    <Type>sample string 3</Type>
    <Year>4</Year>
  </AnnualCompare>
  <AnnualCompare>
    <AnnualCompareId>1</AnnualCompareId>
    <CompanyId>5</CompanyId>
    <Name>sample string 2</Name>
    <Score>7</Score>
    <SubSegmentId>6</SubSegmentId>
    <Type>sample string 3</Type>
    <Year>4</Year>
  </AnnualCompare>
</ArrayOfAnnualCompare>