GET api/invoice/flight/detail/{docNO}?lang={lang}

機票訂單詳情

Request Information

URI Parameters

NameDescriptionTypeAdditional information
docNO

string

Required

lang

string

Default value is zh-hk

Body Parameters

None.

Response Information

Resource Description

機票訂單詳情

ReturnResultOfFlightOrderRspContract
NameDescriptionTypeAdditional information
data

FlightOrderRspContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "FlightSegments": [
      {
        "flightgroup": 1,
        "docnoseqno": 2,
        "seqno": 3,
        "docno": "sample string 4",
        "carriercode": "sample string 5",
        "flightnumber": "sample string 6",
        "depairportcode": "sample string 7",
        "deptime": "2024-12-23T20:12:16.6455732+08:00",
        "arrairportcode": "sample string 9",
        "arrtime": "2024-12-23T20:12:16.6455732+08:00",
        "stopcities": "sample string 11",
        "codeshare": true,
        "cabin": "sample string 13",
        "aircraftcode": "sample string 14",
        "bookingcodeinfo": "sample string 15",
        "isconnect": true,
        "cabinclasscode": "sample string 17",
        "farerulekey": "sample string 18",
        "airreminder": "sample string 19",
        "airtime": "sample string 20",
        "fareprice": "sample string 21",
        "marketairlinecode": "sample string 22",
        "operatorairlinecode": "sample string 23",
        "baggage": "sample string 24",
        "farebasis": "sample string 25",
        "depterminal": "sample string 26",
        "arrterminal": "sample string 27",
        "carriername": "sample string 28",
        "depairportname": "sample string 29",
        "arrairportname": "sample string 30",
        "cabinclassname": "sample string 31",
        "marketairlinename": "sample string 32",
        "operatorairlinename": "sample string 33",
        "stopcitiesname": "sample string 34",
        "depcity": "sample string 35",
        "arrcity": "sample string 36"
      },
      {
        "flightgroup": 1,
        "docnoseqno": 2,
        "seqno": 3,
        "docno": "sample string 4",
        "carriercode": "sample string 5",
        "flightnumber": "sample string 6",
        "depairportcode": "sample string 7",
        "deptime": "2024-12-23T20:12:16.6455732+08:00",
        "arrairportcode": "sample string 9",
        "arrtime": "2024-12-23T20:12:16.6455732+08:00",
        "stopcities": "sample string 11",
        "codeshare": true,
        "cabin": "sample string 13",
        "aircraftcode": "sample string 14",
        "bookingcodeinfo": "sample string 15",
        "isconnect": true,
        "cabinclasscode": "sample string 17",
        "farerulekey": "sample string 18",
        "airreminder": "sample string 19",
        "airtime": "sample string 20",
        "fareprice": "sample string 21",
        "marketairlinecode": "sample string 22",
        "operatorairlinecode": "sample string 23",
        "baggage": "sample string 24",
        "farebasis": "sample string 25",
        "depterminal": "sample string 26",
        "arrterminal": "sample string 27",
        "carriername": "sample string 28",
        "depairportname": "sample string 29",
        "arrairportname": "sample string 30",
        "cabinclassname": "sample string 31",
        "marketairlinename": "sample string 32",
        "operatorairlinename": "sample string 33",
        "stopcitiesname": "sample string 34",
        "depcity": "sample string 35",
        "arrcity": "sample string 36"
      }
    ],
    "FlightDetail": {
      "DocNo": "sample string 1",
      "DocNoSeqNo": 2,
      "FlightUR": "sample string 3",
      "FlightPNR": "sample string 4",
      "Currency": "sample string 5",
      "Adult": 6,
      "AdultPrice": 7.0,
      "AdultOrgPrice": 8.0,
      "AdultTax": 9.0,
      "AdultOrgTax": 10.0,
      "Child": 11,
      "ChildPrice": 12.0,
      "ChildOrgPrice": 13.0,
      "ChildTax": 14.0,
      "ChildOrgTax": 15.0,
      "Infant": 16,
      "InfantPrice": 17.0,
      "InfantOrgPrice": 18.0,
      "InfantTax": 19.0,
      "InfantOrgTax": 20.0,
      "FareType": 21,
      "SegmentCount": 22,
      "AccountId": 1,
      "TripType": 23,
      "IsAutoTicket": true,
      "Status": "sample string 25",
      "APISource": "sample string 26",
      "PriceNote": "sample string 27",
      "Refund": "sample string 28",
      "Endorse": "sample string 29",
      "Baggage": "sample string 30",
      "Other": "sample string 31",
      "ApplyType": 1,
      "AdultTaxType": 1,
      "ChildTaxType": 1,
      "InfantTaxType": 1
    },
    "invoiceparms": [
      {
        "parmname": "sample string 1",
        "pramvalue": "sample string 2"
      },
      {
        "parmname": "sample string 1",
        "pramvalue": "sample string 2"
      }
    ],
    "insuranceinfo": [
      {
        "docno": "sample string 1",
        "detail": {
          "docno": "sample string 1",
          "docnoseqno": 2,
          "source": "sample string 3",
          "effectivedate": "2024-12-23T20:12:16.6455732+08:00",
          "expirationdate": "2024-12-23T20:12:16.6455732+08:00",
          "companyname": "sample string 6",
          "companyid": "sample string 7",
          "destinationid": "sample string 8",
          "destinationdesc": "sample string 9",
          "insuredpackageid": "sample string 10",
          "InsuredPackageDesc": "sample string 11",
          "PlanId": "sample string 12",
          "plandesc": "sample string 13",
          "extradata1": "sample string 14",
          "extradata2": "sample string 15",
          "extradata3": "sample string 16",
          "extradata4": "sample string 17",
          "extradata5": "sample string 18",
          "quoteamt": 19.0,
          "quotecurrency": "sample string 20",
          "discountedquoteamt": 21.0,
          "quotevaliduntildate": "2024-12-23T20:12:16.6455732+08:00",
          "status": "sample string 23",
          "statusdesc": "sample string 24",
          "transactionresponsedt": "2024-12-23T20:12:16.6455732+08:00",
          "planamt": 26.0,
          "PlanCurrency": "sample string 27",
          "policynumber": "sample string 28",
          "policystatus": "sample string 29",
          "originalsubmittedpolicydate": "2024-12-23T20:12:16.6455732+08:00",
          "policyschedule": "sample string 31"
        },
        "contact": [
          {
            "docnoseqno": 1,
            "insuredpersonseqno": 2,
            "phonetypecd": "sample string 3",
            "phoneareacode": "sample string 4",
            "phonenumber": "sample string 5",
            "email": "sample string 6"
          },
          {
            "docnoseqno": 1,
            "insuredpersonseqno": 2,
            "phonetypecd": "sample string 3",
            "phoneareacode": "sample string 4",
            "phonenumber": "sample string 5",
            "email": "sample string 6"
          }
        ],
        "insuredpersons": [
          {
            "docnoseqno": 1,
            "seqno": 2,
            "surname": "sample string 3",
            "givenname": "sample string 4",
            "titleprefix": "sample string 5",
            "birthdate": "2024-12-23T20:12:16.6455732+08:00",
            "idnumbertypecd": "sample string 7",
            "idnumber": "sample string 8",
            "persontype": "sample string 9"
          },
          {
            "docnoseqno": 1,
            "seqno": 2,
            "surname": "sample string 3",
            "givenname": "sample string 4",
            "titleprefix": "sample string 5",
            "birthdate": "2024-12-23T20:12:16.6455732+08:00",
            "idnumbertypecd": "sample string 7",
            "idnumber": "sample string 8",
            "persontype": "sample string 9"
          }
        ]
      },
      {
        "docno": "sample string 1",
        "detail": {
          "docno": "sample string 1",
          "docnoseqno": 2,
          "source": "sample string 3",
          "effectivedate": "2024-12-23T20:12:16.6455732+08:00",
          "expirationdate": "2024-12-23T20:12:16.6455732+08:00",
          "companyname": "sample string 6",
          "companyid": "sample string 7",
          "destinationid": "sample string 8",
          "destinationdesc": "sample string 9",
          "insuredpackageid": "sample string 10",
          "InsuredPackageDesc": "sample string 11",
          "PlanId": "sample string 12",
          "plandesc": "sample string 13",
          "extradata1": "sample string 14",
          "extradata2": "sample string 15",
          "extradata3": "sample string 16",
          "extradata4": "sample string 17",
          "extradata5": "sample string 18",
          "quoteamt": 19.0,
          "quotecurrency": "sample string 20",
          "discountedquoteamt": 21.0,
          "quotevaliduntildate": "2024-12-23T20:12:16.6455732+08:00",
          "status": "sample string 23",
          "statusdesc": "sample string 24",
          "transactionresponsedt": "2024-12-23T20:12:16.6455732+08:00",
          "planamt": 26.0,
          "PlanCurrency": "sample string 27",
          "policynumber": "sample string 28",
          "policystatus": "sample string 29",
          "originalsubmittedpolicydate": "2024-12-23T20:12:16.6455732+08:00",
          "policyschedule": "sample string 31"
        },
        "contact": [
          {
            "docnoseqno": 1,
            "insuredpersonseqno": 2,
            "phonetypecd": "sample string 3",
            "phoneareacode": "sample string 4",
            "phonenumber": "sample string 5",
            "email": "sample string 6"
          },
          {
            "docnoseqno": 1,
            "insuredpersonseqno": 2,
            "phonetypecd": "sample string 3",
            "phoneareacode": "sample string 4",
            "phonenumber": "sample string 5",
            "email": "sample string 6"
          }
        ],
        "insuredpersons": [
          {
            "docnoseqno": 1,
            "seqno": 2,
            "surname": "sample string 3",
            "givenname": "sample string 4",
            "titleprefix": "sample string 5",
            "birthdate": "2024-12-23T20:12:16.6455732+08:00",
            "idnumbertypecd": "sample string 7",
            "idnumber": "sample string 8",
            "persontype": "sample string 9"
          },
          {
            "docnoseqno": 1,
            "seqno": 2,
            "surname": "sample string 3",
            "givenname": "sample string 4",
            "titleprefix": "sample string 5",
            "birthdate": "2024-12-23T20:12:16.6455732+08:00",
            "idnumbertypecd": "sample string 7",
            "idnumber": "sample string 8",
            "persontype": "sample string 9"
          }
        ]
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}