GET api/BarnChat/GetAllBarnChatMessagesByPageNumber?barnChatID={barnChatID}&pageNumber={pageNumber}&personID={personID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| barnChatID | string |
Required |
|
| pageNumber | integer |
Required |
|
| personID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BarnChatMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| BarnChatID | integer |
None. |
|
| BarnChatMessageID | integer |
None. |
|
| PersonID | integer |
None. |
|
| Message | string |
None. |
|
| PersonName | string |
None. |
|
| AuthorID | integer |
None. |
|
| DateModified | date |
None. |
|
| DateCreated | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BarnChatID": 1,
"BarnChatMessageID": 2,
"PersonID": 3,
"Message": "sample string 4",
"PersonName": "sample string 5",
"AuthorID": 6,
"DateModified": "2025-12-05T20:25:44.2110622-08:00",
"DateCreated": "2025-12-05T20:25:44.2110622-08:00"
},
{
"BarnChatID": 1,
"BarnChatMessageID": 2,
"PersonID": 3,
"Message": "sample string 4",
"PersonName": "sample string 5",
"AuthorID": 6,
"DateModified": "2025-12-05T20:25:44.2110622-08:00",
"DateCreated": "2025-12-05T20:25:44.2110622-08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfBarnChatMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
<BarnChatMessage>
<DateCreated>2025-12-05T20:25:44.2110622-08:00</DateCreated>
<DateModified>2025-12-05T20:25:44.2110622-08:00</DateModified>
<AuthorID>6</AuthorID>
<BarnChatID>1</BarnChatID>
<BarnChatMessageID>2</BarnChatMessageID>
<Message>sample string 4</Message>
<PersonID>3</PersonID>
<PersonName>sample string 5</PersonName>
</BarnChatMessage>
<BarnChatMessage>
<DateCreated>2025-12-05T20:25:44.2110622-08:00</DateCreated>
<DateModified>2025-12-05T20:25:44.2110622-08:00</DateModified>
<AuthorID>6</AuthorID>
<BarnChatID>1</BarnChatID>
<BarnChatMessageID>2</BarnChatMessageID>
<Message>sample string 4</Message>
<PersonID>3</PersonID>
<PersonName>sample string 5</PersonName>
</BarnChatMessage>
</ArrayOfBarnChatMessage>