Send message to messenger room

Resource type: messengersendmessageroom

Sends a message to a messenger room. Specify the unique identifier (uid) of the messenger room as resourceid.

Parameters:

  • message. STRING. Message to be sent

Example: send a message to a messenger room

...
{
    "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
    "resourceid": "151977",
    "identifier": "",
    "resourcetype": "messengersendmessageroom",
    "parameters": {
        "message": "Test Nachricht"
    }
}
...
Response parameters: send a message to a messenger room

Success, if message was sent.

Response: send a message to a messenger room

{
    "status": {
        "code": 200,
        "errorcode": 0,
        "message": "OK"
    },
    "response": {
        "results": [
            {
                "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
                "resourceid": "151977",
                "resourcetype": "messengersendmessageroom",
                "cacheable": false,
                "identifier": "",
                "data": {
                    "meta": {
                        "cntabsolute": null
                    },
                    "records": []
                },
                "status": {
                    "errorcode": 0,
                    "message": "OK"
                }
            }
        ]
    }
}