| GET | /indicator/{id} | Get indicator by indicatorType Id |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | uint | No | |
| FromDate | query | DateTime | No | |
| ToDate | query | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | T | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Title | form | string | No | |
| Type | form | int | No | |
| DataSets | form | IList<Dataset> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChartDisplayType | form | int | No | |
| ChartType | form | int | No | |
| Title | form | string | No | |
| Points | form | IList<DataPoint> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Label | form | string | No | |
| Value | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /indicator/{id} HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
title: String,
type: 0
}
}