PUT api/users/current/widgetconfigurations/{userWidgetConfigurationId}/columnwidth

Updates the width of a column for a specific List widget.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
userWidgetConfigurationId

The id of the List widget.

integer

Required



Body Parameters

A ListWidgetColumnWidthViewModel representing the width to update the column to.

ListWidgetColumnWidthViewModel
NameDescriptionTypeAdditional information
EntityAttributeId

integer

None.

Width

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityAttributeId": 1,
  "Width": 2
}

application/xml, text/xml

Sample:
<ListWidgetColumnWidthViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels.Widgets">
  <EntityAttributeId>1</EntityAttributeId>
  <Width>2</Width>
</ListWidgetColumnWidthViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ListWidgetColumnWidthViewModel collection representing all of the column widths of the updated widget.

Collection of ListWidgetColumnWidthViewModel

NameDescriptionTypeAdditional information
EntityAttributeId

integer

None.

Width

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EntityAttributeId": 1,
    "Width": 2
  },
  {
    "EntityAttributeId": 1,
    "Width": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfListWidgetColumnWidthViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels.Widgets">
  <ListWidgetColumnWidthViewModel>
    <EntityAttributeId>1</EntityAttributeId>
    <Width>2</Width>
  </ListWidgetColumnWidthViewModel>
  <ListWidgetColumnWidthViewModel>
    <EntityAttributeId>1</EntityAttributeId>
    <Width>2</Width>
  </ListWidgetColumnWidthViewModel>
</ArrayOfListWidgetColumnWidthViewModel>