POST api/Shop/XmhVisitorApplicationApprove
新明辉访客申请
Request Information
URI Parameters
None.
Body Parameters
XmhVisitorApplicationRequestName | Description | Type | Additional information |
---|---|---|---|
VisitorName |
来访人员 |
string |
Required |
VisitorTime |
来访时间 |
string |
Required |
VisitorReason |
来访事由 |
string |
None. |
VisitorTel |
手机号 |
string |
Required |
VisitorCarNo |
车牌号 |
string |
None. |
XmhName |
新明辉接待人 |
string |
Required |
XmhTel |
接待人手机号 |
string |
Required |
VisitorCompany |
所属单位 |
string |
Required |
VisitorUrl |
健康码/行程码 |
string |
Required |
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:
{ "VisitorName": "sample string 1", "VisitorTime": "sample string 2", "VisitorReason": "sample string 3", "VisitorTel": "sample string 4", "VisitorCarNo": "sample string 5", "XmhName": "sample string 6", "XmhTel": "sample string 7", "VisitorCompany": "sample string 8", "VisitorUrl": "sample string 9", "UserName": "sample string 10", "Pwd": "sample string 11", "ProcessCode": "sample string 12", "ApproverDingId": "sample string 13", "CcDingId": "sample string 14" }
application/xml, text/xml
Sample:
<XmhVisitorApplicationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.ShopBizModels"> <ApproverDingId>sample string 13</ApproverDingId> <CcDingId>sample string 14</CcDingId> <ProcessCode>sample string 12</ProcessCode> <Pwd>sample string 11</Pwd> <UserName>sample string 10</UserName> <VisitorCarNo>sample string 5</VisitorCarNo> <VisitorCompany>sample string 8</VisitorCompany> <VisitorName>sample string 1</VisitorName> <VisitorReason>sample string 3</VisitorReason> <VisitorTel>sample string 4</VisitorTel> <VisitorTime>sample string 2</VisitorTime> <VisitorUrl>sample string 9</VisitorUrl> <XmhName>sample string 6</XmhName> <XmhTel>sample string 7</XmhTel> </XmhVisitorApplicationRequest>
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>