GET api/flight/v2/retrievePNR/{lang}/{flightPNR}/{bookingAccountId}?logTraceId={logTraceId}

查看PNR

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightPNR

PNR编号

string

Required

bookingAccountId

下单帐户ID

integer

Required

lang

语言

string

Required

logTraceId

日志跟蹤ID

string

Default value is

Body Parameters

None.

Response Information

Resource Description

查看PNR

ReturnResultOfTC_FlightPNRRetreviewRSContract
NameDescriptionTypeAdditional information
data

TC_FlightPNRRetreviewRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "passengers": [
      {
        "seqNumber": "sample string 1",
        "ticketNO": "sample string 2",
        "ticketStatus": 0,
        "firstName": "sample string 3",
        "lastName": "sample string 4",
        "prefix": "sample string 5",
        "passengerType": "sample string 6",
        "dateofBirth": "2024-12-23T19:55:19.4907395+08:00",
        "gender": 0,
        "identificationCode": "sample string 7"
      },
      {
        "seqNumber": "sample string 1",
        "ticketNO": "sample string 2",
        "ticketStatus": 0,
        "firstName": "sample string 3",
        "lastName": "sample string 4",
        "prefix": "sample string 5",
        "passengerType": "sample string 6",
        "dateofBirth": "2024-12-23T19:55:19.4907395+08:00",
        "gender": 0,
        "identificationCode": "sample string 7"
      }
    ],
    "routing": {
      "adultOrgPrice": 1.0,
      "adultOrgTax": 2.0,
      "childOrgPrice": 3.0,
      "childOrgTax": 4.0,
      "infantOrgPrice": 5.0,
      "infantOrgTax": 6.0,
      "data": "sample string 7",
      "refund": "sample string 8",
      "endorse": "sample string 9",
      "other": "sample string 10",
      "fareRuleKey": "sample string 28",
      "priceCalculations": [
        {
          "itemtype": "sample string 1",
          "adultprice": 2.0,
          "adulttax": 3.0,
          "childprice": 4.0,
          "childtax": 5.0,
          "infantprice": 6.0,
          "infanttax": 7.0,
          "remark": "sample string 8",
          "displayorder": 9
        },
        {
          "itemtype": "sample string 1",
          "adultprice": 2.0,
          "adulttax": 3.0,
          "childprice": 4.0,
          "childtax": 5.0,
          "infantprice": 6.0,
          "infanttax": 7.0,
          "remark": "sample string 8",
          "displayorder": 9
        }
      ],
      "itinerary": [
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:55:19.4907395+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:55:19.4907395+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:55:19.4907395+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:55:19.4907395+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              },
              "carryonallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:55:19.4907395+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:55:19.4907395+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              },
              "carryonallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              }
            }
          ]
        },
        {
          "flightNumber": "sample string 1",
          "carrierCode": "sample string 2",
          "carrierName": "sample string 3",
          "platingCarrierCode": "sample string 4",
          "platingCarrierName": "sample string 5",
          "depTime": "2024-12-23T19:55:19.4907395+08:00",
          "depAirportCode": "sample string 7",
          "depAirportName": "sample string 8",
          "depCityCode": "sample string 9",
          "depCityName": "sample string 10",
          "arrTime": "2024-12-23T19:55:19.4907395+08:00",
          "arrAirportCode": "sample string 12",
          "arrAirportName": "sample string 13",
          "arrCityCode": "sample string 14",
          "arrCityName": "sample string 15",
          "classCode": 0,
          "className": "sample string 16",
          "seatCount": 17,
          "travelTime": 18.1,
          "stopCount": 19,
          "aircraftCode": "sample string 20",
          "overDay": "sample string 21",
          "segmentGroup": 22,
          "segments": [
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:55:19.4907395+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:55:19.4907395+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              },
              "carryonallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              }
            },
            {
              "carrierName": "sample string 1",
              "seatCount": 2,
              "depTimeZone": 3.1,
              "depAirportName": "sample string 4",
              "depCityCode": "sample string 5",
              "depCityName": "sample string 6",
              "arrTimeZone": 7.1,
              "arrAirportName": "sample string 8",
              "arrCityCode": "sample string 9",
              "arrCityName": "sample string 10",
              "className": "sample string 11",
              "overDay": null,
              "flightNumber": "sample string 12",
              "carrierCode": "sample string 13",
              "aircraftCode": "sample string 14",
              "codeShare": true,
              "fareBasis": "sample string 16",
              "depTime": "2024-12-23T19:55:19.4907395+08:00",
              "depAirportCode": "sample string 18",
              "depTerminal": "sample string 19",
              "arrTime": "2024-12-23T19:55:19.4907395+08:00",
              "arrAirportCode": "sample string 21",
              "arrTerminal": "sample string 22",
              "classCode": 0,
              "cabin": "sample string 23",
              "stopCities": [
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                },
                {
                  "airportCode": "sample string 1",
                  "airportName": "sample string 2"
                }
              ],
              "operatorAirline": {
                "flightNumber": "sample string 1",
                "carrierCode": "sample string 2",
                "carrierName": "sample string 3"
              },
              "status": "sample string 24",
              "airReminder": "sample string 25",
              "airTime": 26.1,
              "waitTime": 27.1,
              "key": "sample string 28",
              "baggage": "sample string 29",
              "segmentOrder": 30,
              "segmentGroup": 31,
              "baggageallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              },
              "carryonallowance": {
                "unit": 1,
                "unitname": "sample string 1",
                "simplerule": true,
                "url": "sample string 3",
                "remark": "sample string 4",
                "baggages": [
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  },
                  {
                    "index": 1,
                    "isfree": true,
                    "remark": "sample string 3"
                  }
                ]
              }
            }
          ]
        }
      ],
      "searchQuoteInfo": {
        "adultPrice": 1.0,
        "adultTax": 2.0,
        "childPrice": 3.0,
        "childTax": 4.0,
        "infantPrice": 5.0,
        "infantTax": 6.0
      },
      "source": "sample string 11",
      "sessionId": 12,
      "adult": 13,
      "child": 14,
      "infant": 15,
      "labour": 16,
      "adultPrice": 17.0,
      "adultTax": 18.0,
      "childPrice": 19.0,
      "childTax": 20.0,
      "infantPrice": 21.0,
      "infantTax": 22.0,
      "fareType": 0,
      "farePrice": 2206.0,
      "searchAccountId": 23,
      "bookingAccountId": 24,
      "isCacheData": true,
      "platingCarrier": "sample string 26"
    },
    "remarks": [
      {
        "type": "sample string 1",
        "freetext": "sample string 2"
      },
      {
        "type": "sample string 1",
        "freetext": "sample string 2"
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}