POST api/Administration/SaveMovementMappings

Documentation for 'SaveMovementMappings'.

Request Information

Parameters

NameDescriptionAdditional information
mapping
Documentation for 'mapping'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Title": "sample string 2",
  "ArrivalProperty": "sample string 3",
  "DepartureProperty": "sample string 4",
  "DateTimeFormat": "sample string 5"
}

application/xml, text/xml

Sample:
<Mapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Config.Interface.Models">
  <ArrivalProperty>sample string 3</ArrivalProperty>
  <DateTimeFormat>sample string 5</DateTimeFormat>
  <DepartureProperty>sample string 4</DepartureProperty>
  <Key>sample string 1</Key>
  <Title>sample string 2</Title>
</Mapping>

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