Message Services
Post Message API
This API is used to send messages to other users.
Mandatory Field: objectId, objectType, body, recipientUsers, sender.
| Method | URL |
|
postMessage |
/api/message/user |
Request Body
{
"body": "string",
"objectId": 0,
"objectType": "string",
"recipientUsers": [
"string"
],
"sender": "string"
}
Example
{
"body": "Hi Kumar, please look into this",
"objectId": 1005,
"objectType": "table",
"recipientUsers": [
"kumar"
],
"sender": "admin"
}
Response Body
{
"status": true,
"statusCode": "Your message is sent successfully",
"statusMsg": "",
"response": {}
}