GET api/Message?deptId={deptId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deptId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomMessage
NameDescriptionTypeAdditional information
Name

string

None.

Date

string

None.

Message

string

None.

Email

string

None.

IsFile

boolean

None.

FileName

string

None.

FilePath

string

None.

FileThumb

string

None.

FileType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Date": "sample string 2",
    "Message": "sample string 3",
    "Email": "sample string 4",
    "IsFile": true,
    "FileName": "sample string 6",
    "FilePath": "sample string 7",
    "FileThumb": "sample string 8",
    "FileType": "sample string 9"
  },
  {
    "Name": "sample string 1",
    "Date": "sample string 2",
    "Message": "sample string 3",
    "Email": "sample string 4",
    "IsFile": true,
    "FileName": "sample string 6",
    "FilePath": "sample string 7",
    "FileThumb": "sample string 8",
    "FileType": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Controllers">
  <CustomMessage>
    <Date>sample string 2</Date>
    <Email>sample string 4</Email>
    <FileName>sample string 6</FileName>
    <FilePath>sample string 7</FilePath>
    <FileThumb>sample string 8</FileThumb>
    <FileType>sample string 9</FileType>
    <IsFile>true</IsFile>
    <Message>sample string 3</Message>
    <Name>sample string 1</Name>
  </CustomMessage>
  <CustomMessage>
    <Date>sample string 2</Date>
    <Email>sample string 4</Email>
    <FileName>sample string 6</FileName>
    <FilePath>sample string 7</FilePath>
    <FileThumb>sample string 8</FileThumb>
    <FileType>sample string 9</FileType>
    <IsFile>true</IsFile>
    <Message>sample string 3</Message>
    <Name>sample string 1</Name>
  </CustomMessage>
</ArrayOfCustomMessage>