POST api/flight/b2b/ticket/issueTicket
出票/授權出票(修改PNR并出票)
Request Information
URI Parameters
None.
Body Parameters
IssueTicketReqContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| flightpnr | string | 
                             None.  | 
                |
| configid | integer | 
                             None.  | 
                |
| isRemovePricing | boolean | 
                             None.  | 
                |
| passengernolist | Collection of string | 
                             None.  | 
                |
| isqueuecalcps | boolean | 
                             None.  | 
                |
| string | 
                             None.  | 
                ||
| fareInfo | AirTicket_FareInfo | 
                             None.  | 
                |
| commissioninfo | AirTicket_CommissionInfo | 
                             None.  | 
                |
| formofpayment | AirTicket_FormOfPayment | 
                             None.  | 
                |
| pricingkey | string | 
                             None.  | 
                |
| validatingCarrier | string | 
                             None.  | 
                |
| currencyCode | string | 
                             None.  | 
                |
| totalAmt | decimal number | 
                             None.  | 
                |
| tourCode | string | 
                             None.  | 
                |
| logTrackGuid | string | 
                             None.  | 
                |
| accountCode | Collection of string | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "flightpnr": "sample string 1",
  "configid": 2,
  "isRemovePricing": true,
  "passengernolist": [
    "sample string 1",
    "sample string 2"
  ],
  "isqueuecalcps": true,
  "email": "sample string 5",
  "fareInfo": {
    "adultPrice": 1.0,
    "adultTax": 2.0,
    "childPrice": 3.0,
    "childTax": 4.0,
    "infantPrice": 5.0,
    "infantTax": 6.0
  },
  "commissioninfo": {
    "adultmarkuptype": 0,
    "adultmarkupvalue": 1.0,
    "childmarkuptype": 0,
    "childmarkupvalue": 2.0,
    "infantmarkuptype": 0,
    "infantmarkupvalue": 3.0,
    "isOverWrite": true
  },
  "formofpayment": {
    "paymentType": "sample string 1",
    "paymentCartType": "sample string 2",
    "carttype": "sample string 3",
    "cartCode": "sample string 4",
    "cartnumber": "sample string 5",
    "cartexpdate": "2025-11-04T18:51:54.2391088+08:00"
  },
  "pricingkey": "sample string 6",
  "validatingCarrier": "sample string 7",
  "currencyCode": "sample string 8",
  "totalAmt": 9.0,
  "tourCode": "sample string 10",
  "logTrackGuid": "sample string 11",
  "accountCode": [
    "sample string 1",
    "sample string 2"
  ]
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
出票/授權出票(修改PNR并出票)
ReturnResultOfIssueTicketRspContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | IssueTicketRspContract | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": {
    "commissions": [
      {
        "ItemType": "sample string 1",
        "PassengerType": 0,
        "MarkupType": 0,
        "MarkupAmt": 2.0
      },
      {
        "ItemType": "sample string 1",
        "PassengerType": 0,
        "MarkupType": 0,
        "MarkupAmt": 2.0
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}