查询可出证列表
更新时间:2023-05-05
查询可出证列表
接口描述
本接口用于查询司法存证可出证列表
请求结构
Plain Text
1POST /v2/saas/openapi/evidence/yuntestifycourtlist HTTP/1.1
2Host: xuper.baidu.com
3Authorization: authorization string
4{
5 "address": address,
6 "txid": txid,
7}
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必选 | 参数位置 | 描述 |
---|---|---|---|---|
address | string | 是 | RequestBody参数 | 要查询的地址 |
txid | string | 是 | RequestBody参数 | 要查询的txid |
响应头域
除公共头域外,无其它特殊头域。
响应参数
参数名称 | 类型 | 描述 |
---|---|---|
code | int | 错误码 详情查看通用说明-通用错误码 |
msg | string | 信息描述 |
data | array | 返回值列表 |
+txid | string | 存证交易id |
+blockid | string | 存证所在块id |
+desc | 用户上传字段 | |
+hashAlg | string | 加密类型sm3 |
+fileName | string | 用户上传文件名 |
+fileHash | string | 用户上传文件hash |
+judiciary | 返回法院集合 | |
++short_name | string | 法院名称简称 |
++fullname | string | 法院名称全称 |
++issued | int | 是否可以被选择出证 0 可以出 ,1 已出证,2 不可出证 |
+create_time | int | 存证时间 |
请求示例
Plain Text
1POST /v2/saas/openapi/evidence/yuntestifycourtlist
2Host: xuper.baidu.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
4{
5 "address": "dsJrcKKzwvSU2KKWpEocZNh4vjDWxUiwQ",
6 "txid": "49b4035fe7894851745a0f6c6df3b885befc02e143267ea866a5984247c616dc"
7}
响应示例
Plain Text
1HTTP/1.1 200 OK
2Content-Type: application/json;charset=UTF-8
3Date: Wed, 08 Jul 2015 03:28:11 GMT
4x-bce-request-id: d8752367-38e8-45e4-b4c7-e53be3137ce5
5{
6 "code": 0,
7 "msg": "Success",
8 "data": {
9 "address": "dsJrcKKzwvSU2KKWpEocZNh4vjDWxUiwQ",
10 "txid": "49b4035fe7894851745a0f6c6df3b885befc02e143267ea866a5984247c616dc",
11 "blockid": "853fab2b7feb51c2cfaa59dd804462d25a07f62d757d2e1a115af72502a327c3",
12 "create_time": 1656071922,
13 "desc": {
14 "userAddress": "dsJrcKKzwvSU2KKWpEocZNh4vjDWxUiwQ",
15 "hashAlg": "SM3",
16 "fileName": "321.txt",
17 "fileHash": "5f5f486d0500d4b40b314eb32a1f22176feab6bcbc634fd3975019532efd3753",
18 "userName": "Thistt"
19 },
20 "judiciary": [
21 {
22 "short_name": "bh",
23 "full_name": "北京互联网法院",
24 "issued": 2
25 },
26 {
27 "short_name": "gh",
28 "full_name": "广州互联网法院",
29 "issued": 1
30 },
31 {
32 "short_name": "zjtp",
33 "full_name": "河北中经天平司法鉴定中心",
34 "issued": 2
35 }
36 ]
37 }
38}