POST api/hotel/agentsys/invoice/sendemail

邮件发送

Request Information

URI Parameters

None.

Body Parameters

TC_InvoiceEmailRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

invoiceid

订单编号

integer

None.

emaillist

email地址

Collection of string

None.

authuser

用户身份信息

TC_UserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "lang": "sample string 1",
  "invoiceid": 2,
  "emaillist": [
    "sample string 1",
    "sample string 2"
  ],
  "authuser": {
    "userid": "sample string 1",
    "password": "sample string 2"
  }
}

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

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"
}