POST api/hotel/order/send/v2

发送酒店订单邮件

Request Information

URI Parameters

None.

Body Parameters

HotelMailContract
NameDescriptionTypeAdditional information
addresses

收件人

Collection of string

None.

bccaddresses

抄送地址(多個“,”分隔)

string

None.

subject

郵件主題

string

None.

isbodyhtml

BODY是否為HTML

boolean

None.

docno

订单号

string

None.

lang

语言

string

None.

createip

IP地址

string

None.

itemtype

采用郵件模板

string

None.

atype

發郵件帳戶類型

string

None.

source

類源(WTl、RTS)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "addresses": [
    "sample string 1",
    "sample string 2"
  ],
  "bccaddresses": "sample string 1",
  "subject": "sample string 2",
  "isbodyhtml": true,
  "docno": "sample string 4",
  "lang": "sample string 5",
  "createip": "sample string 6",
  "itemtype": "sample string 7",
  "atype": "sample string 8",
  "source": "sample string 9"
}

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 'HotelMailContract'.

Response Information

Resource Description

发送酒店订单邮件

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}