GET Dialog/View

Request Information

URI Parameters

NameDescriptionTypeAdditional information
onlyNotRead

boolean

None.

firstId

integer

None.

inArchive

boolean

None.

lastId

Последний идентификатор, используется для пейджинга

integer

None.

pathName

Поисковая строка

string

None.

count

Количество

integer

None.

excludeIds

Исключить идентификаторы

Collection of integer

None.

includeIds

Вернуть только заданные идентификаторы

Collection of integer

None.

orderType

Сортировка

AppOrderType

None.

messageFormat

MessageFormat

Default value is HTML

Body Parameters

None.

Response Information

Resource Description

Collection of DialogView
NameDescriptionTypeAdditional information
correspondent

UserPublicProfileView

None.

chat

ChatAdvancedView

None.

messageSettingState

UserMessagesSettingState

None.

lastMessage

MessageDirectionView

None.

countMessages

integer

None.

countUnreadMessages

integer

None.

existsUnreadMessage

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "correspondent": {
      "online": true,
      "userFriendStatus": 0,
      "userFriendStatusStr": "Unknow",
      "offerId": 1,
      "attestat": "sample string 2",
      "attestatCode": 1,
      "bl": 1,
      "tl": 3,
      "cl": 1,
      "Gender": 0,
      "GenderStr": "female",
      "lastLoginDate": "sample string 4",
      "lastLoginDateUtc": "sample string 5",
      "lastOnlineDate": "sample string 6",
      "lastOnlineDateUtc": "sample string 7",
      "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 9",
      "wmid": "sample string 10"
    },
    "chat": {
      "isMember": true,
      "isAdmin": true,
      "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,
        "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"
      },
      "desc": "sample string 3",
      "dateCreated": "2019-07-19T18:09:55.4095248+03:00",
      "uid": "sample string 5",
      "name": "sample string 6",
      "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"
        }
      ]
    },
    "messageSettingState": 0,
    "lastMessage": {
      "direction": 0,
      "directionStr": "in",
      "id": 1,
      "datecreated": "sample string 2",
      "datecreatedstr": "sample string 3",
      "cleanMessage": "sample string 4",
      "type": 1,
      "message": "sample string 5",
      "attachments": [
        {
          "type": 0,
          "typeStr": "image",
          "typeAdditionally": 0,
          "typeAdditionallyStr": "unknown",
          "id": "sample string 1",
          "name": "sample string 2",
          "sha1": "sample string 3",
          "size": 4,
          "contentType": "sample string 5",
          "versions": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          }
        },
        {
          "type": 0,
          "typeStr": "image",
          "typeAdditionally": 0,
          "typeAdditionallyStr": "unknown",
          "id": "sample string 1",
          "name": "sample string 2",
          "sha1": "sample string 3",
          "size": 4,
          "contentType": "sample string 5",
          "versions": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          }
        }
      ],
      "share": {
        "url": "sample string 1",
        "title": "sample string 2",
        "desc": "sample string 3",
        "type": 0,
        "typeStr": "image",
        "mediaId": "sample string 4",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "id": 5
      },
      "attachedActions": [
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        },
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        }
      ],
      "status": 0,
      "repost": null,
      "editorMode": 0
    },
    "countMessages": 1,
    "countUnreadMessages": 2,
    "existsUnreadMessage": true
  },
  {
    "correspondent": {
      "online": true,
      "userFriendStatus": 0,
      "userFriendStatusStr": "Unknow",
      "offerId": 1,
      "attestat": "sample string 2",
      "attestatCode": 1,
      "bl": 1,
      "tl": 3,
      "cl": 1,
      "Gender": 0,
      "GenderStr": "female",
      "lastLoginDate": "sample string 4",
      "lastLoginDateUtc": "sample string 5",
      "lastOnlineDate": "sample string 6",
      "lastOnlineDateUtc": "sample string 7",
      "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 9",
      "wmid": "sample string 10"
    },
    "chat": {
      "isMember": true,
      "isAdmin": true,
      "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,
        "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"
      },
      "desc": "sample string 3",
      "dateCreated": "2019-07-19T18:09:55.4095248+03:00",
      "uid": "sample string 5",
      "name": "sample string 6",
      "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"
        }
      ]
    },
    "messageSettingState": 0,
    "lastMessage": {
      "direction": 0,
      "directionStr": "in",
      "id": 1,
      "datecreated": "sample string 2",
      "datecreatedstr": "sample string 3",
      "cleanMessage": "sample string 4",
      "type": 1,
      "message": "sample string 5",
      "attachments": [
        {
          "type": 0,
          "typeStr": "image",
          "typeAdditionally": 0,
          "typeAdditionallyStr": "unknown",
          "id": "sample string 1",
          "name": "sample string 2",
          "sha1": "sample string 3",
          "size": 4,
          "contentType": "sample string 5",
          "versions": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          }
        },
        {
          "type": 0,
          "typeStr": "image",
          "typeAdditionally": 0,
          "typeAdditionallyStr": "unknown",
          "id": "sample string 1",
          "name": "sample string 2",
          "sha1": "sample string 3",
          "size": 4,
          "contentType": "sample string 5",
          "versions": {
            "sample string 1": "sample string 2",
            "sample string 3": "sample string 4"
          }
        }
      ],
      "share": {
        "url": "sample string 1",
        "title": "sample string 2",
        "desc": "sample string 3",
        "type": 0,
        "typeStr": "image",
        "mediaId": "sample string 4",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "id": 5
      },
      "attachedActions": [
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        },
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        }
      ],
      "status": 0,
      "repost": null,
      "editorMode": 0
    },
    "countMessages": 1,
    "countUnreadMessages": 2,
    "existsUnreadMessage": true
  }
]