POST api/DingTaskReception/SaveRulesOrVideoRecord

Request Information

URI Parameters

None.

Body Parameters

SaveRulesOrVideoRecordDto
NameDescriptionTypeAdditional information
module_id

integer

None.

type_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "module_id": 1,
  "type_id": 2
}

application/xml, text/xml

Sample:
<SaveRulesOrVideoRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
  <module_id>1</module_id>
  <type_id>2</type_id>
</SaveRulesOrVideoRecordDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponseOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "msg": "sample string 2",
  "code": 3,
  "total": 4
}

application/xml, text/xml

Sample:
<BaseResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>3</code>
  <msg>sample string 2</msg>
  <total>4</total>
  <data>true</data>
</BaseResponseOfboolean>