5. 查询AuthorityIssuer

调用接口:

标题描述
接口名weid/api/invoke
MethodPOST
Content-Typeapplication/json

接口入参:

KeyValueRequired
functionNamequeryAuthorityIssuerY
functionArg Y
functionArg.weIdWeIdentity DID,与 SDK直接调用的方式入参 一致,下同Y
transactionArg N,传空
v版本号Y

接口入参示例:

  1. {
  2. "functionArg": {
  3. "weId": "did:weid:0x1ae5b88d37327830307ab8da0ec5d8e8692a35d3"
  4. },
  5. "transactionArg": {
  6. },
  7. "functionName": "queryAuthorityIssuer",
  8. "v": "1.0.0"
  9. }

接口返回: application/json

KeyValue
ErrorCode错误码,0表示成功
ErrorMessage错误信息
respBody完整的Authority Issuer信息
  1. {
  2. "respBody": {
  3. "accValue": ,
  4. "created": 16845611984115,
  5. "name": "Sample College",
  6. "weid": "did:weid:0x1ae5b88d37327830307ab8da0ec5d8e8692a35d3"
  7. }
  8. "ErrorCode": 0
  9. "ErrorMessage": "success"
  10. }