DescribeFabricInvitationCode
更新時間:
調(diào)用DescribeFabricInvitationCode獲取邀請鏈接。
調(diào)試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
請求參數(shù)
名稱 |
類型 |
是否必選 |
示例值 |
描述 |
Action | String | 是 | DescribeFabricInvitationCode | 系統(tǒng)規(guī)定參數(shù)。取值:DescribeFabricInvitationCode。 |
ConsortiumId | String | 是 | consortium-lianmenyumingyi-hc5d1bwl**** | 聯(lián)盟ID |
返回數(shù)據(jù)
名稱 |
類型 |
示例值 |
描述 |
DynamicMessage | String | The invitation code could not found. | 錯誤消息 |
RequestId | String | 77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F | 請求ID |
ErrorCode | Integer | 200 | 錯誤碼 |
Success | Boolean | true | 是否成功 |
DynamicCode | String | InvitationCodeNotFound | 錯誤代碼 |
Result | Object | 結(jié)果 |
|
SenderId | Long | 26345345 | 發(fā)送者ID |
String | abc@126.com | 郵箱 |
|
SenderBid | String | 27534 | 發(fā)送者Bid |
ExpireTime | String | 1544411108000 | 過期時間 |
ConsortiumId | String | consortium-lianmenyumingyi-hc5d1bwl**** | 聯(lián)盟ID |
InvitationId | Integer | 2 | 邀請ID |
SenderName | String | uid-35324 | 發(fā)送者 |
Code | String | code | 邀請碼 |
Url | String | http://baas.console.aliyun.test/invite?code=92e7ef1934892 | 邀請鏈接 |
Accepted | Boolean | true | 是否接受 |
SendTime | String | 1544411108000 | 發(fā)送時間 |
示例
請求示例
http(s)://[Endpoint]/?Action=DescribeFabricInvitationCode
&ConsortiumId=consortium-lianmenyumingyi-hc5d1bwl****
&公共請求參數(shù)
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeFabricInvitationCodeResponse>
<DynamicMessage>The invitation code could not found.</DynamicMessage>
<RequestId>77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F</RequestId>
<ErrorCode>200</ErrorCode>
<Success>true</Success>
<DynamicCode>InvitationCodeNotFound</DynamicCode>
<Result>
<SenderId>26345345</SenderId>
<Email>abc@126.com</Email>
<SenderBid>27534</SenderBid>
<ExpireTime>1544411108000</ExpireTime>
<ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>
<InvitationId>2</InvitationId>
<SenderName>uid-35324</SenderName>
<Code>code</Code>
<Url>http://baas.console.aliyun.test/invite?code=92e7ef1934892</Url>
<Accepted>true</Accepted>
<SendTime>1544411108000</SendTime>
</Result>
</DescribeFabricInvitationCodeResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"DynamicMessage" : "The invitation code could not found.",
"RequestId" : "77E25463-56CB-4F1C-8EB6-8ADDFE39EF0F",
"ErrorCode" : 200,
"Success" : true,
"DynamicCode" : "InvitationCodeNotFound",
"Result" : {
"SenderId" : 26345345,
"Email" : "abc@126.com",
"SenderBid" : "27534",
"ExpireTime" : "1544411108000",
"ConsortiumId" : "consortium-lianmenyumingyi-hc5d1bwl****",
"InvitationId" : 2,
"SenderName" : "uid-35324",
"Code" : "code",
"Url" : "http://baas.console.aliyun.test/invite?code=92e7ef1934892",
"Accepted" : true,
"SendTime" : "1544411108000"
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
文檔內(nèi)容是否對您有幫助?