PUT api/dashboard/{id}/setlayout
Set widget layout on dashboards
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Dashboard Id |
integer |
Required |
Body Parameters
Array of layout objects
Collection of WidgetLayoutDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| X | integer |
None. |
|
| Y | integer |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| WidgetId | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
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
}
]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.