POST api/User/UpdateUserGroupRelationNamePhone
修改关系和电话号码
Request Information
Body Parameters
UserGroupRelationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId |
设备Id |
integer |
None. |
| UserId |
用户Id |
integer |
None. |
| RelationName |
关系 |
string |
None. |
| RelationPhone |
联系号码 |
string |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceId": 1,
"UserId": 2,
"RelationName": "sample string 3",
"RelationPhone": "sample string 4",
"Token": "sample string 5",
"Language": "sample string 6",
"AppId": "sample string 7"
}
application/xml, text/xml
Sample:
<UserGroupRelationModel 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> <DeviceId>1</DeviceId> <RelationName>sample string 3</RelationName> <RelationPhone>sample string 4</RelationPhone> <UserId>2</UserId> </UserGroupRelationModel>
Response Information
Resource Description
NormalResult
| 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>