All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrganizationSpecs

Last Updated:Aug 15, 2024

You can call this operation to query the organization specifications.

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

DescribeFabricOrganizationSpecs

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

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 specifications of an organization.

Enable

Boolean

true

Indicates whether the specification is enabled. A value of true indicates that the specification is enabled. A value of false indicates that the specification is not enabled.

OrganizationSpecsName

String

basic

The name of the specification.

Title

String

Basic Edition

The title.

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

Successful response examples

XML format

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

<DescribeFabricOrganizationSpecsResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <Title>Basic Edition</Title>
        <OrganizationSpecsName>basic</OrganizationSpecsName>
        <Enable>true</Enable>
    </Result>
</DescribeFabricOrganizationSpecsResponse>

JSON format

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

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : [ {
    "Title" : "Basic Edition",
    "OrganizationSpecsName" : "basic",
    "Enable" : true
  } ]
}

Error codes

For more information about error codes, see Error codes.