GET api/Chat?messageId={messageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
messageId

string

Required

Body Parameters

None.

Response Information

Resource Description

ChatMessageDataContract
NameDescriptionTypeAdditional information
Id

string

None.

DateTimeCreated

date

None.

MessageStatus

string

None.

NegotiatorId

integer

None.

NegotiatorName

string

None.

Comments

Collection of ChatMessageCommentDataContract

None.

Recipients

Collection of ChatMessageUserDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "DateTimeCreated": "2018-11-16T20:38:23.1929747Z",
  "MessageStatus": "sample string 3",
  "NegotiatorId": 4,
  "NegotiatorName": "sample string 5",
  "Comments": [
    {
      "ChatMessageUser": {
        "UserId": 1,
        "UserName": "sample string 2"
      },
      "Comment": "sample string 1",
      "DateTime": "2018-11-16T20:38:23.1929747Z"
    },
    {
      "ChatMessageUser": {
        "UserId": 1,
        "UserName": "sample string 2"
      },
      "Comment": "sample string 1",
      "DateTime": "2018-11-16T20:38:23.1929747Z"
    }
  ],
  "Recipients": [
    {
      "UserId": 1,
      "UserName": "sample string 2"
    },
    {
      "UserId": 1,
      "UserName": "sample string 2"
    }
  ]
}