POST api/EMPChat/sendAttachment

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ChatSendMessageResponse
NameDescriptionTypeAdditional information
CM

ChatMessageView

None.

StatusCode

integer

None.

status

string

None.

statusText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CM": {
    "MessageId": "sample string 1",
    "ConversationId": "sample string 2",
    "SenderEmpId": "sample string 3",
    "SenderName": "sample string 4",
    "MessageType": 5,
    "MessageText": "sample string 6",
    "AttachmentUrl": "sample string 7",
    "AttachmentName": "sample string 8",
    "AttachmentSize": 9,
    "AttachmentMime": "sample string 10",
    "DurationSec": 11,
    "ClientMessageId": "sample string 12",
    "SentDate": "sample string 13",
    "MessageStatus": "sample string 14",
    "IsMine": true,
    "IsSystem": true
  },
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3"
}

application/xml, text/xml

Sample:
<ChatSendMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
  <CM>
    <AttachmentMime>sample string 10</AttachmentMime>
    <AttachmentName>sample string 8</AttachmentName>
    <AttachmentSize>9</AttachmentSize>
    <AttachmentUrl>sample string 7</AttachmentUrl>
    <ClientMessageId>sample string 12</ClientMessageId>
    <ConversationId>sample string 2</ConversationId>
    <DurationSec>11</DurationSec>
    <IsMine>true</IsMine>
    <IsSystem>true</IsSystem>
    <MessageId>sample string 1</MessageId>
    <MessageStatus>sample string 14</MessageStatus>
    <MessageText>sample string 6</MessageText>
    <MessageType>5</MessageType>
    <SenderEmpId>sample string 3</SenderEmpId>
    <SenderName>sample string 4</SenderName>
    <SentDate>sample string 13</SentDate>
  </CM>
</ChatSendMessageResponse>