GET User/GetCorrInfo
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
corrWmid | string |
Required |
|
filesCount | integer |
Default value is 10 |
|
mediaCount | integer |
Default value is 12 |
Body Parameters
None.
Response Information
Resource Description
CorrInfoViewName | Description | Type | Additional information |
---|---|---|---|
media | BaseListViewOfUserFileView |
None. |
|
files | BaseListViewOfUserFileView |
None. |
|
correspondent | UserDataView |
None. |
|
messageSettingState | UserMessagesSettingState |
None. |
|
correspondence | boolean |
None. |
|
awaitingFirstMessage | boolean |
None. |
|
canMarkAsSpam | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "media": { "countAll": 1, "items": [ { "messageId": 1, "attachment": { "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" } }, "messageContext": { "messageId": 1, "corrWmid": "sample string 1", "chatUid": "sample string 2" }, "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", "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" }, "text": "sample string 2", "date": "sample string 3", "dateStr": "sample string 4" }, { "messageId": 1, "attachment": { "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" } }, "messageContext": { "messageId": 1, "corrWmid": "sample string 1", "chatUid": "sample string 2" }, "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", "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" }, "text": "sample string 2", "date": "sample string 3", "dateStr": "sample string 4" } ] }, "files": { "countAll": 1, "items": [ { "messageId": 1, "attachment": { "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" } }, "messageContext": { "messageId": 1, "corrWmid": "sample string 1", "chatUid": "sample string 2" }, "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", "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" }, "text": "sample string 2", "date": "sample string 3", "dateStr": "sample string 4" }, { "messageId": 1, "attachment": { "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" } }, "messageContext": { "messageId": 1, "corrWmid": "sample string 1", "chatUid": "sample string 2" }, "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", "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" }, "text": "sample string 2", "date": "sample string 3", "dateStr": "sample string 4" } ] }, "correspondent": { "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" }, "personalData": { "age": 1, "ageStr": "sample string 1", "address": "sample string 2", "url": "sample string 3", "email": "sample string 4", "phone": "sample string 5", "skype": "sample string 6", "twitter": "sample string 7", "moneybookers": "sample string 8", "jabberid": "sample string 9", "qiwi": "sample string 10", "existsHidden": true, "existsShown": true, "foRuSite": "sample string 13", "firstname": "sample string 14", "lastname": "sample string 15", "patronymicname": "sample string 16" } }, "messageSettingState": 0, "correspondence": true, "awaitingFirstMessage": true, "canMarkAsSpam": true }