# 分页查询账户交易记录(for admin)
# 调用方式: GET
# 接口地址:
https://api.freelog.com/v2/transactions/admin/records
1
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
skip | 可选 | int | 跳过的数量.默认为0. |
limit | 可选 | int | 本次请求获取的数据条数.一般不允许超过100 |
accountId | 必选 | string | 账户ID |
startCreateDate | 可选 | data | 开始日期 |
endCreateDate | 可选 | data | 截止日期 |
amountStartPoint | 可选 | float | 交易额度区间(最小值) |
amountEndPoint | 可选 | float | 交易额度区间(最大值) |
accountId | 可选 | string | 账户ID |
accountName | 可选 | string | 账户名 |
reciprocalAccountId | 可选 | string | 对方账户ID |
reciprocalAccountName | 可选 | string | 对方账户名 |
relatedAccountName | 可选 | string | 交易双方任意的账户名 |
serialNo | 可选 | string | 交易流水号 |
recordId | 可选 | string | 交易记录ID |
status | 可选 | int | 交易状态:1.交易确认中 2:交易成功 3:交易关闭 |
keywords | 可选 | string | 搜索关键字(0-128长度) |
transactionType | 可选 | int | 交易类型(1:转账 2:合约交易) |
keywords | 可选 | string | 搜索关键字(支持合同名称和标的物名称) |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
recordId | string | 交易记录ID |
accountId | string | 账户ID |
accountName | string | 账户名称 |
accountType | int | 账户类型 (1:个人 2:合约 3:节点 4:组织或公司) |
reciprocalAccountId | string | 对方账户ID |
reciprocalAccountName | string | 对方账户名称 |
reciprocalAccountType | int | 对方账户类型 (1:个人 2:合约 3:节点 4:组织或公司) |
transactionAmount | string | 交易金额 |
transactionType | int | 交易类型 1:转账 2:合约交易 |
digest | string | 摘要信息,交易说明 |
attachInfo | object | 附属信息,例如合约交易时的合约信息 |
status | int | 状态 1:交易确认中 2:交易成功 3:交易关闭 |
createDate | date | 创建日期 |
updateDate | date | 最后更新日期 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"skip": 0,
"limit": 10,
"totalItem": 6,
"dataList": [{
"recordId": "301108531522072576",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:30:23.912Z",
"updateDate": "2022-03-30T03:30:23.912Z",
"confirmTimeoutDate": "2022-04-01T03:30:24.000Z",
"status": 1
}, {
"recordId": "301108776146731008",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:31:22.235Z",
"updateDate": "2022-03-30T03:31:22.235Z",
"confirmTimeoutDate": "2022-04-01T03:31:22.000Z",
"status": 1
}, {
"recordId": "301108825119424512",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:31:33.911Z",
"updateDate": "2022-03-30T03:31:33.911Z",
"confirmTimeoutDate": "2022-04-01T03:31:34.000Z",
"status": 1
}, {
"recordId": "301109719405035520",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:35:07.127Z",
"updateDate": "2022-03-30T03:35:07.127Z",
"confirmTimeoutDate": "2022-04-01T03:35:07.000Z",
"status": 1
}, {
"recordId": "301110229150240768",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:37:08.660Z",
"updateDate": "2022-03-30T03:37:08.660Z",
"confirmTimeoutDate": "2022-04-01T03:37:09.000Z",
"status": 1
}, {
"recordId": "301110453868060672",
"accountId": "233332382945822",
"accountType": 1,
"accountName": "yuliang",
"reciprocalAccountId": "508943564893849",
"reciprocalAccountType": 4,
"reciprocalAccountName": "test-freelog",
"transactionAmount": "-100.00",
"transactionType": 2,
"digest": "资源-12345676789/base1-我的策略3",
"attachInfo": {
"eventId": "92251a7ebaef4ae38542e51a06d7d98b",
"contractId": "5f326e6beaa800002e8f50f0",
"subjectName": "12345676789/base1",
"subjectType": 1,
"contractName": "我的策略3"
},
"remark": "",
"operatorId": "50021",
"operatorName": "yuliang",
"authorizationType": "password",
"createDate": "2022-03-30T03:38:02.237Z",
"updateDate": "2022-03-30T03:38:02.237Z",
"confirmTimeoutDate": "2022-04-01T03:38:02.000Z",
"status": 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168