GET api/invoice/flight/getOrderInfo/{lang}/{orderNO}

機票訂單信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderNO

訂單號

string

Required

lang

語言

string

Required

Body Parameters

None.

Response Information

Resource Description

機票訂單信息

ReturnResultOfFlightOrderInfoContact
NameDescriptionTypeAdditional information
data

FlightOrderInfoContact

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "DocNO": "sample string 1",
    "OrderNo": "sample string 2",
    "MemberId": 3,
    "MemberGuid": "sample string 4",
    "FlightPNR": "sample string 5",
    "AccountId": 1,
    "CurrencyCode": "sample string 6",
    "DiscountAmt": 7.0,
    "TotalAmt": 8.0,
    "PaidAmt": 9.0,
    "IntegralNum": 10.0,
    "IntegralDiscount": 11.0,
    "PaymentAmount": -10.0,
    "OrderTime": "2024-12-23T16:19:36.3602809+08:00",
    "Status": "sample string 13",
    "ContactInfo": {
      "Prefix": "sample string 1",
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Phone": "sample string 4",
      "Email": "sample string 5"
    },
    "PaymentInfo": {
      "PayType": "sample string 1",
      "PayTranId": "sample string 2",
      "CreditCardNum": "sample string 3",
      "PayAmt": 4.0,
      "PayCurrency": "sample string 5",
      "IsPaid": true
    },
    "FlightInfos": [
      {
        "SegmentGroup": 1,
        "CarrierCode": "sample string 2",
        "CarrierName": "sample string 3",
        "FlightNumber": "sample string 4",
        "DepAirportCode": "sample string 5",
        "DepAirportName": "sample string 6",
        "DepCityCode": "sample string 7",
        "DepCityName": "sample string 8",
        "DepTime": "2024-12-23T16:19:36.3602809+08:00",
        "ArrAirportCode": "sample string 10",
        "ArrAirportName": "sample string 11",
        "ArrCityCode": "sample string 12",
        "ArrCityName": "sample string 13",
        "ArrTime": "2024-12-23T16:19:36.3602809+08:00",
        "CabinClassCode": "sample string 15",
        "Cabin": "sample string 16",
        "AirTime": 17
      },
      {
        "SegmentGroup": 1,
        "CarrierCode": "sample string 2",
        "CarrierName": "sample string 3",
        "FlightNumber": "sample string 4",
        "DepAirportCode": "sample string 5",
        "DepAirportName": "sample string 6",
        "DepCityCode": "sample string 7",
        "DepCityName": "sample string 8",
        "DepTime": "2024-12-23T16:19:36.3602809+08:00",
        "ArrAirportCode": "sample string 10",
        "ArrAirportName": "sample string 11",
        "ArrCityCode": "sample string 12",
        "ArrCityName": "sample string 13",
        "ArrTime": "2024-12-23T16:19:36.3602809+08:00",
        "CabinClassCode": "sample string 15",
        "Cabin": "sample string 16",
        "AirTime": 17
      }
    ],
    "PriceInfos": [
      {
        "PassengerType": 0,
        "Count": 1,
        "Price": 2.0,
        "Tax": 3.0
      },
      {
        "PassengerType": 0,
        "Count": 1,
        "Price": 2.0,
        "Tax": 3.0
      }
    ],
    "InsuranceDetail": {
      "docno": "sample string 1",
      "docnoseqno": 2,
      "source": "sample string 3",
      "effectivedate": "2024-12-23T16:19:36.3602809+08:00",
      "expirationdate": "2024-12-23T16:19:36.3602809+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-23T16:19:36.3602809+08:00",
      "status": "sample string 23",
      "statusdesc": "sample string 24",
      "transactionresponsedt": "2024-12-23T16:19:36.3602809+08:00",
      "planamt": 26.0,
      "PlanCurrency": "sample string 27",
      "policynumber": "sample string 28",
      "policystatus": "sample string 29",
      "originalsubmittedpolicydate": "2024-12-23T16:19:36.3602809+08:00",
      "policyschedule": "sample string 31"
    },
    "CouponInfos": [
      {
        "coupontype": 0,
        "couponcode": "sample string 1",
        "couponsource": 2,
        "couponeventname": "sample string 3",
        "discountamount": 4.0,
        "discount": 5.0,
        "discountcalctype": 6,
        "discountcalcrule": 7
      },
      {
        "coupontype": 0,
        "couponcode": "sample string 1",
        "couponsource": 2,
        "couponeventname": "sample string 3",
        "discountamount": 4.0,
        "discount": 5.0,
        "discountcalctype": 6,
        "discountcalcrule": 7
      }
    ],
    "wifibbinfo": {
      "DocNo": "sample string 1",
      "ProductId": 2,
      "Qty": 3,
      "CountryCode": "sample string 4",
      "Country": "sample string 5",
      "StartDate": "2024-12-23T16:19:36.3602809+08:00",
      "EndDate": "2024-12-23T16:19:36.3602809+08:00",
      "TrueDays": 8,
      "PayDays": 9,
      "DepositAmt": 10.0,
      "ProductTotal": 11.0,
      "OrgProductTotal": 12.0,
      "Status": 0,
      "WifibbOrderId": 1,
      "WifibbOrderCode": "sample string 13"
    }
  },
  "code": 1,
  "message": "sample string 2"
}