POST api/Hub/GetMemberGroups

Request Information

URI Parameters

None.

Body Parameters

RequestGetGroup
NameDescriptionTypeAdditional information
MemberId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberId": "e4436a60-cb6c-4a7b-bd4b-c24680dbf2f3"
}

application/xml, text/xml

Sample:
<RequestGetGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Isonfor.ECommerce.Common.Entity.Request.Hub">
  <MemberId>e4436a60-cb6c-4a7b-bd4b-c24680dbf2f3</MemberId>
</RequestGetGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestGetGroup'.

Response Information

Resource Description

ExecuteResultOfListOfHubGroup
NameDescriptionTypeAdditional information
Data

Collection of HubGroup

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:
{
  "Data": [
    {
      "Id": "626b44e0-2fa7-4bb1-89a6-9cbf42e0e907",
      "CreateDate": "2025-02-12T07:52:11.4519692+08:00",
      "MemberId": "29bd683d-03d9-4954-85bb-127e3e0ab0a0",
      "GroupId": "7fd57c0f-ca3a-4aef-9cba-1f1804326282",
      "GroupName": "sample string 5",
      "SendType": 0,
      "IsShow": true,
      "GroupKey": "sample string 7",
      "GroupCreator": true,
      "LastChatDate": "2025-02-12T07:52:11.4519692+08:00"
    },
    {
      "Id": "626b44e0-2fa7-4bb1-89a6-9cbf42e0e907",
      "CreateDate": "2025-02-12T07:52:11.4519692+08:00",
      "MemberId": "29bd683d-03d9-4954-85bb-127e3e0ab0a0",
      "GroupId": "7fd57c0f-ca3a-4aef-9cba-1f1804326282",
      "GroupName": "sample string 5",
      "SendType": 0,
      "IsShow": true,
      "GroupKey": "sample string 7",
      "GroupCreator": true,
      "LastChatDate": "2025-02-12T07:52:11.4519692+08:00"
    }
  ],
  "Success": true,
  "IsSuccess": true,
  "Msg": "sample string 3",
  "Code": 4,
  "StatusCode": "sample string 5",
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ExecuteResultOfArrayOfHubGroupwQj_SqIeA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
  <Code>4</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 3</Msg>
  <StatusCode>sample string 5</StatusCode>
  <Success>true</Success>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Isonfor.ECommerce.Common.Entity.Hub">
    <d2p1:HubGroup>
      <d2p1:CreateDate>2025-02-12T07:52:11.4519692+08:00</d2p1:CreateDate>
      <d2p1:GroupCreator>true</d2p1:GroupCreator>
      <d2p1:GroupId>7fd57c0f-ca3a-4aef-9cba-1f1804326282</d2p1:GroupId>
      <d2p1:GroupKey>sample string 7</d2p1:GroupKey>
      <d2p1:GroupName>sample string 5</d2p1:GroupName>
      <d2p1:Id>626b44e0-2fa7-4bb1-89a6-9cbf42e0e907</d2p1:Id>
      <d2p1:IsShow>true</d2p1:IsShow>
      <d2p1:LastChatDate>2025-02-12T07:52:11.4519692+08:00</d2p1:LastChatDate>
      <d2p1:MemberId>29bd683d-03d9-4954-85bb-127e3e0ab0a0</d2p1:MemberId>
      <d2p1:SendType>Chat</d2p1:SendType>
    </d2p1:HubGroup>
    <d2p1:HubGroup>
      <d2p1:CreateDate>2025-02-12T07:52:11.4519692+08:00</d2p1:CreateDate>
      <d2p1:GroupCreator>true</d2p1:GroupCreator>
      <d2p1:GroupId>7fd57c0f-ca3a-4aef-9cba-1f1804326282</d2p1:GroupId>
      <d2p1:GroupKey>sample string 7</d2p1:GroupKey>
      <d2p1:GroupName>sample string 5</d2p1:GroupName>
      <d2p1:Id>626b44e0-2fa7-4bb1-89a6-9cbf42e0e907</d2p1:Id>
      <d2p1:IsShow>true</d2p1:IsShow>
      <d2p1:LastChatDate>2025-02-12T07:52:11.4519692+08:00</d2p1:LastChatDate>
      <d2p1:MemberId>29bd683d-03d9-4954-85bb-127e3e0ab0a0</d2p1:MemberId>
      <d2p1:SendType>Chat</d2p1:SendType>
    </d2p1:HubGroup>
  </Data>
</ExecuteResultOfArrayOfHubGroupwQj_SqIeA>