GET v1/Dashboards/GetDashboardGadgets?dashboardId={dashboardId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dashboardId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DashboardGadgetOut
NameDescriptionTypeAdditional information
dashbaordGadget

DashboardGadget

None.

gadget

Gadget

None.

Response Formats

application/json, text/json, application/vnd.team.do+json

Sample:
[
  {
    "dashbaordGadget": {
      "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
        }
      ]
    },
    "gadget": {
      "id": 1,
      "name": "sample string 2",
      "type": 0,
      "filterId": 3,
      "projectIds": [
        1,
        2
      ],
      "chart": {
        "id": 1,
        "type": 0,
        "axisLabelsTitle": "sample string 2",
        "axisLabelsFieldId": 3,
        "axisValuesTitle": "sample string 4",
        "axisValuesTotalType": 0,
        "axisValuesFieldId": 5
      },
      "isPublic": true,
      "statusArchive": 0
    }
  },
  {
    "dashbaordGadget": {
      "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
        }
      ]
    },
    "gadget": {
      "id": 1,
      "name": "sample string 2",
      "type": 0,
      "filterId": 3,
      "projectIds": [
        1,
        2
      ],
      "chart": {
        "id": 1,
        "type": 0,
        "axisLabelsTitle": "sample string 2",
        "axisLabelsFieldId": 3,
        "axisValuesTitle": "sample string 4",
        "axisValuesTotalType": 0,
        "axisValuesFieldId": 5
      },
      "isPublic": true,
      "statusArchive": 0
    }
  }
]

text/html

Sample:
[{"dashbaordGadget":{"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}]},"gadget":{"id":1,"name":"sample string 2","type":0,"filterId":3,"projectIds":[1,2],"chart":{"id":1,"type":0,"axisLabelsTitle":"sample string 2","axisLabelsFieldId":3,"axisValuesTitle":"sample string 4","axisValuesTotalType":0,"axisValuesFieldId":5},"isPublic":true,"statusArchive":0}},{"dashbaordGadget":{"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}]},"gadget":{"id":1,"name":"sample string 2","type":0,"filterId":3,"projectIds":[1,2],"chart":{"id":1,"type":0,"axisLabelsTitle":"sample string 2","axisLabelsFieldId":3,"axisValuesTitle":"sample string 4","axisValuesTotalType":0,"axisValuesFieldId":5},"isPublic":true,"statusArchive":0}}]