GET api/Chart/{id}?charttype={charttype}
Gets a list of chart data given chart type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Organization Id. |
integer |
Required |
| charttype |
Chart Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ChartDataItem| Name | Description | Type | Additional information |
|---|---|---|---|
| x | string |
None. |
|
| y | decimal number |
None. |
|
| y1 | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"x": "sample string 1",
"y": 2.1,
"y1": 1.1
},
{
"x": "sample string 1",
"y": 2.1,
"y1": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfChartDataItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
<ChartDataItem>
<x>sample string 1</x>
<y>2.1</y>
<y1>1.1</y1>
</ChartDataItem>
<ChartDataItem>
<x>sample string 1</x>
<y>2.1</y>
<y1>1.1</y1>
</ChartDataItem>
</ArrayOfChartDataItem>