- Account
- Category
- Father
- /account/{accountId}/categoryPOST
- /account/{accountId}/category/mapping/treeGET
- /account/{accountId}/category/treeGET
- /account/{accountId}/category/{id}PUT
- /account/{accountId}/category/{id}DELETE
- /account/{accountId}/category/{id}/mappingPOST
- /account/{accountId}/category/{id}/mappingDELETE
- /account/{accountId}/category/{id}/movePUT
- Product
- Transaction
- Timing
- /account/{accountId}/transaction/amount/rankGET
- /account/{accountId}/transaction/category/amount/rankGET
- /account/{accountId}/transactionPOST
- /account/{accountId}/transaction/day/statisticGET
- /account/{accountId}/transaction/listGET
- /account/{accountId}/transaction/{id}POST
- /account/{accountId}/transaction/month/statisticGET
- /account/{accountId}/transaction/totalGET
- /account/{accountId}/transaction/{id}GET
- /account/{accountId}/transaction/{id}PUT
- /account/{accountId}/transaction/{id}DELETE
- Common
- User
- 未命名接口GET
/account/{accountId}/transaction/{id}
云端 Mock
云端 Mock
GET
/account/{accountId}/transaction/{id}
Transaction
请求参数
Path 参数
accountId
integer
必需
id
integer
必需
Header 参数
User-Agent
string
必需
默认值:
android
Authorization
string
可选
默认值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://m1.apifoxmock.com/m1/2374708-0-default/account//transaction/' \
--header 'User-Agent;' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU'
返回响应
🟢200成功
application/json
Body
Data
object
response.TransactionDetail
AccountId
integer
可选
AccountName
string
可选
Amount
integer
可选
CategoryFatherName
string
可选
CategoryIcon
string
可选
CategoryId
integer
可选
CategoryName
string
可选
CreateTime
string
可选
Id
integer
可选
IncomeExpense
enum<string>
IncomeExpense
枚举值:
incomeexpense
RecordType
enum<integer>
transactionModel.RecordType
枚举值:
0123
Remark
string
可选
TradeTime
string
可选
UpdateTime
string
可选
UserId
integer
可选
UserName
string
可选
Msg
string
可选
示例值:
success
示例
{
"Data": {
"AccountId": 0,
"AccountName": "string",
"Amount": 0,
"CategoryFatherName": "string",
"CategoryIcon": "string",
"CategoryId": 0,
"CategoryName": "string",
"CreateTime": "string",
"Id": 0,
"IncomeExpense": "income",
"RecordType": 0,
"Remark": "string",
"TradeTime": "string",
"UpdateTime": "string",
"UserId": 0,
"UserName": "string"
},
"Msg": "success"
}
修改于 2024-10-29 18:12:28