PUT api/Chat
Put - to update a chat message.
Request Information
URI Parameters
None.
Body Parameters
The Appointment JSON object.
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-10-04T18:36:09.60015Z", "MessageStatus": "sample string 3", "NegotiatorId": 4, "NegotiatorName": "sample string 5", "Comments": [ { "ChatMessageUser": { "UserId": 1, "UserName": "sample string 2" }, "Comment": "sample string 1", "DateTime": "2024-10-04T18:36:09.60015Z" }, { "ChatMessageUser": { "UserId": 1, "UserName": "sample string 2" }, "Comment": "sample string 1", "DateTime": "2024-10-04T18:36:09.60015Z" } ], "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 }