POST api/v1/SelfCheckin/SendWxComMsg
请求信息(Request)
URI 参数
None.
Body 参数
WeComReqModel名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Key | string |
None. |
|
Content | string |
None. |
|
MsgType | string |
None. |
|
UserType | string 集合 |
None. |
请求格式
application/json, text/json
Sample:
{ "Key": "sample string 1", "Content": "sample string 2", "MsgType": "sample string 3", "UserType": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<WeComReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.QiYeWx"> <Content>sample string 2</Content> <Key>sample string 1</Key> <MsgType>sample string 3</MsgType> <UserType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </UserType> </WeComReqModel>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfBoolean名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | boolean |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": true, "Status": 2, "Message": "sample string 3", "Total": 4 }
application/xml, text/xml
Sample:
<RequestResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 3</Message> <Status>2</Status> <Total>4</Total> <Data>true</Data> </RequestResultOfboolean>