GET api/{website}/PerformanceData/IndicatorHistogram?org={org}&topX={topX}&weight={weight}&filterByCountry={filterByCountry}&filterBySize={filterBySize}&filterByDensity={filterByDensity}&filterByGdp={filterByGdp}&ind={ind}&year={year}&lang={lang}&curr={curr}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
org

integer

Default value is 0

website

string

Default value is IBNET

topX

integer

Default value is 10

weight

integer

Default value is 1

filterByCountry

boolean

Default value is False

filterBySize

boolean

Default value is False

filterByDensity

boolean

Default value is False

filterByGdp

boolean

Default value is False

ind

string

Default value is 0

year

integer

Default value is 0

lang

string

Default value is EN

curr

string

Default value is USD

Body Parameters

None.

Response Information

Resource Description

JsonReturnViewModelOfHistogramPointAndDummyElementsViewModel
NameDescriptionTypeAdditional information
Elements

DummyElementsViewModel

None.

Data

Collection of HistogramPoint

None.

Items

Collection of ItemsViewModel

None.

Status

StatusResultViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Elements": {},
  "Data": [
    {
      "ItemId": 1,
      "Number": 2.1,
      "Count": 3,
      "OwnValue": true,
      "Accumulated": 5
    },
    {
      "ItemId": 1,
      "Number": 2.1,
      "Count": 3,
      "OwnValue": true,
      "Accumulated": 5
    }
  ],
  "Items": [
    {
      "ItemId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "Units": "sample string 5",
      "DefaultUnits": 1.1,
      "NumberFormat": "sample string 6",
      "HighIsBest": 64
    },
    {
      "ItemId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "Units": "sample string 5",
      "DefaultUnits": 1.1,
      "NumberFormat": "sample string 6",
      "HighIsBest": 64
    }
  ],
  "Status": {
    "Status": "sample string 1",
    "StatusMessage": "sample string 2"
  }
}

text/html

Sample:
{"Elements":{},"Data":[{"ItemId":1,"Number":2.1,"Count":3,"OwnValue":true,"Accumulated":5},{"ItemId":1,"Number":2.1,"Count":3,"OwnValue":true,"Accumulated":5}],"Items":[{"ItemId":1,"Code":"sample string 2","Name":"sample string 3","Description":"sample string 4","Units":"sample string 5","DefaultUnits":1.1,"NumberFormat":"sample string 6","HighIsBest":64},{"ItemId":1,"Code":"sample string 2","Name":"sample string 3","Description":"sample string 4","Units":"sample string 5","DefaultUnits":1.1,"NumberFormat":"sample string 6","HighIsBest":64}],"Status":{"Status":"sample string 1","StatusMessage":"sample string 2"}}

application/xml, text/xml

Sample:
<JsonReturnViewModelOfPerformanceDataController.HistogramPointDummyElementsViewModelp5gfsOsr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBNetAPI.ViewModels">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IBNetAPI.Controllers">
    <d2p1:PerformanceDataController.HistogramPoint>
      <d2p1:Accumulated>5</d2p1:Accumulated>
      <d2p1:Count>3</d2p1:Count>
      <d2p1:ItemId>1</d2p1:ItemId>
      <d2p1:Number>2.1</d2p1:Number>
      <d2p1:OwnValue>true</d2p1:OwnValue>
    </d2p1:PerformanceDataController.HistogramPoint>
    <d2p1:PerformanceDataController.HistogramPoint>
      <d2p1:Accumulated>5</d2p1:Accumulated>
      <d2p1:Count>3</d2p1:Count>
      <d2p1:ItemId>1</d2p1:ItemId>
      <d2p1:Number>2.1</d2p1:Number>
      <d2p1:OwnValue>true</d2p1:OwnValue>
    </d2p1:PerformanceDataController.HistogramPoint>
  </Data>
  <Elements />
  <Items>
    <ItemsViewModel>
      <Code>sample string 2</Code>
      <DefaultUnits>1.1</DefaultUnits>
      <Description>sample string 4</Description>
      <HighIsBest>64</HighIsBest>
      <ItemId>1</ItemId>
      <Name>sample string 3</Name>
      <NumberFormat>sample string 6</NumberFormat>
      <Units>sample string 5</Units>
    </ItemsViewModel>
    <ItemsViewModel>
      <Code>sample string 2</Code>
      <DefaultUnits>1.1</DefaultUnits>
      <Description>sample string 4</Description>
      <HighIsBest>64</HighIsBest>
      <ItemId>1</ItemId>
      <Name>sample string 3</Name>
      <NumberFormat>sample string 6</NumberFormat>
      <Units>sample string 5</Units>
    </ItemsViewModel>
  </Items>
  <Status>
    <Status>sample string 1</Status>
    <StatusMessage>sample string 2</StatusMessage>
  </Status>
</JsonReturnViewModelOfPerformanceDataController.HistogramPointDummyElementsViewModelp5gfsOsr>