LeapLedger
  1. Timing
LeapLedger
  • Account
    • Mapping
      • /account/{accountId}/mapping
      • /account/{accountId}/mapping
      • /account/{accountId}/mapping/list
      • /account/{accountId}/mapping/{id}
      • /account/{accountId}/mapping/{id}
    • Template
      • /account/form/template/{id}
      • /account/template/list
      • /account/{accountId}/transaction/category/init
    • User
      • Config
        • /account/{accountId}/user/config
        • /account/{accountId}/user/config/{flag}
      • Invitation
        • /account/user/invitation/list
        • /account/user/invitation/{id}/accept
        • /account/user/invitation/{id}/refuse
        • /account/{accountId}/user/invitation
      • /account/{accountId}/user/list
      • /account/{accountId}/user/{id}
      • /account/{accountId}/user/{id}/info
    • /account
      POST
    • /account/list
      GET
    • /account/list/{type}
      GET
    • /account/{accountId}/info
      GET
    • /account/{accountId}/info/{type}
      GET
    • /account/{id}
      GET
    • /account/{id}
      PUT
    • /account/{id}
      DELETE
  • Category
    • Father
      • /account/{accountId}/category/father
      • /account/{accountId}/category/father/{id}
      • /account/{accountId}/category/father/{id}
      • /account/{accountId}/category/father/{id}/move
    • /account/{accountId}/category
    • /account/{accountId}/category/mapping/tree
    • /account/{accountId}/category/tree
    • /account/{accountId}/category/{id}
    • /account/{accountId}/category/{id}
    • /account/{accountId}/category/{id}/mapping
    • /account/{accountId}/category/{id}/mapping
    • /account/{accountId}/category/{id}/move
  • Product
    • Bill
      • Import
        • /account/{accountId}/product/{key}/bill/import
    • TransCategory
      • Mapping
        • /account/{accountId}/product/transCategory/{id}/mapping
        • /account/{accountId}/product/transCategory/{id}/mapping
        • /account/{accountId}/product/{key}/transCategory/mapping/tree
      • /product/{key}/transCategory
    • /product/list
  • Transaction
    • Timing
      • /account/{accountId}/transaction/timing
        POST
      • /account/{accountId}/transaction/timing/list
        GET
      • /account/{accountId}/transaction/timing/{id}
        PUT
      • /account/{accountId}/transaction/timing/{id}
        DELETE
      • /account/{accountId}/transaction/timing/{id}/{operate}
        PUT
    • /account/{accountId}/transaction/amount/rank
      GET
    • /account/{accountId}/transaction/category/amount/rank
      GET
    • /account/{accountId}/transaction
      POST
    • /account/{accountId}/transaction/day/statistic
      GET
    • /account/{accountId}/transaction/list
      GET
    • /account/{accountId}/transaction/{id}
      POST
    • /account/{accountId}/transaction/month/statistic
      GET
    • /account/{accountId}/transaction/total
      GET
    • /account/{accountId}/transaction/{id}
      GET
    • /account/{accountId}/transaction/{id}
      PUT
    • /account/{accountId}/transaction/{id}
      DELETE
  • Common
    • /public/captcha
    • /public/captcha/email/send
  • User
    • Friend
      • Invitation
        • /user/account/invitation/list
        • /user/friend/invitation
        • /user/friend/invitation
        • /user/friend/invitation/{id}/accept
        • /user/friend/invitation/{id}/refuse
      • /user/friend/list
    • Config
      • /user/transaction/share/config
      • /user/transaction/share/config
    • /public/user/login
    • /public/user/password
    • /public/user/register
    • /public/user/tour
    • /user/client/current/account
    • /user/client/current/share/account
    • /user/client/current/share/account
    • /user/current
    • /user/home
    • /user/password
    • /user/search
    • /user/token/refresh
  • 未命名接口
    GET
  1. Timing

/account/{accountId}/transaction/timing/{id}

云端 Mock
https://m1.apifoxmock.com/m1/2374708-0-default
云端 Mock
https://m1.apifoxmock.com/m1/2374708-0-default
PUT
/account/{accountId}/transaction/timing/{id}
Transaction/Timing

请求参数

Path 参数
accountId
integer 
必需
Account ID
id
integer 
Timing ID
必需
Header 参数
User-Agent
string 
必需
默认值:
android
Authorization
string 
可选
默认值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU
Body 参数application/json
Config
object (request.TransactionTimingConfig) 
可选
NextTime
string 
可选
OffsetDays
integer 
可选
Type
enum<string> 
可选
枚举值:
onceeveryDayeveryWeekeveryMonthlastDayOfMonth
UserId
integer 
可选
Trans
object (transactionModel.Info) 
可选
AccountId
integer 
可选
Amount
integer 
可选
CategoryId
integer 
可选
IncomeExpense
enum<string> 
可选
枚举值:
incomeexpense
Remark
string 
可选
TradeTime
string 
可选
UserId
integer 
可选
示例
{
    "Config": {
        "NextTime": "string",
        "OffsetDays": 0,
        "Type": "once",
        "UserId": 0
    },
    "Trans": {
        "AccountId": 0,
        "Amount": 0,
        "CategoryId": 0,
        "IncomeExpense": "income",
        "Remark": "string",
        "TradeTime": "string",
        "UserId": 0
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://m1.apifoxmock.com/m1/2374708-0-default/account//transaction/timing/' \
--header 'User-Agent;' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Config": {
        "NextTime": "string",
        "OffsetDays": 0,
        "Type": "once",
        "UserId": 0
    },
    "Trans": {
        "AccountId": 0,
        "Amount": 0,
        "CategoryId": 0,
        "IncomeExpense": "income",
        "Remark": "string",
        "TradeTime": "string",
        "UserId": 0
    }
}'

返回响应

🟢200成功
application/json
OK
Body
Data
object 
response.TransactionTiming
可选
Config
object 
response.TransactionTimingConfig
可选
Trans
object 
response.TransactionInfo
可选
Msg
string 
可选
示例值:
success
示例
{
    "Data": {
        "Config": {
            "AccountId": 0,
            "Close": true,
            "CreatedAt": "string",
            "Id": 0,
            "NextTime": "string",
            "OffsetDays": 0,
            "Type": "once",
            "UpdatedAt": "string",
            "UserId": 0,
            "Username": "string"
        },
        "Trans": {
            "AccountId": 0,
            "AccountName": "string",
            "Amount": 0,
            "CategoryFatherName": "string",
            "CategoryIcon": "string",
            "CategoryId": 0,
            "CategoryName": "string",
            "Id": 0,
            "IncomeExpense": "income",
            "Remark": "string",
            "TradeTime": "string",
            "UserId": 0,
            "UserName": "string"
        }
    },
    "Msg": "success"
}
修改于 2024-10-29 18:12:28
上一页
/account/{accountId}/transaction/timing/list
下一页
/account/{accountId}/transaction/timing/{id}
Built with