POST Settings

Update an existing User.

Request Information

URI Parameters

None.

Body Parameters

A SettingsRestResult object

SettingsRestItem
NameDescriptionTypeAdditional information
SettingId

integer

None.

UserId

integer

None.

MapType

byte

None.

HasAdvancedIconEnabled

boolean

None.

HasMapControlsEnabled

boolean

None.

HasAutoSelectEnabled

boolean

None.

HasMarkerManagerEnabled

boolean

None.

HasTrafficLayerEnabled

boolean

None.

HasWeatherLayerEnabled

boolean

None.

HasIconEnabled

boolean

None.

HasAutoZoomMapEnabled

boolean

None.

LabelOptions

integer

None.

CalloutOptions

integer

None.

SidebarOptions

integer

None.

HideLabel

boolean

None.

RepeatShowDate

boolean

None.

StickyHeaders

boolean

None.

SortOn

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SettingId": 1,
  "UserId": 2,
  "MapType": 64,
  "HasAdvancedIconEnabled": true,
  "HasMapControlsEnabled": true,
  "HasAutoSelectEnabled": true,
  "HasMarkerManagerEnabled": true,
  "HasTrafficLayerEnabled": true,
  "HasWeatherLayerEnabled": true,
  "HasIconEnabled": true,
  "HasAutoZoomMapEnabled": true,
  "LabelOptions": 12,
  "CalloutOptions": 13,
  "SidebarOptions": 14,
  "HideLabel": true,
  "RepeatShowDate": true,
  "StickyHeaders": true,
  "SortOn": 18
}

application/xml, text/xml

Sample:
<SettingsRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
  <CalloutOptions>13</CalloutOptions>
  <HasAdvancedIconEnabled>true</HasAdvancedIconEnabled>
  <HasAutoSelectEnabled>true</HasAutoSelectEnabled>
  <HasAutoZoomMapEnabled>true</HasAutoZoomMapEnabled>
  <HasIconEnabled>true</HasIconEnabled>
  <HasMapControlsEnabled>true</HasMapControlsEnabled>
  <HasMarkerManagerEnabled>true</HasMarkerManagerEnabled>
  <HasTrafficLayerEnabled>true</HasTrafficLayerEnabled>
  <HasWeatherLayerEnabled>true</HasWeatherLayerEnabled>
  <HideLabel>true</HideLabel>
  <LabelOptions>12</LabelOptions>
  <MapType>64</MapType>
  <RepeatShowDate>true</RepeatShowDate>
  <SettingId>1</SettingId>
  <SidebarOptions>14</SidebarOptions>
  <SortOn>18</SortOn>
  <StickyHeaders>true</StickyHeaders>
  <UserId>2</UserId>
</SettingsRestItem>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SettingsRestItem'.

Response Information

Resource Description

SettingsRestResult
NameDescriptionTypeAdditional information
RestItems

Collection of UserRestItem objects.

Collection of SettingsRestItem

None.

Response Formats

application/json, text/json

Sample:
{
  "RestItems": [
    {
      "SettingId": 1,
      "UserId": 2,
      "MapType": 64,
      "HasAdvancedIconEnabled": true,
      "HasMapControlsEnabled": true,
      "HasAutoSelectEnabled": true,
      "HasMarkerManagerEnabled": true,
      "HasTrafficLayerEnabled": true,
      "HasWeatherLayerEnabled": true,
      "HasIconEnabled": true,
      "HasAutoZoomMapEnabled": true,
      "LabelOptions": 12,
      "CalloutOptions": 13,
      "SidebarOptions": 14,
      "HideLabel": true,
      "RepeatShowDate": true,
      "StickyHeaders": true,
      "SortOn": 18
    },
    {
      "SettingId": 1,
      "UserId": 2,
      "MapType": 64,
      "HasAdvancedIconEnabled": true,
      "HasMapControlsEnabled": true,
      "HasAutoSelectEnabled": true,
      "HasMarkerManagerEnabled": true,
      "HasTrafficLayerEnabled": true,
      "HasWeatherLayerEnabled": true,
      "HasIconEnabled": true,
      "HasAutoZoomMapEnabled": true,
      "LabelOptions": 12,
      "CalloutOptions": 13,
      "SidebarOptions": 14,
      "HideLabel": true,
      "RepeatShowDate": true,
      "StickyHeaders": true,
      "SortOn": 18
    }
  ]
}

application/xml, text/xml

Sample:
<SettingsRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
  <RestItems>
    <SettingsRestItem>
      <CalloutOptions>13</CalloutOptions>
      <HasAdvancedIconEnabled>true</HasAdvancedIconEnabled>
      <HasAutoSelectEnabled>true</HasAutoSelectEnabled>
      <HasAutoZoomMapEnabled>true</HasAutoZoomMapEnabled>
      <HasIconEnabled>true</HasIconEnabled>
      <HasMapControlsEnabled>true</HasMapControlsEnabled>
      <HasMarkerManagerEnabled>true</HasMarkerManagerEnabled>
      <HasTrafficLayerEnabled>true</HasTrafficLayerEnabled>
      <HasWeatherLayerEnabled>true</HasWeatherLayerEnabled>
      <HideLabel>true</HideLabel>
      <LabelOptions>12</LabelOptions>
      <MapType>64</MapType>
      <RepeatShowDate>true</RepeatShowDate>
      <SettingId>1</SettingId>
      <SidebarOptions>14</SidebarOptions>
      <SortOn>18</SortOn>
      <StickyHeaders>true</StickyHeaders>
      <UserId>2</UserId>
    </SettingsRestItem>
    <SettingsRestItem>
      <CalloutOptions>13</CalloutOptions>
      <HasAdvancedIconEnabled>true</HasAdvancedIconEnabled>
      <HasAutoSelectEnabled>true</HasAutoSelectEnabled>
      <HasAutoZoomMapEnabled>true</HasAutoZoomMapEnabled>
      <HasIconEnabled>true</HasIconEnabled>
      <HasMapControlsEnabled>true</HasMapControlsEnabled>
      <HasMarkerManagerEnabled>true</HasMarkerManagerEnabled>
      <HasTrafficLayerEnabled>true</HasTrafficLayerEnabled>
      <HasWeatherLayerEnabled>true</HasWeatherLayerEnabled>
      <HideLabel>true</HideLabel>
      <LabelOptions>12</LabelOptions>
      <MapType>64</MapType>
      <RepeatShowDate>true</RepeatShowDate>
      <SettingId>1</SettingId>
      <SidebarOptions>14</SidebarOptions>
      <SortOn>18</SortOn>
      <StickyHeaders>true</StickyHeaders>
      <UserId>2</UserId>
    </SettingsRestItem>
  </RestItems>
</SettingsRestResult>