POST api/interunit/chat/send

Request Information

URI Parameters

None.

Body Parameters

ChatMessageDto
NameDescriptionTypeAdditional information
TransitID

integer

None.

SenderID

integer

None.

SenderName

string

None.

SourcePlantID

integer

None.

MessageText

string

None.

AttachmentPath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransitID": 1,
  "SenderID": 2,
  "SenderName": "sample string 3",
  "SourcePlantID": 4,
  "MessageText": "sample string 5",
  "AttachmentPath": "sample string 6"
}

application/xml, text/xml

Sample:
<ChatMessageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <AttachmentPath>sample string 6</AttachmentPath>
  <MessageText>sample string 5</MessageText>
  <SenderID>2</SenderID>
  <SenderName>sample string 3</SenderName>
  <SourcePlantID>4</SourcePlantID>
  <TransitID>1</TransitID>
</ChatMessageDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.