POST api/Shop/XmhJobOrderDingDingApprove
新明辉派工单审批
Request Information
URI Parameters
None.
Body Parameters
XmhJobOrderDingApproveRequestName | Description | Type | Additional information |
---|---|---|---|
OrderName |
工单名称 |
string |
Required |
DepName |
处理部门 |
string |
Required |
ReqDescription |
需求描述 |
string |
None. |
RealizeValue |
实现价值 |
string |
Required |
image_url |
图片 |
string |
None. |
enclosure |
附件 |
string |
None. |
Remark |
备注 |
string |
None. |
UserName |
发起人账号 |
string |
Required |
Pwd |
发起人密码 |
string |
Required |
ProcessCode |
审批模板code |
string |
None. |
ApproverDingId |
审批人钉钉ID 多个以,分割 |
string |
None. |
CcDingId |
抄送人钉钉ID 多个以,分割 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderName": "sample string 1", "DepName": "sample string 2", "ReqDescription": "sample string 3", "RealizeValue": "sample string 4", "image_url": "sample string 5", "enclosure": "sample string 6", "Remark": "sample string 7", "UserName": "sample string 8", "Pwd": "sample string 9", "ProcessCode": "sample string 10", "ApproverDingId": "sample string 11", "CcDingId": "sample string 12" }
application/xml, text/xml
Sample:
<XmhJobOrderDingApproveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels"> <ApproverDingId>sample string 11</ApproverDingId> <CcDingId>sample string 12</CcDingId> <ProcessCode>sample string 10</ProcessCode> <Pwd>sample string 9</Pwd> <UserName>sample string 8</UserName> <DepName>sample string 2</DepName> <OrderName>sample string 1</OrderName> <RealizeValue>sample string 4</RealizeValue> <Remark>sample string 7</Remark> <ReqDescription>sample string 3</ReqDescription> <enclosure>sample string 6</enclosure> <image_url>sample string 5</image_url> </XmhJobOrderDingApproveRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseOutName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误编码 2:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 2, "message": "sample string 1" }
application/xml, text/xml
Sample:
<BaseOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels"> <errcode>Error</errcode> <message>sample string 1</message> </BaseOut>