POST Group/SetState

Request Information

URI Parameters

None.

Body Parameters

SetStateForm
NameDescriptionTypeAdditional information
uid

string

None.

state

GroupState

None.

reasonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "state": 0,
  "reasonId": 1
}

Response Information

Resource Description

GroupStateInfoFullView
NameDescriptionTypeAdditional 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,
      "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 8",
      "wmid": "sample string 9"
    },
    "date": "2019-07-19T07:18:40.8413284+03:00"
  }
}