You can call this operation to obtain the information of the inviter.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeFabricInviter |
The operation that you want to perform. Set the value to DescribeFabricInviter. |
Code | String | Yes | 200 |
The invitation code. |
RegionId | String | No | cn-hangzhou |
The ID of the region. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrorCode | Integer | 200 |
The error code. |
RequestId | String | C445762C-8909-4BD8-A2BD-BB45BF2441D8 |
The ID of the API request. |
Result |
The information list of the inviter. |
||
ConsortiumId | String | consortium-lianmenyumingyi-hc5d1bwl**** |
The ID of the consortium. |
ConsortiumName | String | name |
The name of the consortium. |
ExpireTime | String | 1544411108000 |
The time when the invitation expires. |
InviterId | Long | 3524234 |
The ID of the inviter. |
InviterName | String | name |
The inviter. |
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=DescribeFabricInviter
&Code=200
&<Common request parameters>
Successful response examples
XML
format
<DescribeFabricInviterResponse>
<Result>
<ConsortiumId>10000</ConsortiumId>
<ExpireTime>1544411108000</ExpireTime>
<InviterId>35242340</InviterId>
<ConsortiumName>quickstart</ConsortiumName>
<InviterName>name</InviterName>
</Result>
<RequestId>C445762C-8909-4BD8-A2BD-BB45BF2441D8</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</DescribeFabricInviterResponse>
JSON
format
{
"Result":[
{
"ConsortiumName":"quickstart",
"ConsortiumId":"10000",
"InviterName":"name",
"ExpireTime":1544411108000,
"InviterId":35242340
}
],
"RequestId":"C445762C-8909-4BD8-A2BD-BB45BF2441D8",
"ErrorCode":200,
"Success":true
}
Error codes
For more information about error codes, see Error codes.