POST api/XmhHr

Request Information

URI Parameters

None.

Body Parameters

IndexTaskModel
NameDescriptionTypeAdditional information
type_id

integer

None.

task_title

string

None.

task_content

string

None.

task_file

string

None.

task_hour

integer

None.

task_minute

integer

None.

task_second

integer

None.

task_empid

string

None.

task_itemtype

integer

None.

end_time

date

None.

create_empId

integer

None.

check_standard

string

None.

check_points

integer

None.

check_error_points

integer

None.

is_asw

integer

None.

is_interview

integer

None.

link_id

string

None.

check_empId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "type_id": 1,
  "task_title": "sample string 2",
  "task_content": "sample string 3",
  "task_file": "sample string 4",
  "task_hour": 1,
  "task_minute": 1,
  "task_second": 1,
  "task_empid": "sample string 5",
  "task_itemtype": 1,
  "end_time": "2024-11-25T17:55:25.0644918+08:00",
  "create_empId": 1,
  "check_standard": "sample string 6",
  "check_points": 1,
  "check_error_points": 1,
  "is_asw": 1,
  "is_interview": 1,
  "link_id": "sample string 7",
  "check_empId": 1
}

application/xml, text/xml

Sample:
<IndexTaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <check_empId>1</check_empId>
  <check_error_points>1</check_error_points>
  <check_points>1</check_points>
  <check_standard>sample string 6</check_standard>
  <create_empId>1</create_empId>
  <end_time>2024-11-25T17:55:25.0644918+08:00</end_time>
  <is_asw>1</is_asw>
  <is_interview>1</is_interview>
  <link_id>sample string 7</link_id>
  <task_content>sample string 3</task_content>
  <task_empid>sample string 5</task_empid>
  <task_file>sample string 4</task_file>
  <task_hour>1</task_hour>
  <task_itemtype>1</task_itemtype>
  <task_minute>1</task_minute>
  <task_second>1</task_second>
  <task_title>sample string 2</task_title>
  <type_id>1</type_id>
</IndexTaskModel>

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

Response Information

Resource Description

None.