POST api/Shop/XmhPointApplicationApprove
积分申请
Request Information
URI Parameters
None.
Body Parameters
XmhPointApplicationRequestName | Description | Type | Additional information |
---|---|---|---|
applyName |
申请人 |
string |
Required |
ApplyType |
申请类型 |
string |
Required |
PointType |
积分类型 |
string |
Required |
Score |
分值 |
string |
Required |
Remark |
详情描述 |
string |
None. |
PointUrl |
图片 |
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:
{ "applyName": "sample string 1", "ApplyType": "sample string 2", "PointType": "sample string 3", "Score": "sample string 4", "Remark": "sample string 5", "PointUrl": "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:
<XmhPointApplicationRequest 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> <ApplyType>sample string 2</ApplyType> <PointType>sample string 3</PointType> <PointUrl>sample string 6</PointUrl> <Remark>sample string 5</Remark> <Score>sample string 4</Score> <applyName>sample string 1</applyName> </XmhPointApplicationRequest>
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>