POST api/v2/flight/sendBackendEmail/{orderNO}/{lang}
发送后台订单电邮(可选发送附件)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderNO |
訂單編號 |
string |
Required |
lang |
語言 |
string |
Required |
Body Parameters
InvoiceFlightBackendSendRQContractName | Description | Type | Additional information |
---|---|---|---|
Subject |
邮箱标题 |
string |
None. |
Body |
邮箱内容 |
string |
None. |
To |
收件地址 |
string |
None. |
CC |
抄送地址 |
string |
None. |
BCC |
密送地址 |
string |
None. |
Attachs |
选择发送附件 |
Collection of EmailTemplateType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Subject": "sample string 1", "Body": "sample string 2", "To": "sample string 3", "CC": "sample string 4", "BCC": "sample string 5", "Attachs": [ 0, 0 ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
发送后台订单电邮(可选发送附件)
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2" }