You can call this operation to accept the invitation to join a consortium.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | AcceptFabricInvitation |
The operation that you want to perform. Set the value to AcceptFabricInvitation. |
Code | String | Yes | secrettoken |
The invitation code. |
IsAccepted | Boolean | No | true |
Indicates whether you have accepted the invitation. A value of true indicates that you have accepted the invitation. A value of false indicates that you have declined the invitation. |
RegionId | String | No | cn-hangzhou |
The ID of the region. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrorCode | Integer | 200 |
The error code. |
RequestId | String | 52CC8D5B-79A8-4769-BC7B-8940556ADA49 |
The ID of the API request. |
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=AcceptFabricInvitation
&Code=secrettoken
&<Common request parameters>
Successful response examples
XML
format
<AcceptFabricInvitationResesponse>
<RequestId>52CC8D5B-79A8-4769-BC7B-8940556ADA49</RequestId>
<ErrorCode>200</ErrorCode>
<Success>true</Success>
</AcceptFabricInvitationResesponse>
JSON
format
{
"RequestId":"52CC8D5B-79A8-4769-BC7B-8940556ADA49",
"Success":true,
"ErrorCode":200
}
Error codes
For more information about error codes, see Error codes.