All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrganization

Last Updated:Aug 18, 2023

You can call this operation to query the details of an organization.

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

ParameterTypeRequiredExampleDescription
ActionStringYesDescribeFabricOrganization

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

OrganizationIdStringYespeers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

LocationStringNocn-hangzhou

The location.

RegionIdStringNocn-hangzhou

The ID of the region.

Response parameters

ParameterTypeExampleDescription
ErrorCodeInteger200

The error code.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The details of the organization.

CANAMEStringclient

The name of the CA node in the organization.

CAUrlStringhttps://ca1.org1.alibabacloudbaas.com:31154

The address of the CA node in the organization.

CodeNameStringorg1

The prefix of the domain name.

ConsortiumCountInteger2

The number of consortia.

CreateTimeString1533025590

The creation time.

DomainStringorg1.alibabacloudbaas.com

The domain name.

MSPStringorg1MSP

The provider of the member service.

OrganizationDescriptionStringThis is org1

The description of the organization.

OrganizationIdStringpeers-aaaaaa2-1eqnj5o5w9dt3

The ID of the organization.

OrganizationNameStringorg1

The name of the organization.

OwnerBidString2544

The business ID of the creator.

OwnerNameStringuid-23434

The creator.

OwnerUidLong23434

The user ID of the creator.

PeerCountInteger2

The number of peer nodes.

RegionIdStringcn-hangzhou

The ID of the region.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

SpecNameStringbasic

The name of the specification.

StateStringRunning

The status.

UserCountInteger2

The number of users.

ZoneIdStringcn-hangzhou-1a

The available zone.

SuccessBooleantrue

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=DescribeFabricOrganization
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&<Common request parameters>

Successful response examples

XML format

<DescribeFabricOrganizationResponse>
  </Result>
		    <OrganizationDescription>organization created by ruiqi.zss</OrganizationDescription>
		    <Domain>peer.aliyun.abasssample.cc</Domain>
		    <ZoneId>cn-shanghai-a</ZoneId>
		    <OrganizationId>org-ip92i26m792c9</OrganizationId>
		    <OrganizationName>Alibaba Cloud</OrganizationName>
		    <ConsortiumCount>1</ConsortiumCount>
		    <UserCount>0</UserCount>
		    <State>Created</State>
		    <SpecName>ecs.n1.medium</SpecName>
		    <OwnerUid>120428157028****</OwnerUid>
		    <CAUrl>https://ca1.org1.alibabacloudbaas.com:31154</CAUrl>
		    <CreateTime>2018-06-22T06:14:21.000+0000</CreateTime>
		    <CANAME>caname</CANAME>
		    <CodeName>aliyun</CodeName>
		    <OwnerName>blockchain_baas_test</OwnerName>
		    <PeerCount>2</PeerCount>
		    <OwnerBid>26842</OwnerBid>
	  </Result>
	  <RequestId>C445762C-8909-4BD8-A2BD-BB45BF2441D8</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</DescribeFabricOrganizationResponse>

JSON format

{
	"Result":{
		"Domain":"peer.aliyun.abasssample.cc",
		"CANAME":"caname",
		"ZoneId":"cn-shanghai-a",
		"CAUrl":"https://ca1.org1.alibabacloudbaas.com:31154",
		"OrganizationId":"org-ip92i26m792c9",
		"OwnerBid":"26842",
		"OrganizationName":"Alibaba Cloud",
		"OrganizationDescription":"organization created by ruiqi.zss",
		"ConsortiumCount":1,
		"UserCount":0,
		"OwnerUid":120428157028****,
		"State":"Created",
		"SpecName":"ecs.n1.medium",
		"CreateTime":"2018-06-22T06:14:21.000+0000",
		"CodeName":"aliyun",
		"PeerCount":2,
		"OwnerName":"blockchain_baas_test"
	},
	"RequestId":"C445762C-8909-4BD8-A2BD-BB45BF2441D8",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.