{ "uuid": "9c287de5-8309-4a5a-984a-1672ee823e88", "lastMigration": 29, "name": "YNAB API Endpoints", "endpointPrefix": "v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "8085cb94-40d2-4fe9-b4e5-d7fec6344706", "documentation": "List budgets", "method": "get", "endpoint": "budgets", "responses": [ { "uuid": "95122dc8-1716-4be2-82ce-53124975d920", "body": "{\n \"data\": {\n \"budgets\": [\n {\n \"accounts\": [\n {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n ],\n \"currency_format\": {\n \"currency_symbol\": \"\",\n \"decimal_digits\": {{faker 'number.int' max=99999}},\n \"decimal_separator\": \"\",\n \"display_symbol\": {{faker 'datatype.boolean'}},\n \"example_format\": \"\",\n \"group_separator\": \"\",\n \"iso_code\": \"\",\n \"symbol_first\": {{faker 'datatype.boolean'}}\n },\n \"date_format\": {\n \"format\": \"\"\n },\n \"first_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"id\": \"{{faker 'string.uuid'}}\",\n \"last_modified_on\": \"{{faker 'date.recent' 365}}\",\n \"last_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"name\": \"\"\n }\n ],\n \"default_budget\": {\n \"accounts\": [\n {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n ],\n \"currency_format\": {\n \"currency_symbol\": \"\",\n \"decimal_digits\": {{faker 'number.int' max=99999}},\n \"decimal_separator\": \"\",\n \"display_symbol\": {{faker 'datatype.boolean'}},\n \"example_format\": \"\",\n \"group_separator\": \"\",\n \"iso_code\": \"\",\n \"symbol_first\": {{faker 'datatype.boolean'}}\n },\n \"date_format\": {\n \"format\": \"\"\n },\n \"first_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"id\": \"{{faker 'string.uuid'}}\",\n \"last_modified_on\": \"{{faker 'date.recent' 365}}\",\n \"last_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"name\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of budgets", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "215a986f-d5c1-49bb-82f4-7bc36df5a893", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No budgets were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1137ad5c-dcb7-449a-9674-87934e5072b8", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e2c2a0b4-a275-47a9-b7bd-9eefc44b3c4a", "documentation": "Single budget", "method": "get", "endpoint": "budgets/:budget_id", "responses": [ { "uuid": "61f4a35f-89fc-464e-bfbe-9e2c36bf9f6d", "body": "{\n \"data\": {\n \"budget\": {\n \"accounts\": [\n {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n ],\n \"currency_format\": {\n \"currency_symbol\": \"\",\n \"decimal_digits\": {{faker 'number.int' max=99999}},\n \"decimal_separator\": \"\",\n \"display_symbol\": {{faker 'datatype.boolean'}},\n \"example_format\": \"\",\n \"group_separator\": \"\",\n \"iso_code\": \"\",\n \"symbol_first\": {{faker 'datatype.boolean'}}\n },\n \"date_format\": {\n \"format\": \"\"\n },\n \"first_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"id\": \"{{faker 'string.uuid'}}\",\n \"last_modified_on\": \"{{faker 'date.recent' 365}}\",\n \"last_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"name\": \"\"\n },\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested budget", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7c911e14-cb53-4a48-b279-108e0e5cff90", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The specified budget was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b11e0ec8-539d-4213-b07f-a618133b9333", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "20e23037-c680-4959-aab7-a4a9ec2729ee", "documentation": "Account list", "method": "get", "endpoint": "budgets/:budget_id/accounts", "responses": [ { "uuid": "05285e95-6201-4b75-8e38-2226fe3e2fec", "body": "{\n \"data\": {\n \"accounts\": [\n {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested accounts", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1fb83e90-90c0-42cf-9362-56c9c98873aa", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No accounts were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8bc6e6e3-40da-41ea-b4d1-513b0c1cbefb", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41aae067-9e89-4b57-bf25-5f29fea249b5", "documentation": "Create a new account", "method": "post", "endpoint": "budgets/:budget_id/accounts", "responses": [ { "uuid": "7b02c151-b54c-4dbc-a46c-e48f1737f1e9", "body": "{\n \"data\": {\n \"account\": {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n }\n}", "latency": 0, "statusCode": 201, "label": "The account was successfully created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "691a2143-ba70-4579-a322-a83803d322b1", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bb6c992d-758e-44b1-89a1-1fe44f10944e", "documentation": "Single account", "method": "get", "endpoint": "budgets/:budget_id/accounts/:account_id", "responses": [ { "uuid": "f2eeb38a-2b32-451e-bd66-584581a7f76e", "body": "{\n \"data\": {\n \"account\": {\n \"balance\": {{faker 'number.int' max=99999}},\n \"cleared_balance\": {{faker 'number.int' max=99999}},\n \"closed\": {{faker 'datatype.boolean'}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"direct_import_in_error\": {{faker 'datatype.boolean'}},\n \"direct_import_linked\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"on_budget\": {{faker 'datatype.boolean'}},\n \"transfer_payee_id\": \"{{faker 'string.uuid'}}\",\n \"type\": \"{{oneOf (array 'checking' 'savings' 'cash' 'creditCard' 'lineOfCredit' 'otherAsset' 'otherLiability' 'payPal' 'merchantAccount' 'investmentAccount' 'mortgage')}}\",\n \"uncleared_balance\": {{faker 'number.int' max=99999}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested account", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3f15fe68-c00d-4fe9-8a28-fe87d9143355", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The requested account was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0700db38-b846-435b-be9f-f42f83f6d5f6", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "864eee0f-4ad2-41e8-bf3b-a88f161d3be3", "documentation": "List account transactions", "method": "get", "endpoint": "budgets/:budget_id/accounts/:account_id/transactions", "responses": [ { "uuid": "fa851ec3-9b98-4e3a-b8ef-e789bfa29f1a", "body": "{\n \"data\": {\n \"server_knowledge\": {{faker 'number.int' max=99999}},\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested transactions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2ca55a76-9880-499b-90bb-97021469efc9", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No transactions were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "90d90446-739d-40ef-ab98-08180eb7fda8", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b94a5cf2-c23a-4cfe-b161-193c2b6d9dd5", "documentation": "List categories", "method": "get", "endpoint": "budgets/:budget_id/categories", "responses": [ { "uuid": "18443c12-c05a-470d-9398-14e5f78dbb27", "body": "{\n \"data\": {\n \"category_groups\": [\n {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\"\n }\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The categories grouped by category group", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ea9f47b9-7225-4c49-8d31-e96486ef31c3", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No categories were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7b59f238-faf6-4343-a271-8f73eaa548d5", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a3051418-9020-464e-b8be-b44cd090c673", "documentation": "Single category", "method": "get", "endpoint": "budgets/:budget_id/categories/:category_id", "responses": [ { "uuid": "227d9748-401c-4178-8eb8-63b72ecd1aab", "body": "{\n \"data\": {\n \"category\": {\n \"activity\": {{faker 'number.int' max=99999}},\n \"balance\": {{faker 'number.int' max=99999}},\n \"budgeted\": {{faker 'number.int' max=99999}},\n \"category_group_id\": \"{{faker 'string.uuid'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"goal_creation_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_months_to_budget\": {{faker 'number.int' max=99999}},\n \"goal_overall_funded\": {{faker 'number.int' max=99999}},\n \"goal_overall_left\": {{faker 'number.int' max=99999}},\n \"goal_percentage_complete\": {{faker 'number.int' max=99999}},\n \"goal_target\": {{faker 'number.int' max=99999}},\n \"goal_target_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_type\": \"{{oneOf (array 'TB' 'TBD' 'MF' 'NEED' '')}}\",\n \"goal_under_funded\": {{faker 'number.int' max=99999}},\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"original_category_group_id\": \"{{faker 'string.uuid'}}\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested category", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0e9486a7-e493-4976-b869-ff5ed74ce141", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The category not was found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e4ba52c4-1ae3-4274-a090-539cf4cf594a", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d56b12a-34b0-4634-91e4-d7b3660e7a18", "documentation": "List category transactions", "method": "get", "endpoint": "budgets/:budget_id/categories/:category_id/transactions", "responses": [ { "uuid": "5e8dcb32-16b0-49fd-94a5-b733d002a4f1", "body": "{\n \"data\": {\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested transactions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2be4007b-f9e7-4994-b9a7-9f986ea36406", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No transactions were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "06003633-d64e-47f6-8cbc-593fc317c2c7", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7d8af00e-176d-43cc-a927-6ba66986680e", "documentation": "List budget months", "method": "get", "endpoint": "budgets/:budget_id/months", "responses": [ { "uuid": "74d4aff9-f36e-452f-b6d4-ada7ae5bd488", "body": "{\n \"data\": {\n \"months\": [\n {\n \"activity\": {{faker 'number.int' max=99999}},\n \"age_of_money\": {{faker 'number.int' max=99999}},\n \"budgeted\": {{faker 'number.int' max=99999}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"income\": {{faker 'number.int' max=99999}},\n \"month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"note\": \"\",\n \"to_be_budgeted\": {{faker 'number.int' max=99999}}\n }\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of budget months", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b6365f59-bef0-4e3f-bab6-da8807275778", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No budget months were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "10e885c3-e04c-4dfe-8ded-9fac47ed7125", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "59175bd8-cc49-4144-b239-cd732cb5f4de", "documentation": "Single budget month", "method": "get", "endpoint": "budgets/:budget_id/months/:month", "responses": [ { "uuid": "b106c0ee-fce1-495e-a6ec-d71c71e0d746", "body": "{\n \"data\": {\n \"month\": {\n \"activity\": {{faker 'number.int' max=99999}},\n \"age_of_money\": {{faker 'number.int' max=99999}},\n \"budgeted\": {{faker 'number.int' max=99999}},\n \"deleted\": {{faker 'datatype.boolean'}},\n \"income\": {{faker 'number.int' max=99999}},\n \"month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"note\": \"\",\n \"to_be_budgeted\": {{faker 'number.int' max=99999}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The budget month detail", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bc490b31-ee11-4013-b7e7-b135a4b1c606", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The budget month was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e4ba1e38-7d4a-46e3-901a-3168ed7deddd", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ca98e472-2242-4c38-9c9f-a8414ecad3d9", "documentation": "Single category for a specific budget month", "method": "get", "endpoint": "budgets/:budget_id/months/:month/categories/:category_id", "responses": [ { "uuid": "71f4d4ed-396c-4ae3-bcf4-1327719a8b32", "body": "{\n \"data\": {\n \"category\": {\n \"activity\": {{faker 'number.int' max=99999}},\n \"balance\": {{faker 'number.int' max=99999}},\n \"budgeted\": {{faker 'number.int' max=99999}},\n \"category_group_id\": \"{{faker 'string.uuid'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"goal_creation_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_months_to_budget\": {{faker 'number.int' max=99999}},\n \"goal_overall_funded\": {{faker 'number.int' max=99999}},\n \"goal_overall_left\": {{faker 'number.int' max=99999}},\n \"goal_percentage_complete\": {{faker 'number.int' max=99999}},\n \"goal_target\": {{faker 'number.int' max=99999}},\n \"goal_target_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_type\": \"{{oneOf (array 'TB' 'TBD' 'MF' 'NEED' '')}}\",\n \"goal_under_funded\": {{faker 'number.int' max=99999}},\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"original_category_group_id\": \"{{faker 'string.uuid'}}\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested month category", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1f754dff-c792-4838-b578-b58fec942526", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The month category was not was found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4c8ea283-e180-4cf8-8ee2-f8f933fb2924", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "69708e6a-6ada-4bf6-b9e7-3e36cb9e49cb", "documentation": "Update a category for a specific month", "method": "patch", "endpoint": "budgets/:budget_id/months/:month/categories/:category_id", "responses": [ { "uuid": "48f5e922-31e2-4913-ba70-6469432bdd4b", "body": "{\n \"data\": {\n \"category\": {\n \"activity\": {{faker 'number.int' max=99999}},\n \"balance\": {{faker 'number.int' max=99999}},\n \"budgeted\": {{faker 'number.int' max=99999}},\n \"category_group_id\": \"{{faker 'string.uuid'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"goal_creation_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_months_to_budget\": {{faker 'number.int' max=99999}},\n \"goal_overall_funded\": {{faker 'number.int' max=99999}},\n \"goal_overall_left\": {{faker 'number.int' max=99999}},\n \"goal_percentage_complete\": {{faker 'number.int' max=99999}},\n \"goal_target\": {{faker 'number.int' max=99999}},\n \"goal_target_month\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"goal_type\": \"{{oneOf (array 'TB' 'TBD' 'MF' 'NEED' '')}}\",\n \"goal_under_funded\": {{faker 'number.int' max=99999}},\n \"hidden\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"note\": \"\",\n \"original_category_group_id\": \"{{faker 'string.uuid'}}\"\n },\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The month category was successfully updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "57c6e7df-287a-45c9-a676-6af0b5247bb5", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "825f7124-f3d5-44a7-bfb1-d468d39315a2", "documentation": "List payee locations", "method": "get", "endpoint": "budgets/:budget_id/payee_locations", "responses": [ { "uuid": "de51b394-61a6-4853-901d-a496ec3f2ffb", "body": "{\n \"data\": {\n \"payee_locations\": [\n {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of payee locations", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "87980a52-5b25-4be7-a71c-28d00636d40e", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No payees locations were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aee6bccd-ecf5-44d4-929c-d66fcb66c1e5", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a33cc46-99ab-46f9-a981-c3fed23187a2", "documentation": "Single payee location", "method": "get", "endpoint": "budgets/:budget_id/payee_locations/:payee_location_id", "responses": [ { "uuid": "c9c8c1af-55ad-431d-b208-596d0e6a757b", "body": "{\n \"data\": {\n \"payee_location\": {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The payee location", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "372dc24d-a757-4d35-86c6-ffaf2087f7af", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The payee location was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fab31b14-cf2f-4933-8ac6-2cfd0f0768d6", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6cf71874-b80f-4849-ac27-82055eec8636", "documentation": "List payees", "method": "get", "endpoint": "budgets/:budget_id/payees", "responses": [ { "uuid": "8e88a316-366e-41e4-b540-60d50c49a06d", "body": "{\n \"data\": {\n \"payees\": [\n {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"transfer_account_id\": \"\"\n }\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested list of payees", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "50a034a0-e66a-4f3e-92fc-a87aefe41138", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No payees were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b8c93fe4-9b3d-48be-8734-906c9a332e91", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0f8ee612-a8f4-4b88-83e8-193156c7137c", "documentation": "Single payee", "method": "get", "endpoint": "budgets/:budget_id/payees/:payee_id", "responses": [ { "uuid": "78dc42c4-1bce-4c3d-b7f0-6883016f14bd", "body": "{\n \"data\": {\n \"payee\": {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"name\": \"\",\n \"transfer_account_id\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested payee", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3617b659-42bf-4f6e-b6ad-2f3e78acda76", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The payee was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ffc63036-34ac-483f-b201-b4630a10cd34", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "849f72a2-3e94-48b7-b8f7-6b7b605faddb", "documentation": "List locations for a payee", "method": "get", "endpoint": "budgets/:budget_id/payees/:payee_id/payee_locations", "responses": [ { "uuid": "02cc0feb-c24f-4080-b8a8-52a67a7d4aa4", "body": "{\n \"data\": {\n \"payee_locations\": [\n {\n \"deleted\": {{faker 'datatype.boolean'}},\n \"id\": \"{{faker 'string.uuid'}}\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested payee locations", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "03dd53dd-703a-47da-bc4d-ce3b27b0ce29", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No payees locations were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "764e5240-572f-4ae8-8b17-bdd09909ce4a", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c512a5ab-d253-43f8-aa1b-6389febcf612", "documentation": "List payee transactions", "method": "get", "endpoint": "budgets/:budget_id/payees/:payee_id/transactions", "responses": [ { "uuid": "70f757fc-7b9a-4d5e-b9eb-8645cc1f397c", "body": "{\n \"data\": {\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested transactions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "14904e3d-4582-4641-980a-0441264bbded", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No transactions were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f70d5b22-67af-4f00-86e4-061233f42d41", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fcbf0fff-7fb0-417c-9589-91c13708e68e", "documentation": "List scheduled transactions", "method": "get", "endpoint": "budgets/:budget_id/scheduled_transactions", "responses": [ { "uuid": "56cd8814-3f6b-4667-9a06-49ad2bbd87be", "body": "{\n \"data\": {\n \"scheduled_transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"date_first\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"date_next\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"frequency\": \"{{oneOf (array 'never' 'daily' 'weekly' 'everyOtherWeek' 'twiceAMonth' 'every4Weeks' 'monthly' 'everyOtherMonth' 'every3Months' 'every4Months' 'twiceAYear' 'yearly' 'everyOtherYear')}}\",\n \"id\": \"{{faker 'string.uuid'}}\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\"\n }\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested scheduled transactions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d4854706-e54b-4036-9e9b-e7ed581a0781", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No scheduled transactions were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78619b75-4daf-4ede-8c21-62c9545ada02", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3b304da3-bd56-42cc-87ee-f2b4491b434a", "documentation": "Single scheduled transaction", "method": "get", "endpoint": "budgets/:budget_id/scheduled_transactions/:scheduled_transaction_id", "responses": [ { "uuid": "9a0ed80e-7693-4973-ae90-ce6525aab45c", "body": "{\n \"data\": {\n \"scheduled_transaction\": {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"date_first\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"date_next\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"frequency\": \"{{oneOf (array 'never' 'daily' 'weekly' 'everyOtherWeek' 'twiceAMonth' 'every4Weeks' 'monthly' 'everyOtherMonth' 'every3Months' 'every4Months' 'twiceAYear' 'yearly' 'everyOtherYear')}}\",\n \"id\": \"{{faker 'string.uuid'}}\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested Scheduled Transaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ac936e3-3280-4be6-a25a-0faf7501a7d9", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The scheduled transaction was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6f16203d-e667-474d-b2bc-ef372bba5205", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27271604-9e95-4f84-aa15-68032caab822", "documentation": "Budget Settings", "method": "get", "endpoint": "budgets/:budget_id/settings", "responses": [ { "uuid": "3de0fcee-680a-4594-8c9b-2216d3bebdd4", "body": "{\n \"data\": {\n \"settings\": {\n \"currency_format\": {\n \"currency_symbol\": \"\",\n \"decimal_digits\": {{faker 'number.int' max=99999}},\n \"decimal_separator\": \"\",\n \"display_symbol\": {{faker 'datatype.boolean'}},\n \"example_format\": \"\",\n \"group_separator\": \"\",\n \"iso_code\": \"\",\n \"symbol_first\": {{faker 'datatype.boolean'}}\n },\n \"date_format\": {\n \"format\": \"\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested budget settings", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b64886ea-6bba-4de3-8b19-a6ec61b1d309", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The specified Budget was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b8f0dacd-daad-470f-9d82-fd2e2890863c", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8f1031e1-5c9c-4c49-94e7-ae0fe2846182", "documentation": "List transactions", "method": "get", "endpoint": "budgets/:budget_id/transactions", "responses": [ { "uuid": "6b43131f-adb4-4bd8-a443-1f32d0509da5", "body": "{\n \"data\": {\n \"server_knowledge\": {{faker 'number.int' max=99999}},\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The list of requested transactions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47be3c7c-7765-4c83-8641-fd3d434ad6d6", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f46b2a9-04d6-4626-bb28-bf876847b4e1", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "No transactions were found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63f55137-8b3c-4723-800b-41dc90cc583f", "documentation": "Update multiple transactions", "method": "patch", "endpoint": "budgets/:budget_id/transactions", "responses": [ { "uuid": "b4d7fe64-03c9-4ff0-a348-1f083bbe64f0", "body": "{\n \"data\": {\n \"duplicate_import_ids\": [\n \"\"\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}},\n \"transaction\": {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n },\n \"transaction_ids\": [\n \"\"\n ],\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 209, "label": "The transactions were successfully updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1f02fbae-08ae-48c7-a6eb-0c7ee46020b7", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d26034e9-c5e1-4981-97d1-0f4a7621fb11", "documentation": "Create a single transaction or multiple transactions", "method": "post", "endpoint": "budgets/:budget_id/transactions", "responses": [ { "uuid": "f50c11c1-95b0-4523-bdc0-5be1b3e75054", "body": "{\n \"data\": {\n \"duplicate_import_ids\": [\n \"\"\n ],\n \"server_knowledge\": {{faker 'number.int' max=99999}},\n \"transaction\": {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n },\n \"transaction_ids\": [\n \"\"\n ],\n \"transactions\": [\n {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 201, "label": "The transaction or transactions were successfully created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "afe385b7-649b-415c-a1e2-3dab5bb63c45", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "54ae98af-5367-4f70-8182-799c3925fad7", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 409, "label": "A transaction on the same account with the same `import_id` already exists.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0661949c-159f-4b7e-b1a4-4a0f2400f400", "documentation": "Bulk create transactions", "method": "post", "endpoint": "budgets/:budget_id/transactions/bulk", "responses": [ { "uuid": "1cc8475d-0df9-48f7-b932-e51bf9de627b", "body": "{\n \"data\": {\n \"bulk\": {\n \"duplicate_import_ids\": [\n \"\"\n ],\n \"transaction_ids\": [\n \"\"\n ]\n }\n }\n}", "latency": 0, "statusCode": 201, "label": "The bulk request was processed successfully", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3e7cb9c5-a0b6-4de7-b4d7-17727e352d95", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d2a33498-9413-4d0b-a41b-d100f0f0dbfe", "documentation": "Import transactions", "method": "post", "endpoint": "budgets/:budget_id/transactions/import", "responses": [ { "uuid": "6d90401c-f65b-4619-a4ff-c02b45020c8c", "body": "{\n \"data\": {\n \"transaction_ids\": [\n \"\"\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The request was successful but there were no transactions to import", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3a3b43f8-48e0-4934-99e2-d70a1b932f8c", "body": "{\n \"data\": {\n \"transaction_ids\": [\n \"\"\n ]\n }\n}", "latency": 0, "statusCode": 201, "label": "One or more transactions were imported successfully", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4fa10c81-b38e-4c35-b53b-54fbd35fbbe7", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1a43d11f-caf4-4a3f-a7b1-8e3a34976dd2", "documentation": "Single transaction", "method": "get", "endpoint": "budgets/:budget_id/transactions/:transaction_id", "responses": [ { "uuid": "4c44bd6b-d84e-4434-a74e-67851e7263f0", "body": "{\n \"data\": {\n \"transaction\": {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The requested transaction", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6e1a29d3-3053-4fa3-9d70-caba6efb3b7f", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 404, "label": "The transaction was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d1d46181-28fb-4251-b0ab-a26df8a639e1", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7b01393d-5bda-48f8-b6f3-1802bdba45b1", "documentation": "Updates an existing transaction", "method": "put", "endpoint": "budgets/:budget_id/transactions/:transaction_id", "responses": [ { "uuid": "8df8dbcf-fb0d-4f7e-904b-9df674e9efa4", "body": "{\n \"data\": {\n \"transaction\": {\n \"account_id\": \"{{faker 'string.uuid'}}\",\n \"amount\": {{faker 'number.int' max=99999}},\n \"approved\": {{faker 'datatype.boolean'}},\n \"category_id\": \"{{faker 'string.uuid'}}\",\n \"cleared\": \"{{oneOf (array 'cleared' 'uncleared' 'reconciled')}}\",\n \"date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"deleted\": {{faker 'datatype.boolean'}},\n \"flag_color\": \"{{oneOf (array 'red' 'orange' 'yellow' 'green' 'blue' 'purple' '')}}\",\n \"id\": \"\",\n \"import_id\": \"\",\n \"matched_transaction_id\": \"\",\n \"memo\": \"\",\n \"payee_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_account_id\": \"{{faker 'string.uuid'}}\",\n \"transfer_transaction_id\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The transaction was successfully updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b0cf40b6-57b1-418e-a1e5-30571df5d1c5", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 400, "label": "The request could not be understood due to malformed syntax or validation error(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fdd8f5a0-6783-4f12-a74e-594c4f99617e", "documentation": "User info", "method": "get", "endpoint": "user", "responses": [ { "uuid": "d945ac58-3203-49b3-85f7-4cffdf409a99", "body": "{\n \"data\": {\n \"user\": {\n \"id\": \"{{faker 'string.uuid'}}\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The user info", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eaebd81d-ada0-4c25-9e95-f56d7159be3b", "body": "{\n \"error\": {\n \"detail\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "An error occurred", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "8085cb94-40d2-4fe9-b4e5-d7fec6344706" }, { "type": "route", "uuid": "e2c2a0b4-a275-47a9-b7bd-9eefc44b3c4a" }, { "type": "route", "uuid": "20e23037-c680-4959-aab7-a4a9ec2729ee" }, { "type": "route", "uuid": "41aae067-9e89-4b57-bf25-5f29fea249b5" }, { "type": "route", "uuid": "bb6c992d-758e-44b1-89a1-1fe44f10944e" }, { "type": "route", "uuid": "864eee0f-4ad2-41e8-bf3b-a88f161d3be3" }, { "type": "route", "uuid": "b94a5cf2-c23a-4cfe-b161-193c2b6d9dd5" }, { "type": "route", "uuid": "a3051418-9020-464e-b8be-b44cd090c673" }, { "type": "route", "uuid": "3d56b12a-34b0-4634-91e4-d7b3660e7a18" }, { "type": "route", "uuid": "7d8af00e-176d-43cc-a927-6ba66986680e" }, { "type": "route", "uuid": "59175bd8-cc49-4144-b239-cd732cb5f4de" }, { "type": "route", "uuid": "ca98e472-2242-4c38-9c9f-a8414ecad3d9" }, { "type": "route", "uuid": "69708e6a-6ada-4bf6-b9e7-3e36cb9e49cb" }, { "type": "route", "uuid": "825f7124-f3d5-44a7-bfb1-d468d39315a2" }, { "type": "route", "uuid": "9a33cc46-99ab-46f9-a981-c3fed23187a2" }, { "type": "route", "uuid": "6cf71874-b80f-4849-ac27-82055eec8636" }, { "type": "route", "uuid": "0f8ee612-a8f4-4b88-83e8-193156c7137c" }, { "type": "route", "uuid": "849f72a2-3e94-48b7-b8f7-6b7b605faddb" }, { "type": "route", "uuid": "c512a5ab-d253-43f8-aa1b-6389febcf612" }, { "type": "route", "uuid": "fcbf0fff-7fb0-417c-9589-91c13708e68e" }, { "type": "route", "uuid": "3b304da3-bd56-42cc-87ee-f2b4491b434a" }, { "type": "route", "uuid": "27271604-9e95-4f84-aa15-68032caab822" }, { "type": "route", "uuid": "8f1031e1-5c9c-4c49-94e7-ae0fe2846182" }, { "type": "route", "uuid": "63f55137-8b3c-4723-800b-41dc90cc583f" }, { "type": "route", "uuid": "d26034e9-c5e1-4981-97d1-0f4a7621fb11" }, { "type": "route", "uuid": "0661949c-159f-4b7e-b1a4-4a0f2400f400" }, { "type": "route", "uuid": "d2a33498-9413-4d0b-a41b-d100f0f0dbfe" }, { "type": "route", "uuid": "1a43d11f-caf4-4a3f-a7b1-8e3a34976dd2" }, { "type": "route", "uuid": "7b01393d-5bda-48f8-b6f3-1802bdba45b1" }, { "type": "route", "uuid": "fdd8f5a0-6783-4f12-a74e-594c4f99617e" } ] }