POST api/ExamTask/ChangeExamTaskStepStatus
变更步骤状态
Request Information
URI Parameters
None.
Body Parameters
ChangeExamTaskStepStatusInputDtoName | Description | Type | Additional information |
---|---|---|---|
TaskId |
任务编号 |
integer |
None. |
StepId |
步骤编号 |
integer |
None. |
ExamTaskStepAction |
步骤动作 |
ExamTaskStepAction |
None. |
ExecutorActionInfo |
执行人动作 |
ExecutorActionInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskId": 1, "StepId": 2, "ExamTaskStepAction": 1, "ExecutorActionInfo": { "Action": 1, "ExecTime": "2024-09-25T00:05:21.0806341+08:00", "Reason": "sample string 2", "Attachment": "sample string 3" } }
text/html
Sample:
{"TaskId":1,"StepId":2,"ExamTaskStepAction":1,"ExecutorActionInfo":{"Action":1,"ExecTime":"2024-09-25T00:05:21.0806341+08:00","Reason":"sample string 2","Attachment":"sample string 3"}}
application/xml, text/xml
Sample:
<ChangeExamTaskStepStatusInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ExamTaskStepAction>PublishPaper</ExamTaskStepAction> <ExecutorActionInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:Action>Pass</d2p1:Action> <d2p1:Attachment>sample string 3</d2p1:Attachment> <d2p1:ExecTime>2024-09-25T00:05:21.0806341+08:00</d2p1:ExecTime> <d2p1:Reason>sample string 2</d2p1:Reason> </ExecutorActionInfo> <StepId>2</StepId> <TaskId>1</TaskId> </ChangeExamTaskStepStatusInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
变更步骤状态
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});