PUT api/dashboard/{id}/setlayout
Set widget layout on dashboards Processes this dashboard API request. The parameter and response sections describe the data exchanged with the API.
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 |
The x value. |
integer |
None. |
| Y |
The y value. |
integer |
None. |
| Width |
The width value. |
integer |
None. |
| Height |
The height value. |
integer |
None. |
| WidgetId |
The unique identifier of the related widget resource. |
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
The response returned after the operation completes.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.