POST api/PrintOptions/SaveDateTimeOptions

Documentation for 'SaveDateTimeOptions'.

Request Information

Parameters

NameDescriptionAdditional information
dto
Documentation for 'dto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "sample string 1": {
    "StartBuffer": 1,
    "EndBuffer": 2
  },
  "sample string 2": {
    "StartBuffer": 1,
    "EndBuffer": 2
  },
  "sample string 3": {
    "StartBuffer": 1,
    "EndBuffer": 2
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringGanttDateTimeDtoUY9cdC_SE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:EndBuffer>2</d3p1:EndBuffer>
      <d3p1:StartBuffer>1</d3p1:StartBuffer>
    </Value>
  </KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
  <KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:EndBuffer>2</d3p1:EndBuffer>
      <d3p1:StartBuffer>1</d3p1:StartBuffer>
    </Value>
  </KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
  <KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
    <Key>sample string 3</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:EndBuffer>2</d3p1:EndBuffer>
      <d3p1:StartBuffer>1</d3p1:StartBuffer>
    </Value>
  </KeyValueOfstringGanttDateTimeDtoUY9cdC_SE>
</ArrayOfKeyValueOfstringGanttDateTimeDtoUY9cdC_SE>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'IDictionary`2'.