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. |
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****
&Location=cn-hangzhou
&<Common request parameters>Successful response examples
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeFabricConsortiumMembersResponse>
<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
<Result>
<Domain>domain</Domain>
<Description>description</Description>
<ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>
<OrganizationName>name</OrganizationName>
<JoinedTime>1544411108000</JoinedTime>
<OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>
</Result>
</DescribeFabricConsortiumMembersResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
"Success" : true,
"ErrorCode" : 200,
"Result" : [ {
"Domain" : "domain",
"Description" : "description",
"ConsortiumId" : "consortium-lianmenyumingyi-hc5d1bwlulg7",
"OrganizationName" : "name",
"JoinedTime" : "1544411108000",
"OrganizationId" : "peers-aaaaaa2-1eqnj5o5w9dt3"
} ]
}Error codes
For more information about error codes, see Error codes.