GET api/v2/flight/sendEticketEmail/{orderNO}/{lang}?emailAdress={emailAdress}&isGetTemplate={isGetTemplate}&emailType={emailType}&etVersion={etVersion}
電子機票
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderNO |
订单编号 |
string |
Required |
emailAdress |
电邮地址(多个","分隔) |
string |
Default value is |
lang |
语言 |
string |
Default value is zh-hk |
isGetTemplate |
true=发送电邮,false=获取电邮内容 |
boolean |
Default value is False |
emailType |
用于指定發送成功或失敗電郵(1成功,2失敗) |
integer |
Default value is 0 |
etVersion |
自動出票版本(2.日志InvoiceFlightAutoTicketLogs,其它InvoiceFlightAutoTicketLog) |
integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
電子機票
ReturnResultOfStringName | Description | Type | Additional information |
---|---|---|---|
data | string |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": "sample string 1", "code": 2, "message": "sample string 3" }