PUT api/dashboard/{id}/setlayout

Set widget layout on dashboards

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Dashboard Id

integer

Required

Body Parameters

Array of layout objects

Collection of WidgetLayoutDataContract
NameDescriptionTypeAdditional information
X

integer

None.

Y

integer

None.

Width

integer

None.

Height

integer

None.

WidgetId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "X": 1,
    "Y": 2,
    "Width": 3,
    "Height": 4,
    "WidgetId": 5
  },
  {
    "X": 1,
    "Y": 2,
    "Width": 3,
    "Height": 4,
    "WidgetId": 5
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.