POST api/intranet/settings/post/widgets

Post widget positions.

Request Information

URI Parameters

None.

Body Parameters

Collection of WidgetModel
NameDescriptionTypeAdditional information
widgetId

integer

None.

x

integer

None.

y

integer

None.

width

integer

None.

height

integer

None.

name

string

None.

componentName

string

None.

minWidth

integer

None.

maxWidth

integer

None.

minHeight

integer

None.

maxHeight

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "widgetId": 1,
    "x": 2,
    "y": 3,
    "width": 4,
    "height": 5,
    "name": "sample string 6",
    "componentName": "sample string 7",
    "minWidth": 8,
    "maxWidth": 9,
    "minHeight": 10,
    "maxHeight": 11
  },
  {
    "widgetId": 1,
    "x": 2,
    "y": 3,
    "width": 4,
    "height": 5,
    "name": "sample string 6",
    "componentName": "sample string 7",
    "minWidth": 8,
    "maxWidth": 9,
    "minHeight": 10,
    "maxHeight": 11
  }
]

application/xml, text/xml

Sample:
<ArrayOfWidgetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Intranet.DTO">
  <WidgetModel>
    <componentName>sample string 7</componentName>
    <height>5</height>
    <maxHeight>11</maxHeight>
    <maxWidth>9</maxWidth>
    <minHeight>10</minHeight>
    <minWidth>8</minWidth>
    <name>sample string 6</name>
    <widgetId>1</widgetId>
    <width>4</width>
    <x>2</x>
    <y>3</y>
  </WidgetModel>
  <WidgetModel>
    <componentName>sample string 7</componentName>
    <height>5</height>
    <maxHeight>11</maxHeight>
    <maxWidth>9</maxWidth>
    <minHeight>10</minHeight>
    <minWidth>8</minWidth>
    <name>sample string 6</name>
    <widgetId>1</widgetId>
    <width>4</width>
    <x>2</x>
    <y>3</y>
  </WidgetModel>
</ArrayOfWidgetModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result in json

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.