POST api/tourgroup/tourgroupformquery/{lang}

發送查詢表格郵件

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

Body Parameters

TourGroupFormQueryContract
NameDescriptionTypeAdditional information
tourId

旅行团ID

string

None.

fullname

姓名

string

None.

DepartDate

string

None.

areacode

区号

string

None.

phone

Phone

string

None.

Email

Email

string

None.

TourCode

Email

string

None.

TourTitle

Email

string

None.

Content

Content

string

None.

querytype

Query Type

integer

None.

joinperson

JoinPerson

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tourId": "sample string 1",
  "fullname": "sample string 2",
  "DepartDate": "sample string 3",
  "areacode": "sample string 4",
  "phone": "sample string 5",
  "Email": "sample string 6",
  "TourCode": "sample string 7",
  "TourTitle": "sample string 8",
  "Content": "sample string 9",
  "querytype": 10,
  "joinperson": 11
}

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

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