POST api/Administration/SaveSeason

Documentation for 'SaveSeason'.

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": {
    "Name": "sample string 1",
    "Start": "2025-04-29T03:01:00.9880168-04:00",
    "End": "2025-04-29T03:01:00.9880168-04:00"
  },
  "sample string 2": {
    "Name": "sample string 1",
    "Start": "2025-04-29T03:01:00.9880168-04:00",
    "End": "2025-04-29T03:01:00.9880168-04:00"
  },
  "sample string 3": {
    "Name": "sample string 1",
    "Start": "2025-04-29T03:01:00.9880168-04:00",
    "End": "2025-04-29T03:01:00.9880168-04:00"
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringSeasonDtoQ7DAhuYm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringSeasonDtoQ7DAhuYm>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config.SlotManager">
      <d3p1:End>2025-04-29T03:01:00.9880168-04:00</d3p1:End>
      <d3p1:Name>sample string 1</d3p1:Name>
      <d3p1:Start>2025-04-29T03:01:00.9880168-04:00</d3p1:Start>
    </Value>
  </KeyValueOfstringSeasonDtoQ7DAhuYm>
  <KeyValueOfstringSeasonDtoQ7DAhuYm>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config.SlotManager">
      <d3p1:End>2025-04-29T03:01:00.9880168-04:00</d3p1:End>
      <d3p1:Name>sample string 1</d3p1:Name>
      <d3p1:Start>2025-04-29T03:01:00.9880168-04:00</d3p1:Start>
    </Value>
  </KeyValueOfstringSeasonDtoQ7DAhuYm>
  <KeyValueOfstringSeasonDtoQ7DAhuYm>
    <Key>sample string 3</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config.SlotManager">
      <d3p1:End>2025-04-29T03:01:00.9880168-04:00</d3p1:End>
      <d3p1:Name>sample string 1</d3p1:Name>
      <d3p1:Start>2025-04-29T03:01:00.9880168-04:00</d3p1:Start>
    </Value>
  </KeyValueOfstringSeasonDtoQ7DAhuYm>
</ArrayOfKeyValueOfstringSeasonDtoQ7DAhuYm>

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'.