POST api/travel/day/settings

Updates travel day settings with new key-value pairs. This replaces the entire settings dictionary with the provided values.

Request Information

URI Parameters

None.

Body Parameters

A dictionary of setting key-value pairs to set. Sent in the request body as JSON object.

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/javascript

Sample:
{"sample string 1":"sample string 2","sample string 3":"sample string 4"}

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 'Dictionary`2'.

Response Information

Resource Description

Returns HTTP 204 (No Content) if the settings were successfully updated.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/javascript

Sample:

Sample not available.