POST Group/SetStateBySynonym
Request Information
URI Parameters
None.
Body Parameters
SetStateBySynonymFormName | Description | Type | Additional information |
---|---|---|---|
synonym | string |
None. |
|
state | GroupState |
None. |
|
reasonId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "synonym": "sample string 1", "state": 0, "reasonId": 1 }
Response Information
Resource Description
GroupStateInfoFullViewName | Description | Type | Additional information |
---|---|---|---|
uid | string |
None. |
|
canChangeState | boolean |
None. |
|
lastStateChange | GroupStateChangeView |
None. |
Response Formats
application/json, text/json
Sample:
{ "uid": "sample string 1", "canChangeState": true, "lastStateChange": { "reason": { "id": 1, "reason": "sample string 2" }, "state": 0, "user": { "attestat": "sample string 1", "attestatCode": 1, "bl": 1, "tl": 2, "cl": 1, "Gender": 0, "GenderStr": "female", "lastLoginDate": "sample string 3", "lastLoginDateUtc": "sample string 4", "lastOnlineDate": "sample string 5", "lastOnlineDateUtc": "sample string 6", "status": 0, "statusStr": "active", "interactOpportunity": true, "userType": 0, "cover": "sample string 8", "wm": true, "icon": { "id": "sample string 1", "isactive": true, "isDefault": true, "smallest": "sample string 4", "tiny": "sample string 5", "mini": "sample string 6", "small": "sample string 7", "normal": "sample string 8", "large": "sample string 9", "big": "sample string 10", "original": "sample string 11", "url": "sample string 12" }, "nickname": "sample string 10", "wmid": "sample string 11", "username": "sample string 12" }, "date": "2024-11-20T15:35:04.1439453+03:00" } }