All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrganizationMembers

Last Updated:Aug 15, 2024

You can call this operation to obtain the consortium that the organization has joined and the consortium members.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

DescribeFabricOrganizationMembers

The operation that you want to perform. Set the value to DescribeFabricOrganizationMembers.

OrganizationId

String

Yes

peers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

Location

String

No

cn-hangzhou

The location information.

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 result list of the operation.

ConsortiumId

String

consortium-lianmenyumingyi-hc5d1bwl****

The ID of the consortium.

ConsortiumName

String

name

The name of the consortium.

Description

String

desc

The description.

Domain

String

domain

The domain name.

JoinedTime

String

1533025590

The time when the organization joined the consortium.

OrganizationId

String

peers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

OrganizationName

String

name

The name of the organization.

State

String

Running

The status.

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=DescribeFabricOrganizationMembers
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&Location=cn-hangzhou
&<Common request parameters>

Successful response examples

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeFabricOrganizationMembersResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <Domain>domain</Domain>
        <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>
        <Description>description</Description>
        <State>Running</State>
        <OrganizationName>name</OrganizationName>
        <JoinedTime>1533025590</JoinedTime>
        <ConsortiumName>name</ConsortiumName>
        <OrganizationId>peers-aaaaaa2-1eqnj5o5w****</OrganizationId>
    </Result>
</DescribeFabricOrganizationMembersResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : [ {
    "Domain" : "domain",
    "ConsortiumId" : "consortium-lianmenyumingyi-hc5d1bwl****",
    "Description" : "description",
    "State" : "Running",
    "OrganizationName" : "name",
    "JoinedTime" : "1533025590",
    "ConsortiumName" : "name",
    "OrganizationId" : "peers-aaaaaa2-1eqnj5o5w****"
  } ]
}

Error codes

For more information about error codes, see Error codes.