# 多个合约的最新流转记录
# 调用方式: POST
# 接口地址:
https://api.freelog.com/v2/contracts/contractsTransitionRecord
1
# body传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
contractIds | 必选 | string[] | 合约ID数组 |
isTranslate | 可选 | boolean | 是否翻译,默认true |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
id | string | 记录ID |
serviceStates | number | 色块码 1:授权 2:测试授权 3:授权且测试授权 128:无授权 |
time | datetime | 时间 |
stateStr | string | 状态翻译 |
stateInfoStr | string | 状态信息翻译 |
eventStr | string | 当前事件翻译 |
eventSelectStr | string | 事件选项提示语 |
eventSectionStrs | array | 事件选项翻译 |
eventSectionEntities | array | 事件选项实体 |
contractId | string | 合约ID |
total | number | 该合约的总的记录数 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": [
{
"id": "649e45aab7a270202c0a17d1",
"serviceStates": 1,
"time": "2023-06-30 11:02:02",
"stateStr": "已授权 2023-06-30 11:02:02",
"stateInfoStr": "已支付 100枚 羽币,进入 状态finish",
"eventStr": "",
"eventSelectStr": "",
"eventSectionStrs": [],
"eventSectionEntities": [],
"contractId": "64916ff31bde450039e43a56",
"total": 17
},
{
"id": "64b4b4591bde450039ec5b41",
"serviceStates": 1,
"time": "2023-07-17 11:24:09",
"stateStr": "已授权 2023-07-17 11:24:09",
"stateInfoStr": "签约成功,已获得永久授权",
"eventStr": "",
"eventSelectStr": "",
"eventSectionStrs": [],
"eventSectionEntities": [],
"contractId": "64b4b4591bde450039ec5b3f",
"total": 1
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34