Get a chat message.
get
/connectedWorker/clientapi/v2/employees/{employeeId}/messages/{messageId}
This operation retrieves a chat message for an employee.
Request
Path Parameters
-
employeeId: string
Employee identifier
-
messageId: string
Chat message identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Chat message was successfully retrieved.
Root Schema : ChatMessage
Type:
Show Source
object-
id(optional):
string
Read Only:
trueThe unique id of the objectExample:53 -
lastReminder(optional):
string(date-time)
Read Only:
trueDate and time the reminder was sent for the last time in ISO-8601 format. Automatically assigned on backend when the reminder is sent. -
links(optional):
array links
-
priority:
string
Allowed Values:
[ "HIGH", "MEDIUM", "LOW" ]Priority of messageExample:MEDIUM -
read(optional):
boolean
Read Only:
trueIndicates whether the chat message was read by the recipientExample:true -
readTime(optional):
string(date-time)
Read Only:
trueDate and time the chat message was acknowledged by a recipient in ISO-8601 format. Automatically assigned on backend when the message was read. -
receivedTime(optional):
string(date-time)
Read Only:
trueDate and time the chat message was received in ISO-8601 format. Automatically assigned on backend during creation of chat message. -
recipients:
array recipients
List of recipients, cannot be empty
-
text:
string
The chat message, cannot be blankExample:
Chat message send among employees
Nested Schema : recipients
Type:
arrayList of recipients, cannot be empty
Show Source
-
Array of:
string
List of recipients, cannot be emptyExample:
["johnSmith","johnDeere"]
Example:
[
"johnSmith",
"johnDeere"
]Nested Schema : Link
Type:
Show Source
object-
href:
string
The target resource's URI
-
rel:
string
Relation type