You can call this operation to create a proposal for an organization to join the consortium.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | CreateFabricConsortiumMember | The operation that you want to perform. Set the value to CreateFabricConsortiumMember. |
| ConsortiumId | String | Yes | consortium-aaaaaa-akpcsjjac2jd | The ID of the consortium. |
| Code | String | Yes | 200 | The invitation code. |
| Organization.N.OrganizationId | String | No | peers-aaaaaa1-1oxw31d046jtl | The ID of the organization. |
| RegionId | String | No | cn-hanghzozu | 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=CreateFabricConsortiumMember
&ConsortiumId=consortium-aaaaaa-akpcsjjac2jd
&<Common request parameters>
Successful response examples
XML format
<CreateFabricConsortiumMemberResponse>
<Result>true</Result>
<RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</CreateFabricConsortiumMemberResponse>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.