POST Chat/Create

Request Information

URI Parameters

None.

Body Parameters

ChatCreateForm
NameDescriptionTypeAdditional information
name

string

None.

membersWmids

Collection of string

None.

listsIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "membersWmids": [
    "sample string 1",
    "sample string 2"
  ],
  "listsIds": [
    1,
    2
  ]
}

Response Information

Resource Description

ChatView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

desc

string

None.

dateCreated

date

None.

uid

string

None.

name

string

None.

icon

IconView

None.

membersForAvatar

Collection of UserIconsView

None.

Response Formats

application/json, text/json

Sample:
{
  "author": {
    "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",
    "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 9",
    "wmid": "sample string 10"
  },
  "desc": "sample string 1",
  "dateCreated": "2020-10-27T19:03:21.3102104+03:00",
  "uid": "sample string 3",
  "name": "sample string 4",
  "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"
  },
  "membersForAvatar": [
    {
      "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 1",
      "wmid": "sample string 2"
    },
    {
      "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 1",
      "wmid": "sample string 2"
    }
  ]
}