POST api/v2/flight/sendBackendEmail/{orderNO}/{lang}

发送后台订单电邮(可选发送附件)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderNO

訂單編號

string

Required

lang

語言

string

Required

Body Parameters

InvoiceFlightBackendSendRQContract
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvoiceFlightBackendSendRQContract'.

Response Information

Resource Description

发送后台订单电邮(可选发送附件)

ReturnResult
NameDescriptionTypeAdditional information
code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2"
}