You can call this operation to add other organizations to the channel.

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 CreateFabricChannelMember

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

ChannelId String Yes chan-channelx-1l1hmckuuisxo

The ID of the channel.

Organization. N. OrganizationId String No peers-aaaaaa1-1oxw31d046jtl

The ID of the organization.

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 Boolean true

The result of the operation.

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=CreateFabricChannelMember
&ChannelId=chan-channelx-1l1hmckuuisxo
&<Common request parameters>

Successful response examples

XML format

<CreateFabricChannelMemberResponse>
	  <Result>true</Result>
	  <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</CreateFabricChannelMemberResponse>

JSON format

{
	"Result":true,
	"RequestId":"1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.