POST api/event/addchatmessage

Adds a message to the property Processes this event API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The add chat message command data contract supplied with the request.

AddChatMessageCommandDataContract
NameDescriptionTypeAdditional information
PropertyRoleIds

The unique identifiers of the related property role resources.

Collection of integer

None.

Groups

The collection of groups.

Collection of ChatMessageGroupComandDataContract

None.

Message

The message value.

string

None.

NegotiatorIds

The unique identifiers of the related negotiator resources.

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "PropertyRoleIds": [
    1,
    2
  ],
  "Groups": [
    {
      "GroupId": 1,
      "RoleId": 1
    },
    {
      "GroupId": 1,
      "RoleId": 1
    }
  ],
  "Message": "sample string 1",
  "NegotiatorIds": [
    1,
    2
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

The version value.

Version

None.

Content

The content value.

HttpContent

None.

StatusCode

The status code classification.

HttpStatusCode

None.

ReasonPhrase

The reason phrase value.

string

None.

Headers

The collection of headers.

Collection of Object

None.

RequestMessage

The request message value.

HttpRequestMessage

None.

IsSuccessStatusCode

Indicates whether this item is success status code.

boolean

None.