Skip to content
Snippets Groups Projects
NewTransactionFromExistingOneTest.json 2.94 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
        "TYPE": "BUDGETMASTER_DATABASE",
        "VERSION": 7,
        "categories": [
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 3,
    
                "name": "Custom Category",
                "color": "#ff9500",
                "type": "CUSTOM"
            },
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 1,
    
                "name": "No Category",
                "color": "#FFFFFF",
                "type": "NONE"
            },
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 2,
    
                "name": "Rest",
                "color": "#FFFF00",
                "type": "REST"
            }
        ],
        "accounts": [
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 1,
    
                "name": "Placeholder",
                "accountState": "FULL_ACCESS",
                "type": "ALL"
            },
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 2,
    
                "name": "Default Account",
                "accountState": "FULL_ACCESS",
                "type": "CUSTOM"
            },
            {
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "ID": 3,
    
                "name": "Second Account",
                "accountState": "FULL_ACCESS",
                "type": "CUSTOM"
    
    Robert Goldmann's avatar
    Robert Goldmann committed
            },
            {
                "ID": 4,
                "name": "Readonly Account",
                "accountState": "READ_ONLY",
                "type": "CUSTOM"
    
            }
        ],
        "transactions": [
            {
                "amount": -1200,
                "isExpenditure": true,
                "date": "2021-10-17",
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "accountID": 2,
                "categoryID": 3,
    
                "name": "Full normal",
                "description": "lorem ipsum",
                "tags": [
                    {
                        "name": "123"
                    }
                ]
            },
            {
                "amount": -1500,
                "isExpenditure": true,
                "date": "2021-09-17",
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "accountID": 2,
                "categoryID": 3,
    
                "name": "Full transfer",
                "description": "dolor sit amet",
                "tags": [
                    {
                        "name": "456"
                    }
                ],
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "transferAccountID": 3
    
            },
            {
                "amount": -200,
                "isExpenditure": true,
                "date": "2021-06-17",
    
    Robert Goldmann's avatar
    Robert Goldmann committed
                "accountID": 2,
                "categoryID": 3,
    
                "name": "normal recurring",
                "description": "apple",
                "tags": [
                    {
                        "name": "789"
                    }
                ],
                "repeatingOption": {
                    "startDate": "2021-10-17",
                    "modifier": {
                        "quantity": 1,
                        "localizationKey": "repeating.modifier.months"
                    },
                    "endOption": {
                        "localizationKey": "repeating.end.key.afterXTimes",
                        "times": 1
                    }
                }
    
    Robert Goldmann's avatar
    Robert Goldmann committed
            },
            {
                "amount": -1200,
                "isExpenditure": true,
                "date": "2021-10-19",
                "accountID": 4,
                "categoryID": 1,
                "name": "Transaction in readonly account",
                "description": "",
                "tags": []
    
            }
        ],
        "templates": [],
        "charts": [],
        "images": [],
        "icons": []
    }