GET User/Profile
Получение данных профиля пользователя
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
wmid |
WMID пользователя (если не заполнять, будет равно wmid текущего пользователя) |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
UserProfileViewName | Description | Type | Additional 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, "cover": "sample string 9", "wm": true, "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 11", "wmid": "sample string 12", "username": "sample string 13" }, "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, "cover": "sample string 8", "wm": true, "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 10", "wmid": "sample string 11", "username": "sample string 12" }, { "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", "wm": true, "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 10", "wmid": "sample string 11", "username": "sample string 12" } ] }, "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 } }