POST api/Shop/ProductInforChangeApprovalApprove
Request Information
URI Parameters
None.
Body Parameters
ProductInforChangeAppealRequestName | Description | Type | Additional information |
---|---|---|---|
ProInfoDetails | Collection of ProInfoChangeDetails |
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:
{ "ProInfoDetails": [ { "GoodsSn": "sample string 1", "GoodsName": "sample string 2", "ChangeInfo": "sample string 3", "ChangeBefore": "sample string 4", "ChangeAfter": "sample string 5" }, { "GoodsSn": "sample string 1", "GoodsName": "sample string 2", "ChangeInfo": "sample string 3", "ChangeBefore": "sample string 4", "ChangeAfter": "sample string 5" } ], "UserName": "sample string 1", "Pwd": "sample string 2", "ProcessCode": "sample string 3", "ApproverDingId": "sample string 4", "CcDingId": "sample string 5" }
application/xml, text/xml
Sample:
<ProductInforChangeAppealRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels"> <ApproverDingId>sample string 4</ApproverDingId> <CcDingId>sample string 5</CcDingId> <ProcessCode>sample string 3</ProcessCode> <Pwd>sample string 2</Pwd> <UserName>sample string 1</UserName> <ProInfoDetails> <ProInfoChangeDetails> <ChangeAfter>sample string 5</ChangeAfter> <ChangeBefore>sample string 4</ChangeBefore> <ChangeInfo>sample string 3</ChangeInfo> <GoodsName>sample string 2</GoodsName> <GoodsSn>sample string 1</GoodsSn> </ProInfoChangeDetails> <ProInfoChangeDetails> <ChangeAfter>sample string 5</ChangeAfter> <ChangeBefore>sample string 4</ChangeBefore> <ChangeInfo>sample string 3</ChangeInfo> <GoodsName>sample string 2</GoodsName> <GoodsSn>sample string 1</GoodsSn> </ProInfoChangeDetails> </ProInfoDetails> </ProductInforChangeAppealRequest>
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>