PUT api/Chat
Put - to update a chat message. Processes this chat API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The Appointment JSON object.
ChatMessageSaveCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique identifier of this resource. |
string |
None. |
| DateTimeCreated |
The date time created, expressed as a date and time. |
date |
None. |
| MessageStatus |
The message status value. |
string |
None. |
| NegotiatorId |
The unique identifier of the related negotiator resource. |
integer |
None. |
| NegotiatorName |
The negotiator name value. |
string |
None. |
| Comments |
The collection of comments. |
Collection of ChatMessageCommentDataContract |
None. |
| Recipients |
The collection of recipients. |
Collection of ChatMessageUserDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"Id": "sample string 1",
"DateTimeCreated": "2026-07-23T08:11:41.081709Z",
"MessageStatus": "sample string 3",
"NegotiatorId": 4,
"NegotiatorName": "sample string 5",
"Comments": [
{
"ChatMessageUser": {
"UserId": 1,
"UserName": "sample string 2"
},
"Comment": "sample string 1",
"DateTime": "2026-07-23T08:11:41.0973327Z"
},
{
"ChatMessageUser": {
"UserId": 1,
"UserName": "sample string 2"
},
"Comment": "sample string 1",
"DateTime": "2026-07-23T08:11:41.0973327Z"
}
],
"Recipients": [
{
"UserId": 1,
"UserName": "sample string 2"
},
{
"UserId": 1,
"UserName": "sample string 2"
}
]
}
Response Information
Resource Description
The response returned after the operation completes.
ChatMessageSaveResponseDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique identifier of this resource. |
string |
None. |
| IsSuccess |
Indicates whether this item is success. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"IsSuccess": true
}