You can call this operation to query the organizations of the consortium.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | DescribeFabricConsortiumMembers | The operation that you want to perform. Set the value to DescribeFabricConsortiumMembers. |
ConsortiumId | String | Yes | consortium-lianmenyumingyi-hc5d1bwl**** | The ID of the consortium. |
Location | String | No | cn-hangzhou | The location. |
RegionId | String | No | cn-hangzhou | The ID of the region. |
Response parameters
Parameter | Type | Example | Description |
ErrorCode | Integer | 200 | The error code. |
RequestId | String | 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3 | The ID of the API request. |
Result | The organizations of a consortium. | ||
ConsortiumId | String | consortium-lianmenyumingyi-hc5d1bwlulg7 | The ID of the consortium. |
Description | String | description | The description of the member. |
Domain | String | domain | The domain name. |
JoinedTime | String | 1544411108000 | The time when the organization joined the consortium. |
OrganizationId | String | peers-aaaaaa2-1eqnj5o5w9dt3 | The ID of the organization. |
OrganizationName | String | name | The name of the organization. |
Success | Boolean | true | Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeFabricConsortiumMembers
&ConsortiumId=consortium-lianmenyumingyi-hc5d1bwl****
&<Common request parameters>
Successful response examples
XML
format
<DescribeFabricConsortiumMembersResponse>
<Result>
<OrganizationName> Test 3 </OrganizationName>
<Description>Test 3</Description>
<Domain>test3asdasdafreqweqwdsafsdfw3easda.abasssample.cc</Domain>
<JoinedTime>2018-07-31T08:08:01.000+0000</JoinedTime>
<ConsortiumId>consortium-testthree-3i6j6d8ian5668</ConsortiumId>
<OrganizationId>peers-test3-25c96n9n6jh3dc</OrganizationId>
</Result>
<RequestId>98B37CF5-AB0C-423E-8335-81A54899577E</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</DescribeFabricConsortiumMembersResponse>
JSON
format
{
"Result":[
{
"Description":"Test 3",
"ConsortiumId":"consortium-testthree-3i6j6d8ian5668",
"JoinedTime":"2018-07-31T08:08:01.000+0000",
"Domain":"test3asdasdafreqweqwdsafsdfw3easda.abasssample.cc",
"OrganizationId":"peers-test3-25c96n9n6jh3dc",
"OrganizationName":"Test 3"
}
],
"RequestId":"98B37CF5-AB0C-423E-8335-81A54899577E",
"ErrorCode":200,
"Success":true
}
Error codes
For more information about error codes, see Error codes.