POST api/Hub/GetHubMessageByGroupId
Request Information
URI Parameters
None.
Body Parameters
RequestGetHubMessages| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId | globally unique identifier |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| KeyWord | string |
None. |
|
| SortColumn | string |
None. |
|
| SortType | EnumSortType |
None. |
|
| ParamCollection | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"GroupId": "85e56706-d0a7-4b7e-953b-98a43bbacc7c",
"PageSize": 2,
"PageIndex": 3,
"KeyWord": "sample string 4",
"SortColumn": "sample string 5",
"SortType": 0,
"ParamCollection": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<RequestGetHubMessages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Isonfor.ECommerce.Common.Entity.Request.Hub">
<KeyWord xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">sample string 4</KeyWord>
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">3</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">2</PageSize>
<ParamCollection xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</ParamCollection>
<SortColumn xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">sample string 5</SortColumn>
<SortType xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">Desc</SortType>
<GroupId>85e56706-d0a7-4b7e-953b-98a43bbacc7c</GroupId>
</RequestGetHubMessages>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PagingResultOfHubMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Records | integer |
None. |
|
| TotalPages | integer |
None. |
|
| PagingInfo | PagingInfo |
None. |
|
| Data | Collection of HubMessage |
None. |
|
| Success | boolean |
None. |
|
| IsSuccess | boolean |
None. |
|
| Msg | string |
None. |
|
| Code | integer |
None. |
|
| StatusCode | string |
None. |
|
| Errors | Dictionary of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"PageSize": 1,
"PageIndex": 2,
"Records": 3,
"TotalPages": 3,
"PagingInfo": {
"PageIndex": 2,
"PageSize": 1,
"TotalCount": 3,
"TotalPage": 3,
"Dics": null
},
"Data": [
{
"Id": "6bc9ae9e-1880-4a25-9a9b-08e2427255a9",
"CreateDate": "2026-02-04T11:28:35.3629633+08:00",
"SendMemberId": "9e2b814d-76d2-4e46-9134-fd653f717283",
"SendMemberName": "sample string 4",
"Message": "sample string 5",
"GroupId": "19b61695-ab77-4a85-9f7c-f651f5bd9986",
"MessageType": 0,
"IP": "sample string 7",
"IsSend": true,
"SendType": 0,
"ReceiveMemberId": "c6733602-a283-4290-b9b3-1d16d2301a50"
},
{
"Id": "6bc9ae9e-1880-4a25-9a9b-08e2427255a9",
"CreateDate": "2026-02-04T11:28:35.3629633+08:00",
"SendMemberId": "9e2b814d-76d2-4e46-9134-fd653f717283",
"SendMemberName": "sample string 4",
"Message": "sample string 5",
"GroupId": "19b61695-ab77-4a85-9f7c-f651f5bd9986",
"MessageType": 0,
"IP": "sample string 7",
"IsSend": true,
"SendType": 0,
"ReceiveMemberId": "c6733602-a283-4290-b9b3-1d16d2301a50"
}
],
"Success": true,
"IsSuccess": true,
"Msg": "sample string 6",
"Code": 7,
"StatusCode": "sample string 8",
"Errors": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
application/xml, text/xml
Sample:
<PagingResultOfHubMessagewQj_SqIeA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
<Code>7</Code>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Errors>
<IsSuccess>true</IsSuccess>
<Msg>sample string 6</Msg>
<StatusCode>sample string 8</StatusCode>
<Success>true</Success>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Isonfor.ECommerce.Common.Entity.Hub">
<d2p1:HubMessage>
<d2p1:CreateDate>2026-02-04T11:28:35.3629633+08:00</d2p1:CreateDate>
<d2p1:GroupId>19b61695-ab77-4a85-9f7c-f651f5bd9986</d2p1:GroupId>
<d2p1:IP>sample string 7</d2p1:IP>
<d2p1:Id>6bc9ae9e-1880-4a25-9a9b-08e2427255a9</d2p1:Id>
<d2p1:IsSend>true</d2p1:IsSend>
<d2p1:Message>sample string 5</d2p1:Message>
<d2p1:MessageType>Words</d2p1:MessageType>
<d2p1:ReceiveMemberId>c6733602-a283-4290-b9b3-1d16d2301a50</d2p1:ReceiveMemberId>
<d2p1:SendMemberId>9e2b814d-76d2-4e46-9134-fd653f717283</d2p1:SendMemberId>
<d2p1:SendMemberName>sample string 4</d2p1:SendMemberName>
<d2p1:SendType>Chat</d2p1:SendType>
</d2p1:HubMessage>
<d2p1:HubMessage>
<d2p1:CreateDate>2026-02-04T11:28:35.3629633+08:00</d2p1:CreateDate>
<d2p1:GroupId>19b61695-ab77-4a85-9f7c-f651f5bd9986</d2p1:GroupId>
<d2p1:IP>sample string 7</d2p1:IP>
<d2p1:Id>6bc9ae9e-1880-4a25-9a9b-08e2427255a9</d2p1:Id>
<d2p1:IsSend>true</d2p1:IsSend>
<d2p1:Message>sample string 5</d2p1:Message>
<d2p1:MessageType>Words</d2p1:MessageType>
<d2p1:ReceiveMemberId>c6733602-a283-4290-b9b3-1d16d2301a50</d2p1:ReceiveMemberId>
<d2p1:SendMemberId>9e2b814d-76d2-4e46-9134-fd653f717283</d2p1:SendMemberId>
<d2p1:SendMemberName>sample string 4</d2p1:SendMemberName>
<d2p1:SendType>Chat</d2p1:SendType>
</d2p1:HubMessage>
</Data>
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<Records>3</Records>
</PagingResultOfHubMessagewQj_SqIeA>