POST api/v2/flight/sendEmail
發送郵件
Request Information
URI Parameters
None.
Body Parameters
SendEmailRQContractName | Description | Type | Additional information |
---|---|---|---|
orderNo |
訂單號 |
string |
None. |
to |
發送地址(多个","分隔) |
string |
None. |
emailTemplate |
電郵模板 |
string |
None. |
isGetTemplate |
是否獲取電郵內容(否,發送電郵) |
boolean |
None. |
isLatestInvoice |
是否為新訂單庫 |
boolean |
None. |
lang |
語言 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderNo": "sample string 1", "to": "sample string 2", "emailTemplate": "sample string 3", "isGetTemplate": true, "isLatestInvoice": true, "lang": "sample string 6" }
application/x-www-form-urlencoded
Sample:
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" }