POST api/Shop/XmhDesignWorkOrderProApprovalApprove

设计工单制作审批

Request Information

URI Parameters

None.

Body Parameters

XmhDesignWorkOrderProApprovalRequest
NameDescriptionTypeAdditional information
work_order_name

项目名称

string

None.

order_sn

订单号

string

None.

order_num

数量

integer

None.

content_description

内容描述

string

None.

pic_url

图片

string

None.

budget_amount

预算金额

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:
{
  "work_order_name": "sample string 1",
  "order_sn": "sample string 2",
  "order_num": 3,
  "content_description": "sample string 4",
  "pic_url": "sample string 5",
  "budget_amount": "sample string 6",
  "UserName": "sample string 7",
  "Pwd": "sample string 8",
  "ProcessCode": "sample string 9",
  "ApproverDingId": "sample string 10",
  "CcDingId": "sample string 11"
}

application/xml, text/xml

Sample:
<XmhDesignWorkOrderProApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels">
  <ApproverDingId>sample string 10</ApproverDingId>
  <CcDingId>sample string 11</CcDingId>
  <ProcessCode>sample string 9</ProcessCode>
  <Pwd>sample string 8</Pwd>
  <UserName>sample string 7</UserName>
  <budget_amount>sample string 6</budget_amount>
  <content_description>sample string 4</content_description>
  <order_num>3</order_num>
  <order_sn>sample string 2</order_sn>
  <pic_url>sample string 5</pic_url>
  <work_order_name>sample string 1</work_order_name>
</XmhDesignWorkOrderProApprovalRequest>

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

Response Information

Resource Description

BaseOut
NameDescriptionTypeAdditional 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>