POST api/AdminTextInbox/SendMessage

Request Information

URI Parameters

None.

Body Parameters

AdminTextMessageDTO
NameDescriptionTypeAdditional information
ConversationId

integer

None.

Text

string

None.

RequestFiles

Collection of HttpPostedFileBase

None.

Files

Collection of SendMessageFile

None.

SenderUserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ConversationId": 1,
  "Text": "sample string 2",
  "RequestFiles": null,
  "Files": [
    {
      "FileName": "sample string 1",
      "FileBytes": "QEA="
    },
    {
      "FileName": "sample string 1",
      "FileBytes": "QEA="
    }
  ],
  "SenderUserId": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AdminTextMessageResponseDTO
NameDescriptionTypeAdditional information
imageDownloadLink

Collection of string

None.

Text

string

None.

status

string

None.

sentTime

string

None.

sentTimeFull

string

None.

sentBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "imageDownloadLink": [
    "sample string 1",
    "sample string 2"
  ],
  "Text": "sample string 1",
  "status": "sample string 2",
  "sentTime": "sample string 3",
  "sentTimeFull": "sample string 4",
  "sentBy": 5
}