POST AIR/api/app/Air/TicketNONLCC

Request Information

URI Parameters

None.

Body Parameters

TicketNonLcc
NameDescriptionTypeAdditional information
PNR

string

None.

TraceId

string

None.

BookingId

string

None.

OfferedFare

decimal number

None.

PublishedFare

decimal number

None.

ResultIndex

string

None.

LeadPaxFirstName

string

None.

LeadPaxLastName

string

None.

PassengerName

string

None.

isDomastic

boolean

None.

JourneyType

integer

None.

AirlineName

string

None.

OptionalServicesCharge

decimal number

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PNR": "sample string 1",
  "TraceId": "sample string 2",
  "BookingId": "sample string 3",
  "OfferedFare": 4.0,
  "PublishedFare": 5.0,
  "ResultIndex": "sample string 6",
  "LeadPaxFirstName": "sample string 7",
  "LeadPaxLastName": "sample string 8",
  "PassengerName": "sample string 9",
  "isDomastic": true,
  "JourneyType": 11,
  "AirlineName": "sample string 12",
  "OptionalServicesCharge": 13.0,
  "Source": "sample string 14"
}

application/xml, text/xml

Sample:
<TicketNonLcc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <AirlineName>sample string 12</AirlineName>
  <BookingId>sample string 3</BookingId>
  <JourneyType>11</JourneyType>
  <LeadPaxFirstName>sample string 7</LeadPaxFirstName>
  <LeadPaxLastName>sample string 8</LeadPaxLastName>
  <OfferedFare>4</OfferedFare>
  <OptionalServicesCharge>13</OptionalServicesCharge>
  <PNR>sample string 1</PNR>
  <PassengerName>sample string 9</PassengerName>
  <PublishedFare>5</PublishedFare>
  <ResultIndex>sample string 6</ResultIndex>
  <Source>sample string 14</Source>
  <TraceId>sample string 2</TraceId>
  <isDomastic>true</isDomastic>
</TicketNonLcc>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TicketNonLcc'.

Response Information

Resource Description

TicketNonLccResponseVM
NameDescriptionTypeAdditional information
Version

string

None.

StatusCode

integer

None.

Content

TicketNonLCCContent

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "sample string 1",
  "StatusCode": 2,
  "Content": {
    "ResponseCode": 1,
    "Addinfo": {
      "ResponseStatus": 1,
      "Error": {
        "ErrorCode": 1,
        "ErrorMessage": "sample string 2"
      },
      "TraceId": "sample string 2",
      "B2B2BStatus": true,
      "Response": {
        "PNR": "sample string 1",
        "BookingId": "sample string 2",
        "SsrDenied": true,
        "SsrMessage": {},
        "Status": 5,
        "IsPriceChanged": true,
        "IsTimeChanged": true,
        "TicketStatus": 8
      }
    }
  }
}

application/xml, text/xml

Sample:
<TicketNonLccResponseVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <Content>
    <Addinfo>
      <B2B2BStatus>true</B2B2BStatus>
      <Error>
        <ErrorCode>1</ErrorCode>
        <ErrorMessage>sample string 2</ErrorMessage>
      </Error>
      <Response>
        <BookingId>sample string 2</BookingId>
        <IsPriceChanged>true</IsPriceChanged>
        <IsTimeChanged>true</IsTimeChanged>
        <PNR>sample string 1</PNR>
        <SsrDenied>true</SsrDenied>
        <SsrMessage />
        <Status>5</Status>
        <TicketStatus>8</TicketStatus>
      </Response>
      <ResponseStatus>1</ResponseStatus>
      <TraceId>sample string 2</TraceId>
    </Addinfo>
    <ResponseCode>1</ResponseCode>
  </Content>
  <StatusCode>2</StatusCode>
  <Version>sample string 1</Version>
</TicketNonLccResponseVM>