POST api/ImportCodeshareOptions

Documentation for 'SaveCodeshareOptions'.

Request Information

Parameters

NameDescriptionAdditional information
dto
Documentation for 'dto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CodeshareOperatorLength": "sample string 1",
  "CodeshareDelimiter": "sample string 2"
}

application/xml, text/xml

Sample:
<CodeshareOptionsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Config">
  <CodeshareDelimiter>sample string 2</CodeshareDelimiter>
  <CodeshareOperatorLength>sample string 1</CodeshareOperatorLength>
</CodeshareOptionsDto>

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