You can call this operation to query the list of organizations.

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 DescribeFabricOrganizations

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

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 list of organizations.

CodeName String name

The prefix of the domain name.

ConsortiumCount Integer 2

The number of consortia.

CreateTime String 1533025590

The time when the node was created.

Domain String domain

The domain name.

OrganizationDescription String desc

The description of the organization.

OrganizationId String peers-aaaaaa2-1eqnj5o5w9dt3

The ID of the organization.

OrganizationName String name

The name of the organization.

OwnerBid String bid

The business ID of the creator.

OwnerName String name

The user who created the organization.

OwnerUid Integer 1232

The user ID of the creator.

PeerCount Integer 3

The number of nodes.

RegionId String cn-hangzhou

The ID of the region.

RequestId String 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

SpecName String basic

The name of the specification.

State String Running

The status.

UserCount Integer 10

The number of users.

ZoneId String zone

The available zone.

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=DescribeFabricOrganizations
&<Common request parameters>

Successful response examples

XML format

<DescribeFabricOrganizationsResponse>
  <Result>
		    <OrganizationDescription>perf9141pe rf9141perf 9141perf9 141perf9141perf9141perf9 141pe rf9141perf91 41perf914 1perf9141perf 9141perf9141perf9141perf9141</OrganizationDescription>
		    <Domain>perf9141perf9adsadasdasdasdadaasd141perf9141pef9141.abasssample.cc</Domain>
		    <ZoneId>cn-shanghai-a</ZoneId>
		    <OrganizationId>org-perf9141-7digc71bg</OrganizationId>
		    <OrganizationName>organization ConsortiumId ConsortiumId ads ConsortiumId sdaConsortiumId</OrganizationName>
		    <ConsortiumCount>0</ConsortiumCount>
		    <UserCount>0</UserCount>
		    <SpecName>ecs.n1.medium</SpecName>
		    <State>Created</State>
		    <RegionId>cn-shanghai</RegionId>
		    <RequestId>BEB5EB54-414E-4EF9-8C8A-F1AE2EF7BA2D</RequestId>
		    <CreateTime>2018-07-02T08:22:26.000+0000</CreateTime>
		    <CodeName>perf9141</CodeName>
		    <PeerCount>2</PeerCount>
  </Result>
  <RequestId>7D27692E-C501-4B1D-878C-0B869DD3D9E6</RequestId>
  <Success>true</Success>
  <ErrorCode>200</ErrorCode>
</DescribeFabricOrganizationsResponse>

JSON format

{
	"Result":{
		"Domain":"perf9141perf9adsadasdasdasdadaasd141perf9141pef9141.abasssample.cc",
		"ZoneId":"cn-shanghai-a",
		"OrganizationId":"org-perf9141-7digc71bg",
		"OrganizationName":"organization ConsortiumId ConsortiumId ads ConsortiumId sdaConsortiumId",
		"OrganizationDescription":"perf9141pe rf9141perf 9141perf9 141perf9141perf9141perf9 141pe rf9141perf91 41perf914 1perf9141perf 9141perf9141perf9141perf9141",
		"ConsortiumCount":0,
		"UserCount":0,
		"SpecName":"ecs.n1.medium",
		"State":"Created",
		"RegionId":"cn-shanghai",
		"RequestId":"BEB5EB54-414E-4EF9-8C8A-F1AE2EF7BA2D",
		"CreateTime":"2018-07-02T08:22:26.000+0000",
		"CodeName":"perf9141",
		"PeerCount":2
	},
	"RequestId":"7D27692E-C501-4B1D-878C-0B869DD3D9E6",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.