POST api/flight/nanhwa/issueticket?PCC={PCC}
提交出票
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| PCC | string | 
                                 Default value is  | 
                
Body Parameters
IssueTicketRqContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| criteria | Criteria | 
                             None.  | 
                |
| AsynchronousModel | boolean | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "criteria": {
    "pnr": "sample string 1",
    "ticketcitypairlist": [
      {
        "id": 1,
        "depairport": "sample string 2",
        "arrairport": "sample string 3",
        "deptime": {
          "date": "sample string 1",
          "time": "sample string 2"
        },
        "arrtime": {
          "date": "sample string 1",
          "time": "sample string 2"
        },
        "carrier": "sample string 4",
        "cabin": "sample string 5"
      },
      {
        "id": 1,
        "depairport": "sample string 2",
        "arrairport": "sample string 3",
        "deptime": {
          "date": "sample string 1",
          "time": "sample string 2"
        },
        "arrtime": {
          "date": "sample string 1",
          "time": "sample string 2"
        },
        "carrier": "sample string 4",
        "cabin": "sample string 5"
      }
    ],
    "ticketpaxtypelist": [
      {
        "fareperpax": 1.1,
        "type": "sample string 2"
      },
      {
        "fareperpax": 1.1,
        "type": "sample string 2"
      }
    ],
    "fop": {
      "category": "sample string 1",
      "freeformat": "sample string 2"
    }
  },
  "AsynchronousModel": true
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
提交出票
ReturnResultOfIssueTicketRpContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | IssueTicketRpContract | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": {
    "message": "sample string 1",
    "serviceerror": {
      "code": "sample string 1",
      "message": "sample string 2",
      "timestamp": "sample string 3"
    },
    "ticketlist": [
      {
        "currency": "sample string 1",
        "fare": 2.1,
        "PaxName": "sample string 3",
        "host": "sample string 4",
        "pnr": "sample string 5",
        "tax": 6.1,
        "tktno": "sample string 7",
        "totalamt": 8.1
      },
      {
        "currency": "sample string 1",
        "fare": 2.1,
        "PaxName": "sample string 3",
        "host": "sample string 4",
        "pnr": "sample string 5",
        "tax": 6.1,
        "tktno": "sample string 7",
        "totalamt": 8.1
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}