Documentation

log.blogpost.add

Adds a message to the Activity Stream on behalf of the current user.

Function parameters

Parameters Description
POST_MESSAGE Message text
POST_TITLE Message header (optional)
SPERM Access permission rights to view messages (optional), by default - array("UA") - to all authorized users

Example

BX24.callMethod('log.blogpost.add', {POST_MESSAGE: 'Hello, world!'}, function(r){
	if(!r.error())
		{
		alert('OK!');
		}
	else
		{
		throw r.error();
		}
});

Request:

https://my.bitrix24.com/rest/log.blogpost.add.json?POST_MESSAGE=Hello%2C%20world!&auth=d9a76e2929b7bc1ff21aee9c0ce7e3e2

Response:

{"result":true}


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019