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": "a9e77f65-7d0b-468b-97ef-816eec534dcc",
"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>a9e77f65-7d0b-468b-97ef-816eec534dcc</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": "8eef802c-14c7-4e70-80d0-f2bb0a1bbba4",
"CreateDate": "2026-03-22T05:29:09.6676481+08:00",
"SendMemberId": "89a9433b-1a6a-4e4b-b197-31699e1f0ba7",
"SendMemberName": "sample string 4",
"Message": "sample string 5",
"GroupId": "5d20e0b2-3baf-4c9d-ad6f-afc5fa790cb7",
"MessageType": 0,
"IP": "sample string 7",
"IsSend": true,
"SendType": 0,
"ReceiveMemberId": "e9ab99a6-e660-400d-a792-82c10101964d"
},
{
"Id": "8eef802c-14c7-4e70-80d0-f2bb0a1bbba4",
"CreateDate": "2026-03-22T05:29:09.6676481+08:00",
"SendMemberId": "89a9433b-1a6a-4e4b-b197-31699e1f0ba7",
"SendMemberName": "sample string 4",
"Message": "sample string 5",
"GroupId": "5d20e0b2-3baf-4c9d-ad6f-afc5fa790cb7",
"MessageType": 0,
"IP": "sample string 7",
"IsSend": true,
"SendType": 0,
"ReceiveMemberId": "e9ab99a6-e660-400d-a792-82c10101964d"
}
],
"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-03-22T05:29:09.6676481+08:00</d2p1:CreateDate>
<d2p1:GroupId>5d20e0b2-3baf-4c9d-ad6f-afc5fa790cb7</d2p1:GroupId>
<d2p1:IP>sample string 7</d2p1:IP>
<d2p1:Id>8eef802c-14c7-4e70-80d0-f2bb0a1bbba4</d2p1:Id>
<d2p1:IsSend>true</d2p1:IsSend>
<d2p1:Message>sample string 5</d2p1:Message>
<d2p1:MessageType>Words</d2p1:MessageType>
<d2p1:ReceiveMemberId>e9ab99a6-e660-400d-a792-82c10101964d</d2p1:ReceiveMemberId>
<d2p1:SendMemberId>89a9433b-1a6a-4e4b-b197-31699e1f0ba7</d2p1:SendMemberId>
<d2p1:SendMemberName>sample string 4</d2p1:SendMemberName>
<d2p1:SendType>Chat</d2p1:SendType>
</d2p1:HubMessage>
<d2p1:HubMessage>
<d2p1:CreateDate>2026-03-22T05:29:09.6676481+08:00</d2p1:CreateDate>
<d2p1:GroupId>5d20e0b2-3baf-4c9d-ad6f-afc5fa790cb7</d2p1:GroupId>
<d2p1:IP>sample string 7</d2p1:IP>
<d2p1:Id>8eef802c-14c7-4e70-80d0-f2bb0a1bbba4</d2p1:Id>
<d2p1:IsSend>true</d2p1:IsSend>
<d2p1:Message>sample string 5</d2p1:Message>
<d2p1:MessageType>Words</d2p1:MessageType>
<d2p1:ReceiveMemberId>e9ab99a6-e660-400d-a792-82c10101964d</d2p1:ReceiveMemberId>
<d2p1:SendMemberId>89a9433b-1a6a-4e4b-b197-31699e1f0ba7</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>