POST api/event/addchatmessage

Adds a message to the property

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Events.Command.AddChatMessageCommandDataContract
NameDescriptionTypeAdditional information
PropertyRoleIds

Collection of integer

None.

Groups

Collection of Dezrez.Core.DataContracts.External.Api.Events.Command.ChatMessageGroupComandDataContract

None.

Message

string

None.

NegotiatorIds

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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.