POST omsapi/Group
添加群组 可同时添加人员 返回值:[[群组添加状态],[成员添加状态(逗号分隔)]] 1成功,0失败
Request Information
URI Parameters
None.
Body Parameters
d=[AppID=[应用ID,guid?],GenreID=[群类型ID,guid],InterestClubType=[兴趣俱乐部类型,int],CategoryID=[节点ID,long],Name=[Name,string],IsVisible=[IsVisible,bool?,true],IsCompany=[是否单位群,bool?,false],CompanyID=[(单位群的)单位ID,long?,0],MasterIDs=[负责人ID集合(逗号分隔),string],UserIDs=[用户ID集合(逗号分割),string,可选],BannerPicUrl=[群组banner图,string],ImgUrl=[群组头像,string]]
UploadParametersName | Description | Type | Additional information |
---|---|---|---|
u |
用户ID StaffID |
integer |
None. |
t |
全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密] |
string |
Required |
d |
数据参数 加密(单点登陆除外) 不同API,参数格式不同 |
string |
None. |
Request Formats
application/json, text/json
{ "u": 1, "t": "sample string 2", "d": "sample string 3" }
application/xml, text/xml
<UploadParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMAPI.Models"> <d>sample string 3</d> <t>sample string 2</t> <u>1</u> </UploadParameters>
application/x-www-form-urlencoded
u=Value&t=Value&d=Value
Response Information
Resource Description
添加群组 可同时添加人员 返回值:[[群组添加状态],[成员添加状态(逗号分隔)]] 1成功,0失败
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Code |
Http状态码 |
HttpStatusCode |
None. |
State |
自定义状态 |
StateValue |
None. |
StateCode |
自定义状态码 |
integer |
None. |
Message |
说明 |
string |
None. |
ErrorInfo | string |
None. |
|
Content |
返回数据 |
Object |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.