GET Friend/GetFriendsWithLists

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sort

FriendsSortMode

None.

listId

integer

None.

lastId

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

string

None.

pathName

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

string

None.

count

Количество

integer

None.

excludeIds

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

Collection of string

None.

includeIds

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

Collection of string

None.

orderType

Сортировка

AppOrderType

None.

Body Parameters

None.

Response Information

Resource Description

FriendWithListsSortView
NameDescriptionTypeAdditional information
contacts

Collection of FriendWithListsView

None.

sortMode

FriendsSortMode

None.

sortModeStr

string

None.

Response Formats

application/json, text/json

Sample:
{
  "contacts": [
    {
      "listIds": [
        1,
        2
      ],
      "attestatCode": 1,
      "attestat": "sample string 1",
      "bl": 1,
      "tl": 2,
      "onLine": true,
      "lastLoginDate": "sample string 4",
      "lastLoginDateStr": "sample string 5",
      "lastOnlineDate": "sample string 6",
      "lastOnlineDateStr": "sample string 7",
      "transactions": {
        "inbound": {
          "count": 1,
          "amountWMR": 2.0,
          "dateFirst": "sample string 3",
          "dateFirstStr": "sample string 4",
          "dateLast": "sample string 5",
          "dateLastStr": "sample string 6"
        },
        "outbound": {
          "count": 1,
          "amountWMR": 2.0,
          "dateFirst": "sample string 3",
          "dateFirstStr": "sample string 4",
          "dateLast": "sample string 5",
          "dateLastStr": "sample string 6"
        },
        "updating": true,
        "canStartUpdateAfterSeconds": 1,
        "dateLastUpdated": "sample string 2",
        "dateLastUpdatedStr": "sample string 3"
      },
      "wmid": "sample string 8",
      "friendName": "sample string 9",
      "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"
      },
      "userType": 0
    },
    {
      "listIds": [
        1,
        2
      ],
      "attestatCode": 1,
      "attestat": "sample string 1",
      "bl": 1,
      "tl": 2,
      "onLine": true,
      "lastLoginDate": "sample string 4",
      "lastLoginDateStr": "sample string 5",
      "lastOnlineDate": "sample string 6",
      "lastOnlineDateStr": "sample string 7",
      "transactions": {
        "inbound": {
          "count": 1,
          "amountWMR": 2.0,
          "dateFirst": "sample string 3",
          "dateFirstStr": "sample string 4",
          "dateLast": "sample string 5",
          "dateLastStr": "sample string 6"
        },
        "outbound": {
          "count": 1,
          "amountWMR": 2.0,
          "dateFirst": "sample string 3",
          "dateFirstStr": "sample string 4",
          "dateLast": "sample string 5",
          "dateLastStr": "sample string 6"
        },
        "updating": true,
        "canStartUpdateAfterSeconds": 1,
        "dateLastUpdated": "sample string 2",
        "dateLastUpdatedStr": "sample string 3"
      },
      "wmid": "sample string 8",
      "friendName": "sample string 9",
      "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"
      },
      "userType": 0
    }
  ],
  "sortMode": 0,
  "sortModeStr": "lastOnlineDateDesc"
}