POST api/Shop/XmhGoodsInSmallWareOffApprovalApprove
小仓库商品下架审核
Request Information
URI Parameters
None.
Body Parameters
XmhGoodsInSmallWareOffApprovalRequestName | Description | Type | Additional information |
---|---|---|---|
off_reason |
备注 |
string |
None. |
goodsDetails | Collection of GoodsInSmallWareOffDetail |
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:
{ "off_reason": "sample string 1", "goodsDetails": [ { "goods_name": "sample string 1", "goods_category": "sample string 2", "w_code": "sample string 3", "goods_packing": "sample string 4", "goods_unit": "sample string 5", "goods_price": 6.0, "stock": "sample string 7", "min_stock": 8, "max_stock": 9 }, { "goods_name": "sample string 1", "goods_category": "sample string 2", "w_code": "sample string 3", "goods_packing": "sample string 4", "goods_unit": "sample string 5", "goods_price": 6.0, "stock": "sample string 7", "min_stock": 8, "max_stock": 9 } ], "UserName": "sample string 2", "Pwd": "sample string 3", "ProcessCode": "sample string 4", "ApproverDingId": "sample string 5", "CcDingId": "sample string 6" }
application/xml, text/xml
Sample:
<XmhGoodsInSmallWareOffApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels"> <ApproverDingId>sample string 5</ApproverDingId> <CcDingId>sample string 6</CcDingId> <ProcessCode>sample string 4</ProcessCode> <Pwd>sample string 3</Pwd> <UserName>sample string 2</UserName> <goodsDetails> <GoodsInSmallWareOffDetail> <goods_category>sample string 2</goods_category> <goods_name>sample string 1</goods_name> <goods_packing>sample string 4</goods_packing> <goods_price>6</goods_price> <goods_unit>sample string 5</goods_unit> <max_stock>9</max_stock> <min_stock>8</min_stock> <stock>sample string 7</stock> <w_code>sample string 3</w_code> </GoodsInSmallWareOffDetail> <GoodsInSmallWareOffDetail> <goods_category>sample string 2</goods_category> <goods_name>sample string 1</goods_name> <goods_packing>sample string 4</goods_packing> <goods_price>6</goods_price> <goods_unit>sample string 5</goods_unit> <max_stock>9</max_stock> <min_stock>8</min_stock> <stock>sample string 7</stock> <w_code>sample string 3</w_code> </GoodsInSmallWareOffDetail> </goodsDetails> <off_reason>sample string 1</off_reason> </XmhGoodsInSmallWareOffApprovalRequest>
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>