POST api/ServicePdf/Template

Documentation for 'Template'.

Request Information

Parameters

NameDescriptionAdditional information
templateDto
Documentation for 'templateDto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MovementIdsDto": [
    {
      "ArrivalFlightId": "sample string 1",
      "DepartureFlightId": "sample string 2"
    },
    {
      "ArrivalFlightId": "sample string 1",
      "DepartureFlightId": "sample string 2"
    },
    {
      "ArrivalFlightId": "sample string 1",
      "DepartureFlightId": "sample string 2"
    }
  ],
  "Template": "sample string 1",
  "PaperSize": "sample string 2",
  "Comment": "sample string 3"
}

application/xml, text/xml

Sample:
<TemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.Msg.Printing">
  <Comment>sample string 3</Comment>
  <MovementIdsDto>
    <MovementsIdsDto>
      <ArrivalFlightId>sample string 1</ArrivalFlightId>
      <DepartureFlightId>sample string 2</DepartureFlightId>
    </MovementsIdsDto>
    <MovementsIdsDto>
      <ArrivalFlightId>sample string 1</ArrivalFlightId>
      <DepartureFlightId>sample string 2</DepartureFlightId>
    </MovementsIdsDto>
    <MovementsIdsDto>
      <ArrivalFlightId>sample string 1</ArrivalFlightId>
      <DepartureFlightId>sample string 2</DepartureFlightId>
    </MovementsIdsDto>
  </MovementIdsDto>
  <PaperSize>sample string 2</PaperSize>
  <Template>sample string 1</Template>
</TemplateDto>

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