POST api/chat/savemessage
Save a new chat message.
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.Chat.Command.ChatMessageSaveCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
DateTimeCreated | date |
None. |
|
MessageStatus | string |
None. |
|
NegotiatorId | integer |
None. |
|
NegotiatorName | string |
None. |
|
Comments | Collection of Dezrez.Core.DataContracts.External.Api.Chat.ChatMessageCommentDataContract |
None. |
|
Recipients | Collection of Dezrez.Core.DataContracts.External.Api.Chat.ChatMessageUserDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Id": "sample string 1", "DateTimeCreated": "2024-11-21T09:44:49.6622416Z", "MessageStatus": "sample string 3", "NegotiatorId": 4, "NegotiatorName": "sample string 5", "Comments": [ { "ChatMessageUser": { "UserId": 1, "UserName": "sample string 2" }, "Comment": "sample string 1", "DateTime": "2024-11-21T09:44:49.6622416Z" }, { "ChatMessageUser": { "UserId": 1, "UserName": "sample string 2" }, "Comment": "sample string 1", "DateTime": "2024-11-21T09:44:49.6622416Z" } ], "Recipients": [ { "UserId": 1, "UserName": "sample string 2" }, { "UserId": 1, "UserName": "sample string 2" } ] }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Chat.Command.ChatMessageSaveResponseDataContractName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "IsSuccess": true }