| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"result":{"title":"String","type":0}}