GET User/Profile

Получение данных профиля пользователя

Request Information

URI Parameters

NameDescriptionTypeAdditional information
wmid

WMID пользователя (если не заполнять, будет равно wmid текущего пользователя)

string

None.

Body Parameters

None.

Response Information

Resource Description

UserProfileView
NameDescriptionTypeAdditional information
publicData

UserPublicProfileView

None.

mutualFriends

BaseListViewOfUserPublicDataView

None.

transactions

UserTransactionsView

None.

myProfile

UserMyProfileView

None.

Response Formats

application/json, text/json

Sample:
{
  "publicData": {
    "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"
  },
  "mutualFriends": {
    "countAll": 1,
    "items": [
      {
        "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"
      },
      {
        "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"
      }
    ]
  },
  "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"
  },
  "myProfile": {
    "personalDataUpdating": true,
    "personalDataLastDateUpdate": "sample string 2",
    "personalDataLastDateUpdateStr": "sample string 3",
    "showSkillsWarning": true,
    "canAddSkills": true
  }
}