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 Dezrez.Core.DataContracts.External.Api.Agency.Query.Dashboard.WidgetLayoutDataContract
NameDescriptionTypeAdditional 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

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.