POST api/DingDingProgram/SaveOrderData

提交预约数据

Request Information

URI Parameters

None.

Body Parameters

SaveOrderDataRequest
NameDescriptionTypeAdditional information
dep

部门id

integer

None.

meeting_date

会议日期

string

None.

room_id

会议室id

integer

None.

subject

会议主题

string

None.

timeSelecte

会议时间段

string

None.

userId

预约人

string

None.

Request Formats

application/json, text/json

Sample:
{
  "dep": 1,
  "meeting_date": "sample string 2",
  "room_id": 3,
  "subject": "sample string 4",
  "timeSelecte": "sample string 5",
  "userId": "sample string 6"
}

application/xml, text/xml

Sample:
<SaveOrderDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <dep>1</dep>
  <meeting_date>sample string 2</meeting_date>
  <room_id>3</room_id>
  <subject>sample string 4</subject>
  <timeSelecte>sample string 5</timeSelecte>
  <userId>sample string 6</userId>
</SaveOrderDataRequest>

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

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "msg": "sample string 1",
  "result": true
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <msg>sample string 1</msg>
  <result>true</result>
</BaseResponse>