GET api/invoice/flight/orderinfo/{OrderNo}

獲取訂單概要信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderNo

訂單編號

string

Required

Body Parameters

None.

Response Information

Resource Description

獲取訂單概要信息

ReturnResultOfOrderInfoResponse
NameDescriptionTypeAdditional information
data

OrderInfoResponse

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "docno": "sample string 1",
    "orderno": "sample string 2",
    "IsCludeInsurance": true,
    "integralnum": 4.0,
    "integraldiscount": 5.0,
    "paymentamount": -6.0,
    "companyid": "sample string 6",
    "memberid": 7,
    "memberguid": "sample string 8",
    "totalamt": 9.0,
    "discountamt": 10.0,
    "contactinfo": [
      {
        "docno": "sample string 1",
        "prefix": "sample string 2",
        "lastname": "sample string 3",
        "middlename": "sample string 4",
        "firstname": "sample string 5",
        "address": "sample string 6",
        "postcode": "sample string 7",
        "email": "sample string 8",
        "telcountry": "sample string 9",
        "phone": "sample string 10",
        "contacttype": "sample string 11",
        "nationalitycode": "sample string 12"
      },
      {
        "docno": "sample string 1",
        "prefix": "sample string 2",
        "lastname": "sample string 3",
        "middlename": "sample string 4",
        "firstname": "sample string 5",
        "address": "sample string 6",
        "postcode": "sample string 7",
        "email": "sample string 8",
        "telcountry": "sample string 9",
        "phone": "sample string 10",
        "contacttype": "sample string 11",
        "nationalitycode": "sample string 12"
      }
    ],
    "paidamt": 11.0,
    "currency": "sample string 12",
    "orderstatus": 0,
    "paycount": 13,
    "orderfareinfo": [
      {
        "farestatus": 0,
        "flightur": "sample string 1",
        "flightpnr": "sample string 2",
        "apisource": "sample string 3",
        "docnoseqno": 4,
        "isautoticket": true,
        "triptype": "sample string 6"
      },
      {
        "farestatus": 0,
        "flightur": "sample string 1",
        "flightpnr": "sample string 2",
        "apisource": "sample string 3",
        "docnoseqno": 4,
        "isautoticket": true,
        "triptype": "sample string 6"
      }
    ],
    "invoiceparms": [
      {
        "parmname": "sample string 1",
        "pramvalue": "sample string 2"
      },
      {
        "parmname": "sample string 1",
        "pramvalue": "sample string 2"
      }
    ],
    "insuarnceorderinfo": {
      "source": "sample string 1",
      "effectivedate": "2024-12-23T19:41:12.4064742+08:00",
      "expirationdate": "2024-12-23T19:41:12.4064742+08:00",
      "companyid": "sample string 2",
      "destinationid": "sample string 3",
      "destinationdesc": "sample string 4",
      "insuredpackageid": "sample string 5",
      "insuredpackagedesc": "sample string 6",
      "planid": "sample string 7",
      "plandesc": "sample string 8",
      "orgamount": 9.0,
      "quoteamt": 10.0,
      "depcountry": "sample string 11",
      "arrcountry": "sample string 12",
      "contact": {
        "PhoneNumber": "sample string 1",
        "Email": "sample string 2"
      },
      "persons": [
        {
          "SeqNo": 1,
          "Surname": "sample string 2",
          "GivenName": "sample string 3",
          "TitlePrefix": "sample string 4",
          "BirthDate": "2024-12-23T19:41:12.4064742+08:00",
          "IdNumberTypeCd": "sample string 6",
          "IdNumber": "sample string 7",
          "PersonType": "sample string 8"
        },
        {
          "SeqNo": 1,
          "Surname": "sample string 2",
          "GivenName": "sample string 3",
          "TitlePrefix": "sample string 4",
          "BirthDate": "2024-12-23T19:41:12.4064742+08:00",
          "IdNumberTypeCd": "sample string 6",
          "IdNumber": "sample string 7",
          "PersonType": "sample string 8"
        }
      ]
    },
    "sugarInfo": [
      {
        "quoteNumber": "sample string 1",
        "reserveNumber": "sample string 2",
        "expireAt": "2024-12-23T19:41:12.4064742+08:00",
        "status": 0
      },
      {
        "quoteNumber": "sample string 1",
        "reserveNumber": "sample string 2",
        "expireAt": "2024-12-23T19:41:12.4064742+08:00",
        "status": 0
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}