POST v1/Dashboards/InsertDashboardGadget
Request Information
URI Parameters
None.
Body Parameters
DashboardGadget| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| dashboardId | integer |
None. |
|
| gadgetId | integer |
None. |
|
| gadgetWidth | decimal number |
None. |
|
| gadgetHight | decimal number |
None. |
|
| locationX | decimal number |
None. |
|
| locationY | decimal number |
None. |
|
| statusArchive | enmStatusArchive |
None. |
|
| filterSelections | Collection of FilterField |
None. |
Request Formats
application/json, text/json, application/vnd.team.do+json
Sample:
{
"id": 1,
"dashboardId": 2,
"gadgetId": 3,
"gadgetWidth": 4.1,
"gadgetHight": 5.1,
"locationX": 6.1,
"locationY": 7.1,
"statusArchive": 0,
"filterSelections": [
{
"id": 1,
"selection": [
"sample string 1",
"sample string 2"
],
"selectedItems": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
],
"equalType": 0
},
{
"id": 1,
"selection": [
"sample string 1",
"sample string 2"
],
"selectedItems": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
],
"equalType": 0
}
]
}
text/html
Sample:
{"id":1,"dashboardId":2,"gadgetId":3,"gadgetWidth":4.1,"gadgetHight":5.1,"locationX":6.1,"locationY":7.1,"statusArchive":0,"filterSelections":[{"id":1,"selection":["sample string 1","sample string 2"],"selectedItems":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}],"equalType":0},{"id":1,"selection":["sample string 1","sample string 2"],"selectedItems":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}],"equalType":0}]}
Response Information
Resource Description
DashboardGadget| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| dashboardId | integer |
None. |
|
| gadgetId | integer |
None. |
|
| gadgetWidth | decimal number |
None. |
|
| gadgetHight | decimal number |
None. |
|
| locationX | decimal number |
None. |
|
| locationY | decimal number |
None. |
|
| statusArchive | enmStatusArchive |
None. |
|
| filterSelections | Collection of FilterField |
None. |
Response Formats
application/json, text/json, application/vnd.team.do+json
Sample:
{
"id": 1,
"dashboardId": 2,
"gadgetId": 3,
"gadgetWidth": 4.1,
"gadgetHight": 5.1,
"locationX": 6.1,
"locationY": 7.1,
"statusArchive": 0,
"filterSelections": [
{
"id": 1,
"selection": [
"sample string 1",
"sample string 2"
],
"selectedItems": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
],
"equalType": 0
},
{
"id": 1,
"selection": [
"sample string 1",
"sample string 2"
],
"selectedItems": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
],
"equalType": 0
}
]
}
text/html
Sample:
{"id":1,"dashboardId":2,"gadgetId":3,"gadgetWidth":4.1,"gadgetHight":5.1,"locationX":6.1,"locationY":7.1,"statusArchive":0,"filterSelections":[{"id":1,"selection":["sample string 1","sample string 2"],"selectedItems":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}],"equalType":0},{"id":1,"selection":["sample string 1","sample string 2"],"selectedItems":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}],"equalType":0}]}