POST api/LocalTime

Documentation for 'SaveLocalTime'.

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": {
    "Airport": "sample string 1",
    "TimeZone": "sample string 2"
  },
  "sample string 2": {
    "Airport": "sample string 1",
    "TimeZone": "sample string 2"
  },
  "sample string 3": {
    "Airport": "sample string 1",
    "TimeZone": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringLocalTimeDtoUY9cdC_SE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringLocalTimeDtoUY9cdC_SE>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:Airport>sample string 1</d3p1:Airport>
      <d3p1:TimeZone>sample string 2</d3p1:TimeZone>
    </Value>
  </KeyValueOfstringLocalTimeDtoUY9cdC_SE>
  <KeyValueOfstringLocalTimeDtoUY9cdC_SE>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:Airport>sample string 1</d3p1:Airport>
      <d3p1:TimeZone>sample string 2</d3p1:TimeZone>
    </Value>
  </KeyValueOfstringLocalTimeDtoUY9cdC_SE>
  <KeyValueOfstringLocalTimeDtoUY9cdC_SE>
    <Key>sample string 3</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
      <d3p1:Airport>sample string 1</d3p1:Airport>
      <d3p1:TimeZone>sample string 2</d3p1:TimeZone>
    </Value>
  </KeyValueOfstringLocalTimeDtoUY9cdC_SE>
</ArrayOfKeyValueOfstringLocalTimeDtoUY9cdC_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'.