POST new/oa/handle
用户操作
Request Information
URI Parameters
None.
Body Parameters
OaHandleRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
操作类型(1拒绝/2通过/3退回/4撤销)。 |
integer |
None. |
| Id |
提交单 ID。 |
integer |
None. |
| BusId |
流程 ID。 |
integer |
None. |
| Remark |
备注。 |
string |
None. |
| QuestionId |
退回目标流程 ID。 |
integer |
None. |
| ImgList |
附件图片列表。 |
Collection of ApiImgModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Status": 1,
"Id": 2,
"BusId": 3,
"Remark": "sample string 4",
"QuestionId": 5,
"ImgList": [
{
"url": "sample string 1",
"name": "sample string 2",
"isImage": true,
"id": 4
},
{
"url": "sample string 1",
"name": "sample string 2",
"isImage": true,
"id": 4
}
]
}
application/xml, text/xml
Sample:
<OaHandleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
<BusId>3</BusId>
<Id>2</Id>
<ImgList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ma.Model.Model.Middle">
<d2p1:ApiImgModel>
<d2p1:Id>4</d2p1:Id>
<d2p1:IsImage>true</d2p1:IsImage>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Url>sample string 1</d2p1:Url>
</d2p1:ApiImgModel>
<d2p1:ApiImgModel>
<d2p1:Id>4</d2p1:Id>
<d2p1:IsImage>true</d2p1:IsImage>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Url>sample string 1</d2p1:Url>
</d2p1:ApiImgModel>
</ImgList>
<QuestionId>5</QuestionId>
<Remark>sample string 4</Remark>
<Status>1</Status>
</OaHandleRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>