POST Message/DoAction

Request Information

URI Parameters

None.

Body Parameters

DoActionMessageForm
NameDescriptionTypeAdditional information
messageId

integer

None.

attachUid

string

None.

actionUid

string

None.

messageFormat

Формат вывода текста

MessageFormat

None.

Request Formats

application/json, text/json

Sample:
{
  "messageId": 1,
  "attachUid": "sample string 2",
  "actionUid": "sample string 3",
  "messageFormat": 0
}

Response Information

Resource Description

MessageAdvancedView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

correspondent

UserPublicDataView

None.

id

integer

None.

datecreated

string

None.

datecreatedstr

string

None.

cleanMessage

string

None.

message

string

None.

attachments

Collection of AttachmentView

None.

share

ShareView

None.

attachedActions

Перечень действий с их описанием

Collection of AttachmentEntityView

None.

status

MessageStatus

None.

repost

Репост

RepostView

None.

editorMode

Режим редактирования текста

PostEditorMode

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
  },
  "correspondent": {
    "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"
  },
  "id": 1,
  "datecreated": "sample string 2",
  "datecreatedstr": "sample string 3",
  "cleanMessage": "sample string 4",
  "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
}