POST Api/Service/Signal/ChatBroadcast/{CompanyId}

向指定公司群发聊天消息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

公司Id

string

Required

Body Parameters

消息主体

SpeedPower.Utility.Models.Service.SignalR.BaseMessage
NameDescriptionTypeAdditional information
MessageType

消息类型

SpeedPower.Utility.Models.Service.SignalR.Enums.MessageType

None.

Message

消息内容

string

Required

Request Formats

application/json, text/json

Sample:
{
  "MessageType": 0,
  "Message": "sample string 1"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MessageType"

Text
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

向指定公司群发聊天消息

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Succeed"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--