GET api/chatmessages?pageIndex={pageIndex}&pageSize={pageSize}

Gets an existing ChatMessage collection.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageIndex

The page number to get.

integer

Required

pageSize

The size of the page to get.

integer

Required



Body Parameters

None.



Response Information

Resource Description

The requested ChatMessage collection.

Collection of ReadChatMessageViewModel

NameDescriptionTypeAdditional information
CanBeDeleted

boolean

None.

CanBeEdited

boolean

None.

Content

string

None.

DateAdded

string

None.

DateEdited

string

None.

EntityInstance_Id

integer

None.

Id

integer

None.

IsGlobal

boolean

None.

IsSelf

boolean

None.

SequenceNr

integer

None.

UserId

globally unique identifier

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CanBeDeleted": true,
    "CanBeEdited": true,
    "Content": "sample string 3",
    "DateAdded": "sample string 4",
    "DateEdited": "sample string 5",
    "EntityInstance_Id": 1,
    "Id": 6,
    "IsGlobal": true,
    "IsSelf": true,
    "SequenceNr": 9,
    "UserId": "7fc7797f-2df2-421c-98f2-3d1e9a1c378a",
    "UserName": "sample string 11"
  },
  {
    "CanBeDeleted": true,
    "CanBeEdited": true,
    "Content": "sample string 3",
    "DateAdded": "sample string 4",
    "DateEdited": "sample string 5",
    "EntityInstance_Id": 1,
    "Id": 6,
    "IsGlobal": true,
    "IsSelf": true,
    "SequenceNr": 9,
    "UserId": "7fc7797f-2df2-421c-98f2-3d1e9a1c378a",
    "UserName": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReadChatMessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <ReadChatMessageViewModel>
    <CanBeDeleted>true</CanBeDeleted>
    <CanBeEdited>true</CanBeEdited>
    <Content>sample string 3</Content>
    <DateAdded>sample string 4</DateAdded>
    <DateEdited>sample string 5</DateEdited>
    <EntityInstance_Id>1</EntityInstance_Id>
    <Id>6</Id>
    <IsGlobal>true</IsGlobal>
    <IsSelf>true</IsSelf>
    <SequenceNr>9</SequenceNr>
    <UserId>7fc7797f-2df2-421c-98f2-3d1e9a1c378a</UserId>
    <UserName>sample string 11</UserName>
  </ReadChatMessageViewModel>
  <ReadChatMessageViewModel>
    <CanBeDeleted>true</CanBeDeleted>
    <CanBeEdited>true</CanBeEdited>
    <Content>sample string 3</Content>
    <DateAdded>sample string 4</DateAdded>
    <DateEdited>sample string 5</DateEdited>
    <EntityInstance_Id>1</EntityInstance_Id>
    <Id>6</Id>
    <IsGlobal>true</IsGlobal>
    <IsSelf>true</IsSelf>
    <SequenceNr>9</SequenceNr>
    <UserId>7fc7797f-2df2-421c-98f2-3d1e9a1c378a</UserId>
    <UserName>sample string 11</UserName>
  </ReadChatMessageViewModel>
</ArrayOfReadChatMessageViewModel>