POST api/ExamTask/SaveExamTaskStep

添加试卷任务步骤

Request Information

URI Parameters

None.

Body Parameters

ExamTaskStepInputDto
NameDescriptionTypeAdditional information
Id

步骤编号 (新增不传,修改传)

integer

None.

TaskStepName

步骤名称

string

None.

TaskStepRequirements

任务要求

string

None.

ExamTaskStepAction

操作

ExamTaskStepAction

None.

EndTime

任务步骤结束时间

date

None.

Executor

执行人 多个逗号分开

string

None.

ExecutorName

执行人姓名 多个逗号分开

string

None.

ExamTaskId

任务编号

integer

None.

Sort

序号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TaskStepName": "sample string 2",
  "TaskStepRequirements": "sample string 3",
  "ExamTaskStepAction": 1,
  "EndTime": "2024-09-06T06:43:22.879744+08:00",
  "Executor": "sample string 4",
  "ExecutorName": "sample string 5",
  "ExamTaskId": 6,
  "Sort": 7
}

text/html

Sample:
{"Id":1,"TaskStepName":"sample string 2","TaskStepRequirements":"sample string 3","ExamTaskStepAction":1,"EndTime":"2024-09-06T06:43:22.879744+08:00","Executor":"sample string 4","ExecutorName":"sample string 5","ExamTaskId":6,"Sort":7}

application/xml, text/xml

Sample:
<ExamTaskStepInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <EndTime>2024-09-06T06:43:22.879744+08:00</EndTime>
  <ExamTaskId>6</ExamTaskId>
  <ExamTaskStepAction>PublishPaper</ExamTaskStepAction>
  <Executor>sample string 4</Executor>
  <ExecutorName>sample string 5</ExecutorName>
  <Id>1</Id>
  <Sort>7</Sort>
  <TaskStepName>sample string 2</TaskStepName>
  <TaskStepRequirements>sample string 3</TaskStepRequirements>
</ExamTaskStepInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

添加试卷任务步骤

JsonRtnDtoOfExamTaskStep
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

ExamTaskStep

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "TaskStepName": "sample string 2",
    "TaskStepRequirements": "sample string 3",
    "ResponseId": "sample string 4",
    "ResponseInfo": "sample string 5",
    "ExamTaskStepAction": 1,
    "EndTime": "2024-09-06T06:43:22.8949826+08:00",
    "Executor": "sample string 6",
    "ExecutorName": "sample string 7",
    "ExecutorAction": "sample string 8",
    "ExamTaskStepStatus": 0,
    "TaskStepStatus": "已超时",
    "ExamTaskId": 9,
    "Sort": 10,
    "CompletionTime": "2024-09-06T06:43:22.8949826+08:00",
    "CreatedTime": "2024-09-06T06:43:22.8949826+08:00",
    "FeedBack": "sample string 12",
    "ExamTask": {
      "ExamTaskSteps": [],
      "Id": 1,
      "ProfessionalId": 2,
      "TaskName": "sample string 3",
      "TaskDescription": "sample string 4",
      "CreatedUserId": 5,
      "PaperClassify": 1,
      "CreatedUserName": "sample string 6",
      "CreatedTime": "2024-09-06T06:43:22.8949826+08:00",
      "IsPublish": true
    }
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"TaskStepName":"sample string 2","TaskStepRequirements":"sample string 3","ResponseId":"sample string 4","ResponseInfo":"sample string 5","ExamTaskStepAction":1,"EndTime":"2024-09-06T06:43:22.8949826+08:00","Executor":"sample string 6","ExecutorName":"sample string 7","ExecutorAction":"sample string 8","ExamTaskStepStatus":0,"TaskStepStatus":"已超时","ExamTaskId":9,"Sort":10,"CompletionTime":"2024-09-06T06:43:22.8949826+08:00","CreatedTime":"2024-09-06T06:43:22.8949826+08:00","FeedBack":"sample string 12","ExamTask":{"ExamTaskSteps":[],"Id":1,"ProfessionalId":2,"TaskName":"sample string 3","TaskDescription":"sample string 4","CreatedUserId":5,"PaperClassify":1,"CreatedUserName":"sample string 6","CreatedTime":"2024-09-06T06:43:22.8949826+08:00","IsPublish":true}}}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"TaskStepName":"sample string 2","TaskStepRequirements":"sample string 3","ResponseId":"sample string 4","ResponseInfo":"sample string 5","ExamTaskStepAction":1,"EndTime":"2024-09-06T06:43:22.8949826+08:00","Executor":"sample string 6","ExecutorName":"sample string 7","ExecutorAction":"sample string 8","ExamTaskStepStatus":0,"TaskStepStatus":"已超时","ExamTaskId":9,"Sort":10,"CompletionTime":"2024-09-06T06:43:22.8949826+08:00","CreatedTime":"2024-09-06T06:43:22.8949826+08:00","FeedBack":"sample string 12","ExamTask":{"ExamTaskSteps":[],"Id":1,"ProfessionalId":2,"TaskName":"sample string 3","TaskDescription":"sample string 4","CreatedUserId":5,"PaperClassify":1,"CreatedUserName":"sample string 6","CreatedTime":"2024-09-06T06:43:22.8949826+08:00","IsPublish":true}}});