POST api/{idcompany}/chats/{idchat}/message?iduser={iduser}&idlanguage={idlanguage}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idcompany | integer |
Required |
|
idchat | integer |
Required |
|
iduser | integer |
Required |
|
idlanguage | integer |
Default value is 1 |
Body Parameters
SBI_BLL_ChatMessageName | Description | Type | Additional information |
---|---|---|---|
IDChatMessage | integer |
None. |
|
IDChat | integer |
None. |
|
Message | string |
None. |
|
Read | boolean |
None. |
|
ReadOn | date |
None. |
|
IDFileObject | integer |
None. |
|
CreatedOn | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedBy | integer |
None. |
|
UserName | string |
None. |
|
UserImage | string |
None. |
|
Mentions | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IDChatMessage": 1, "IDChat": 2, "Message": "sample string 3", "Read": true, "ReadOn": "2025-04-04T03:49:03.8680101+02:00", "IDFileObject": 5, "CreatedOn": "2025-04-04T03:49:03.8680101+02:00", "CreatedBy": 6, "UpdatedBy": 7, "UserName": "sample string 8", "UserImage": "sample string 9", "Mentions": [ "sample string 1", "sample string 2" ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |