POST api/XmhHr/SendWxTemplateMsg
发送模板消息
Request Information
URI Parameters
None.
Body Parameters
TemplateMsgDtoName | Description | Type | Additional information |
---|---|---|---|
peo_id |
接收人 oa_peo_repository 主键 |
integer |
None. |
result |
结果 pass nopass |
string |
None. |
remark |
备注 |
string |
None. |
data_color |
通过#07C160 拒绝#FA5151 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "peo_id": 1, "result": "sample string 2", "remark": "感谢您对本公司的信任与支持,经我司初步审批,认为您暂不符该岗位要求,期盼下次与您合作,谢谢!", "data_color": "#FA5151" }
application/xml, text/xml
Sample:
<TemplateMsgDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels"> <peo_id>1</peo_id> <result>sample string 2</result> </TemplateMsgDto>
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>