POST api/Group/EditUserGroup
编辑分组信息 [手表]
Request Information
Body Parameters
EditUserGroupModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId |
分组Id |
integer |
None. |
| UserId |
用户Id |
integer |
None. |
| GroupName |
分组名 |
string |
None. |
| Icon |
头像 |
string |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"GroupId": 1,
"UserId": 2,
"GroupName": "sample string 3",
"Icon": "sample string 4",
"Token": "sample string 5",
"Language": "sample string 6",
"AppId": "sample string 7"
}
application/xml, text/xml
Sample:
<EditUserGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 7</AppId> <Language>sample string 6</Language> <Token>sample string 5</Token> <GroupId>1</GroupId> <GroupName>sample string 3</GroupName> <Icon>sample string 4</Icon> <UserId>2</UserId> </EditUserGroupModel>
Response Information
Resource Description
State状态码:
0. 表示成功
4000. 表示失败
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
消息 [大多数情况下可通过该消息做为提示语] |
string |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"State": 2
}
application/xml, text/xml
Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>2</State> <Message>sample string 1</Message> </NormalResult>