{ "uuid": "322b8e11-4bb7-43ec-b284-b31fd25f3e68", "lastMigration": 29, "name": "PocketSmith", "endpointPrefix": "v2", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "51ee8051-a3d1-42c4-af7a-34a972947986", "documentation": "Delete account", "method": "delete", "endpoint": "accounts/:id", "responses": [ { "uuid": "3275aed8-979c-431c-a587-6a82bd681737", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "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": "16375155-b161-464a-a9c1-868dcf40aa08", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "8c98420f-e896-45e8-a1aa-29ac12ef02e0", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "59a0d60b-0b78-4e6b-9e20-0875b9a29dbe", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "9c04397c-cc4c-4b63-b771-c05fba812782", "documentation": "Get account", "method": "get", "endpoint": "accounts/:id", "responses": [ { "uuid": "e59c17ea-30e2-4ae5-a65b-0990646e8689", "body": "{\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "501e1d66-b664-4075-83d4-78aedd24920a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "6fee7660-cbe5-4ca0-ad9e-f06688d8576b", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd2c3418-db03-447b-b65d-ba17158ac92c", "documentation": "Update account", "method": "put", "endpoint": "accounts/:id", "responses": [ { "uuid": "e4f81042-7fef-4641-a25c-f1b64ce5af6f", "body": "{\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "546d2528-537d-46cc-9e06-2d01005f0e02", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "acd780c2-fbea-4c5a-897f-3fe0716612bb", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "2b900643-70ae-4f06-bb0b-c88b4ffcf90a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "c7bc39c0-0a4c-44fa-9733-ba613c1b1b3b", "documentation": "List transactions in account", "method": "get", "endpoint": "accounts/:id/transactions", "responses": [ { "uuid": "617464b5-5bb8-46f9-bb51-6a86f8b3ea43", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "3de55631-b487-4646-91a4-575c687fb7c4", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "c9f391c3-aa04-429c-9cab-8b9712b6fb6f", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "27b1b5ac-230d-4b74-8f8c-b667a1e3115a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c0c274ea-3113-4e16-a750-2f07822e9974", "documentation": "Delete attachment", "method": "delete", "endpoint": "attachments/:id", "responses": [ { "uuid": "4e337abd-720e-41d1-bf11-c8fd41f10ea9", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "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": "0a37c15a-e958-4fee-8461-4783e969129e", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "b4686706-e00c-4ba2-870d-5a582982a356", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e6ea2cfe-6bd1-4aca-ba74-fc0b96fa2d23", "documentation": "Get attachment", "method": "get", "endpoint": "attachments/:id", "responses": [ { "uuid": "0778eed6-2324-4305-88f2-4007b9f50e7a", "body": "{\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "09d3cfd6-3c4a-4c52-a340-56818ab46028", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "55eb7064-1b98-4a35-b779-e23ee9f657be", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a4857bc9-5fac-4c8b-893b-1b288aeedf79", "documentation": "Update attachment", "method": "put", "endpoint": "attachments/:id", "responses": [ { "uuid": "62c746c2-a640-4b2a-9213-3e4d44d64d5e", "body": "{\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "51ed6b2e-0631-4645-aa22-1bd79e9dcc9d", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "ca8c007c-e6e3-469a-918e-a0525c42fc18", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9844e8ab-8fcc-4b3b-a8c7-3797edef84e8", "documentation": "Delete category", "method": "delete", "endpoint": "categories/:id", "responses": [ { "uuid": "f6963de2-7802-41a0-a125-9488c2266e1d", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "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": "61d0b266-5070-46a4-b3f6-ad15e12892ff", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "9132918a-291f-430a-8076-91319e8050e6", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6dab3f36-ed41-444d-a65d-8cc4db96578d", "documentation": "Get category", "method": "get", "endpoint": "categories/:id", "responses": [ { "uuid": "ffad1902-9ad6-4bc6-9b5a-7506b260bd2a", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "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": "2f0be974-8d29-4b40-ba13-432a1ab14f75", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "34d50caa-78ed-4f01-8322-4db66e3549ae", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "17d91338-9396-4850-8b54-23cb7ca63c16", "documentation": "Update category", "method": "put", "endpoint": "categories/:id", "responses": [ { "uuid": "30820a5e-c1ac-4b2f-8ac1-fba1dfe226a5", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "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": "54b6d799-f561-41f6-886e-0d79306e8214", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "137cd3d9-a5f4-4e05-97b3-3c4eaa549802", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "c249ece2-1958-49fa-9e3c-cd7069c49d22", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "4807f50d-d431-475d-a013-d769c0613909", "documentation": "Create category rule in category", "method": "post", "endpoint": "categories/:id/category_rules", "responses": [ { "uuid": "64b52cf5-68cc-4895-9ecd-12131dcfd3cb", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "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": "46d97eae-b0fd-4756-b37d-ade0b476b251", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "87b724f2-1bd5-48fe-afb9-a81640fc0cff", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "56d554f4-c70b-4896-9382-fec884205a7e", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "f0aa5dc8-f6f9-4620-9585-a17b7eaffe42", "documentation": "Delete institution", "method": "delete", "endpoint": "institutions/:id", "responses": [ { "uuid": "572c8ee2-0000-4eba-8af3-66cf692cab4f", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "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": "9d90bd90-b85d-4139-a778-f81c85582a34", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "2cb89074-0c13-4196-8420-8f946c3fe51a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "14a89441-bd70-4ad3-a382-46ce858baca8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "ac3be522-bc5e-49f3-aa72-169b5234f63a", "documentation": "Get institution", "method": "get", "endpoint": "institutions/:id", "responses": [ { "uuid": "d5c4bdd6-abc5-48c0-8445-e07ae6c73cbd", "body": "{\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "99fdc88f-9359-4533-8545-15e35fe4adbf", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "9bbbeaee-3c38-4c59-930f-5bfc36ea9213", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "61e8e218-9530-4269-8d8a-3bcd95284e89", "documentation": "Update institution", "method": "put", "endpoint": "institutions/:id", "responses": [ { "uuid": "99925ba0-d5a0-41c1-ac0d-2b4ea1fb675d", "body": "{\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "deb4d203-7316-44d2-84cf-d65a909efd2a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "354d026b-1562-4f84-a42d-80483df66c8d", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "6d7f6881-3bb4-4a0e-a7cb-7268ef87b0e0", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "96a87895-390d-4aa7-92b3-f8eec192151a", "documentation": "List accounts in institution", "method": "get", "endpoint": "institutions/:id/accounts", "responses": [ { "uuid": "6e1cba5d-c89b-4012-89e5-0b261b03f2a8", "body": "[\n {\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "fec0328e-8ee7-4d64-b4e0-1265402b606c", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "88e2275e-10d8-4c1a-a3bc-5c7567201e3e", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "921e90be-46d6-46cc-9a1a-63a22bc1af4c", "documentation": "Get the authorised user", "method": "get", "endpoint": "me", "responses": [ { "uuid": "6678e963-e4dc-4788-b3f8-a5c8a6926912", "body": "{\n \"always_show_base_currency\": {{faker 'datatype.boolean'}},\n \"avatar_url\": \"https://image.com/image.png\",\n \"base_currency_code\": \"NZD\",\n \"beta_user\": true,\n \"created_at\": \"2015-07-02T22:14:49Z\",\n \"email\": \"user69@sample.com\",\n \"id\": 42,\n \"last_activity_at\": \"2015-07-02T22:14:49Z\",\n \"last_logged_in_at\": \"2015-07-02T22:14:49Z\",\n \"login\": \"sampleuser69\",\n \"name\": \"Foo Barrington\",\n \"time_zone\": \"Auckland\",\n \"updated_at\": \"2015-07-02T22:14:49Z\",\n \"using_multiple_currencies\": true,\n \"week_start_day\": 1\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c8adf43f-1121-4120-a896-043e98eb09fe", "documentation": "Get transaction account", "method": "get", "endpoint": "transaction_accounts/:id", "responses": [ { "uuid": "28e87f7b-361e-45b4-b14c-3385d9f1b30c", "body": "{\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "a06c4d1f-3fc1-46ea-a84f-243f36794701", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "9903c474-fbf0-4b66-a6b3-4eab36781b43", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a78184d7-1890-4835-9a81-6a081ebda0dc", "documentation": "Update transaction account", "method": "put", "endpoint": "transaction_accounts/:id", "responses": [ { "uuid": "94cac42d-3fe4-46aa-be4f-b3f27eb1ccf3", "body": "{\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "af72d4a8-0fa4-4d03-a231-70f0ead7fc81", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "fbd1043c-eda2-4cfe-959a-67585a3b1c1b", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dfc92525-df3f-4c24-a8c9-470023082d28", "documentation": "List transactions in transaction account", "method": "get", "endpoint": "transaction_accounts/:id/transactions", "responses": [ { "uuid": "e8f6b4c6-a5ca-4e4e-97cf-6826e096b535", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "d7e1786e-18ec-4b7b-8e56-2c3a08787827", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "49eff615-1b1d-456c-9698-e59a6f0c150f", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "ead34755-0e84-4223-99ab-ea86dba89bc6", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "40d7cbaa-e236-4ac5-be80-efa5a396495c", "documentation": "Create a transaction in transaction account", "method": "post", "endpoint": "transaction_accounts/:id/transactions", "responses": [ { "uuid": "b34ebd32-81c4-4409-abb0-6ddf7a14913b", "body": "\"\"", "latency": 0, "statusCode": 201, "label": "Success", "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": "330daa0d-19fd-49f3-b99d-5950f8be3cb0", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "e4587be7-784b-4f6e-8f5c-ec5801ae09da", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "9295b31d-e445-478d-8b5d-d3f7d010df4d", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "61429b4a-d778-4f46-9e4e-78f68457bf66", "documentation": "Get a transaction", "method": "get", "endpoint": "transactions/:id", "responses": [ { "uuid": "565518cc-7da2-447c-aa39-1f1911719bcf", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "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": "486446cc-b625-41ea-8b91-b570347d0964", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "f286f279-6651-4f82-8b5b-8a319d1c1bde", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "96bc9a8d-9f95-43c6-9b0a-bf281c49c001", "documentation": "Update a transaction", "method": "put", "endpoint": "transactions/:id", "responses": [ { "uuid": "3d3eec20-cff3-4e39-9c10-2f86a87fbbac", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "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": "f73fddc1-6a7c-4a2b-8f45-40be949ab1e8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "600e3e25-9698-4d58-bcbd-c6d2de02e1a5", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "79776f5a-d569-4504-850d-402df10a2be5", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "d04a5043-59ee-4180-b4f9-47613cf00b67", "documentation": "List attachments in transaction", "method": "get", "endpoint": "transactions/:id/attachments", "responses": [ { "uuid": "6ae4d69e-3088-4990-88f6-e08be38c63f0", "body": "[\n {\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "9007560c-d811-4c0b-91b6-60876cb187ba", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "c15ce6cb-e02c-4c31-93c9-3e52253e4b7c", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ea821e6b-bc7a-41a4-ac0f-8b5c3bff1517", "documentation": "Assigns attachment to transaction", "method": "post", "endpoint": "transactions/:id/attachments", "responses": [ { "uuid": "aefa8be5-05b2-4dfe-95e5-8e47d88eb0c2", "body": "{\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n}", "latency": 0, "statusCode": 201, "label": "Success", "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": "ae303d80-6902-4de0-b48c-b3d05dfc3967", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "ab5fd610-9f36-45f0-9055-e71dae3b1f7e", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "5f059f84-e20c-4c32-8a69-86d5217bbe8a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "bd316f76-13d7-46ae-a504-d9b836b98659", "documentation": "Unassigns attachment in transaction", "method": "delete", "endpoint": "transactions/:transaction_id/attachments/:attachment_id", "responses": [ { "uuid": "4194185e-d6cc-4591-97f5-68e72dafcfc0", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "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": "c9d63a3b-fbd1-455b-af73-3f9641703cb8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "ecb9614b-1e96-43b3-8e89-cbb3e7a8ffb7", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a423adb9-4b28-458f-bf7c-d8f4e39c7fa4", "documentation": "Get user", "method": "get", "endpoint": "users/:id", "responses": [ { "uuid": "3733ef31-3175-4002-9899-4ac79def0ab3", "body": "{\n \"always_show_base_currency\": {{faker 'datatype.boolean'}},\n \"avatar_url\": \"https://image.com/image.png\",\n \"base_currency_code\": \"NZD\",\n \"beta_user\": true,\n \"created_at\": \"2015-07-02T22:14:49Z\",\n \"email\": \"user69@sample.com\",\n \"id\": 42,\n \"last_activity_at\": \"2015-07-02T22:14:49Z\",\n \"last_logged_in_at\": \"2015-07-02T22:14:49Z\",\n \"login\": \"sampleuser69\",\n \"name\": \"Foo Barrington\",\n \"time_zone\": \"Auckland\",\n \"updated_at\": \"2015-07-02T22:14:49Z\",\n \"using_multiple_currencies\": true,\n \"week_start_day\": 1\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "b3e512a3-7c99-40ee-bcb8-dff7c5ec0212", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "20321168-b695-4896-b938-fcc9c9ccdda3", "documentation": "Update user", "method": "put", "endpoint": "users/:id", "responses": [ { "uuid": "c5dbf91f-2d1d-4a91-83a1-e70d3434a510", "body": "{\n \"always_show_base_currency\": {{faker 'datatype.boolean'}},\n \"avatar_url\": \"https://image.com/image.png\",\n \"base_currency_code\": \"NZD\",\n \"beta_user\": true,\n \"created_at\": \"2015-07-02T22:14:49Z\",\n \"email\": \"user69@sample.com\",\n \"id\": 42,\n \"last_activity_at\": \"2015-07-02T22:14:49Z\",\n \"last_logged_in_at\": \"2015-07-02T22:14:49Z\",\n \"login\": \"sampleuser69\",\n \"name\": \"Foo Barrington\",\n \"time_zone\": \"Auckland\",\n \"updated_at\": \"2015-07-02T22:14:49Z\",\n \"using_multiple_currencies\": true,\n \"week_start_day\": 1\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "854e050b-bfe2-4108-b831-cd5b4bc0e319", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "62f784be-2672-45b2-acd8-2c86ee622785", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "a3805519-8df1-42c7-b013-a7bc1f20edbb", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "66972fb5-78d0-4a69-be43-19bd63b3622d", "documentation": "List accounts in user", "method": "get", "endpoint": "users/:id/accounts", "responses": [ { "uuid": "b3ef1032-beda-44ff-8789-5a27266cabcc", "body": "[\n {\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "769ba25e-1e71-4cb4-985e-b8068540fa9f", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "889442c3-b569-4ebf-bf74-46a9e37e8d5f", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0f0f8128-f9e0-47b6-a6d1-871014705b6c", "documentation": "Create an account in user", "method": "post", "endpoint": "users/:id/accounts", "responses": [ { "uuid": "1186f3bf-9ea7-4a6d-b9c9-6bafb9a2e69b", "body": "{\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n}", "latency": 0, "statusCode": 201, "label": "Success", "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": "503a7693-817d-4494-a8ce-763cb4c23bcd", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "a943b092-1f71-49ee-8fde-ebbd979b521a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "30920556-a11b-4c21-8b6b-20a13099a2cf", "documentation": "Update the display order of accounts in user", "method": "put", "endpoint": "users/:id/accounts", "responses": [ { "uuid": "6729d1ae-10a2-4b88-b9bd-0f1555cc7b19", "body": "[\n {\n \"created_at\": \"2018-02-27\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 42,\n \"is_net_worth\": {{faker 'datatype.boolean'}},\n \"primary_scenario\": {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"primary_transaction_account\": {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n },\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"scenarios\": [\n {\n \"achieve_date\": \"\",\n \"closing_balance\": 5431.2,\n \"closing_balance_date\": \"2018-02-27\",\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"current_balance\": 5431.2,\n \"current_balance_date\": \"2018-02-27\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 8146.8,\n \"description\": \"\",\n \"id\": 42,\n \"interest_rate\": 2.4,\n \"interest_rate_repeat_id\": 4,\n \"maximum-value\": 42,\n \"minimum-value\": 4000,\n \"safe_balance\": 5431.2,\n \"safe_balance_in_base_currency\": 8146.8,\n \"starting_balance\": 2450,\n \"starting_balance_date\": \"2018-02-27\",\n \"title\": \"Wedding\",\n \"type\": \"{{oneOf (array 'no-interest' 'savings' 'debt')}}\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n ],\n \"title\": \"Bank of Foo\",\n \"transaction_accounts\": [\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n ],\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2018-02-27\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "6065a7e7-bd01-40e2-ae56-1bfcd61087d8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "1318b42e-8e6b-440d-acb2-8453247f08c8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "d1ddd305-6387-4471-977c-7e294a1e22f4", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8fa725ac-1908-4974-95fa-055455b8df2e", "documentation": "Lists attachments in user", "method": "get", "endpoint": "users/:id/attachments", "responses": [ { "uuid": "5e52849f-0cb4-40b3-b26f-3e92ede95bce", "body": "[\n {\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "b0d900dd-726e-43b8-9e4e-0ae09e9a02ed", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "ae2e84a3-17f2-48e1-b00c-5ab1be1e2dfa", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2545b272-9747-4fd2-9a45-f037d0f29757", "documentation": "Create attachment in user", "method": "post", "endpoint": "users/:id/attachments", "responses": [ { "uuid": "97c8d4d2-d287-45f7-ba96-b5ee71647279", "body": "{\n \"content_type\": \"image/png\",\n \"content_type_meta\": {\n \"description\": \"PNG image\",\n \"extension\": \"png\",\n \"title\": \"PNG\"\n },\n \"created_at\": \"2015-08-16T02:17:02Z\",\n \"file_name\": \"taxi.png\",\n \"id\": 1438154,\n \"original_url\": \"https://image.com/image.png\",\n \"title\": \"Invoice for taxi\",\n \"type\": \"image\",\n \"updated_at\": \"2015-08-16T02:17:02Z\",\n \"variants\": {\n \"large_url\": \"https://image.com/image.png\",\n \"thumb_url\": \"https://image.com/image.png\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "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": "b666aaf5-7d8b-4de9-b904-2c3d4e590dfb", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "0c56ffce-ecdd-4f53-9b69-f93b6cbae6d9", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "cd10ee77-37d4-4142-ae03-e37d87618816", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "27da7f51-6122-4c1d-a34c-56293f96c51b", "documentation": "List budget for user", "method": "get", "endpoint": "users/:id/budget", "responses": [ { "uuid": "e197c7c8-feca-409a-a354-c5201d3329b7", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9b3e3dc9-a2ce-4548-86fd-fd4943578780", "documentation": "Get budget summary for user", "method": "get", "endpoint": "users/:id/budget_summary", "responses": [ { "uuid": "b23694c8-cc5b-4136-8b1e-0f7b88893cc0", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "526e9bd1-ee65-4ec7-99fa-661c1f7758be", "documentation": "List categories in user", "method": "get", "endpoint": "users/:id/categories", "responses": [ { "uuid": "411e11b2-ceea-4abc-a9e6-a8cd3d5f2f2a", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "e14b0540-e1e6-4df3-ad81-5490d82650e4", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "0e0b3fc3-c2e0-4f6b-8c98-45b2c92150c2", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ce14b8e8-791f-4f09-ade0-08cb04836c02", "documentation": "Create category in user", "method": "post", "endpoint": "users/:id/categories", "responses": [ { "uuid": "d675c59d-5cdc-4411-af16-9fe17bbd1b1e", "body": "\"\"", "latency": 0, "statusCode": 201, "label": "Success", "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": "d78e49ea-fe8d-439e-a74d-997a9d0fb414", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "76ceccbd-03cd-4418-8544-ead416b4c3b8", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "9abcef54-39b1-42c9-bf94-611cc1ef4d1f", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "c5f19ff4-a98c-42a9-8ac5-e60d7a6f42cf", "documentation": "List category rules in user", "method": "get", "endpoint": "users/:id/category_rules", "responses": [ { "uuid": "15bb6bee-dcac-43f3-888f-2c9286a81773", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "e5fc436d-e29a-4a5e-9175-9642988ea9d7", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "c964581a-222a-487d-aa7e-748cf4b330e6", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "879c9ccc-66a2-4a06-93c5-49b3cc223f6b", "documentation": "List institutions in user", "method": "get", "endpoint": "users/:id/institutions", "responses": [ { "uuid": "89666b4c-1f4f-46c1-a459-367fb77af040", "body": "[\n {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "5df61f80-b15a-4e62-a275-e4a7dce7e39a", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "8c0b8fb8-3e7c-4d08-9cec-4213f58f0ace", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "21e4e89b-57aa-429d-a383-692d1e9a13ae", "documentation": "Create institution in user", "method": "post", "endpoint": "users/:id/institutions", "responses": [ { "uuid": "d1f26e9a-20d2-404f-a222-cde83d3c8def", "body": "{\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n}", "latency": 0, "statusCode": 201, "label": "Success", "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": "d36eda2b-dd93-423e-bb80-dd6a6c798410", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "c8e02ed3-6435-4f8d-b4ec-f503265f3702", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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": "219d1bd7-8fb9-4d62-ae2b-845f7679ca51", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "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": "374ba07c-1688-4534-b10e-070829aeccfd", "documentation": "List transaction accounts in user", "method": "get", "endpoint": "users/:id/transaction_accounts", "responses": [ { "uuid": "ef46bb5a-a9b1-4884-8f3b-3918bccfc435", "body": "[\n {\n \"created_at\": \"2015-03-17T02:42:10Z\",\n \"currency_code\": \"NZD\",\n \"current_balance\": 2694.39,\n \"current_balance_date\": \"2015-07-03\",\n \"current_balance_exchange_rate\": 1.5,\n \"current_balance_in_base_currency\": 4041.59,\n \"id\": 96027,\n \"institution\": {\n \"created_at\": \"2015-04-21T22:42:22Z\",\n \"currency_code\": \"NZD\",\n \"id\": 57,\n \"title\": \"Bank of Foo\",\n \"updated_at\": \"2015-04-21T22:42:22Z\"\n },\n \"name\": \"Sample Credit\",\n \"number\": \"ASBCRD44554\",\n \"safe_balance\": 2694.39,\n \"safe_balance_in_base_currency\": 4041.59,\n \"starting_balance\": 3547.45,\n \"starting_balance_date\": \"2015-03-15\",\n \"type\": \"{{oneOf (array 'bank' 'credits' 'cash' 'stocks' 'mortgage' 'loans' 'vehicle' 'property' 'insurance' 'other_liability')}}\",\n \"updated_at\": \"2015-07-02T22:14:49Z\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "f9295262-1ae5-432a-8812-ec18108de542", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "f26da7b8-63f9-468f-94fe-0693d7468e5b", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fabbc1d5-dca1-48e9-9742-6579a261d06d", "documentation": "List transactions in user", "method": "get", "endpoint": "users/:id/transactions", "responses": [ { "uuid": "097f0d38-678e-4557-8f35-4da06c025edd", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "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": "fb4638fd-0ec1-4fb9-b618-7111c3c6aa56", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "ae651cac-51dc-4a61-b6ae-1ca0119980a7", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 403, "label": "Not Allowed", "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": "a2a4e2c9-41af-4fbf-9fed-4977cf963e94", "body": "{\n \"error\": \"A message describing the error that occurred.\"\n}", "latency": 0, "statusCode": 404, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "94568a90-53c4-4b29-a5b7-6a26229d0651", "documentation": "Get trend analysis for user", "method": "get", "endpoint": "users/:id/trend_analysis", "responses": [ { "uuid": "1e6fcbd3-40da-4e0d-b444-df6b6e2fa28a", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "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": "51ee8051-a3d1-42c4-af7a-34a972947986" }, { "type": "route", "uuid": "9c04397c-cc4c-4b63-b771-c05fba812782" }, { "type": "route", "uuid": "dd2c3418-db03-447b-b65d-ba17158ac92c" }, { "type": "route", "uuid": "c7bc39c0-0a4c-44fa-9733-ba613c1b1b3b" }, { "type": "route", "uuid": "c0c274ea-3113-4e16-a750-2f07822e9974" }, { "type": "route", "uuid": "e6ea2cfe-6bd1-4aca-ba74-fc0b96fa2d23" }, { "type": "route", "uuid": "a4857bc9-5fac-4c8b-893b-1b288aeedf79" }, { "type": "route", "uuid": "9844e8ab-8fcc-4b3b-a8c7-3797edef84e8" }, { "type": "route", "uuid": "6dab3f36-ed41-444d-a65d-8cc4db96578d" }, { "type": "route", "uuid": "17d91338-9396-4850-8b54-23cb7ca63c16" }, { "type": "route", "uuid": "4807f50d-d431-475d-a013-d769c0613909" }, { "type": "route", "uuid": "f0aa5dc8-f6f9-4620-9585-a17b7eaffe42" }, { "type": "route", "uuid": "ac3be522-bc5e-49f3-aa72-169b5234f63a" }, { "type": "route", "uuid": "61e8e218-9530-4269-8d8a-3bcd95284e89" }, { "type": "route", "uuid": "96a87895-390d-4aa7-92b3-f8eec192151a" }, { "type": "route", "uuid": "921e90be-46d6-46cc-9a1a-63a22bc1af4c" }, { "type": "route", "uuid": "c8adf43f-1121-4120-a896-043e98eb09fe" }, { "type": "route", "uuid": "a78184d7-1890-4835-9a81-6a081ebda0dc" }, { "type": "route", "uuid": "dfc92525-df3f-4c24-a8c9-470023082d28" }, { "type": "route", "uuid": "40d7cbaa-e236-4ac5-be80-efa5a396495c" }, { "type": "route", "uuid": "61429b4a-d778-4f46-9e4e-78f68457bf66" }, { "type": "route", "uuid": "96bc9a8d-9f95-43c6-9b0a-bf281c49c001" }, { "type": "route", "uuid": "d04a5043-59ee-4180-b4f9-47613cf00b67" }, { "type": "route", "uuid": "ea821e6b-bc7a-41a4-ac0f-8b5c3bff1517" }, { "type": "route", "uuid": "bd316f76-13d7-46ae-a504-d9b836b98659" }, { "type": "route", "uuid": "a423adb9-4b28-458f-bf7c-d8f4e39c7fa4" }, { "type": "route", "uuid": "20321168-b695-4896-b938-fcc9c9ccdda3" }, { "type": "route", "uuid": "66972fb5-78d0-4a69-be43-19bd63b3622d" }, { "type": "route", "uuid": "0f0f8128-f9e0-47b6-a6d1-871014705b6c" }, { "type": "route", "uuid": "30920556-a11b-4c21-8b6b-20a13099a2cf" }, { "type": "route", "uuid": "8fa725ac-1908-4974-95fa-055455b8df2e" }, { "type": "route", "uuid": "2545b272-9747-4fd2-9a45-f037d0f29757" }, { "type": "route", "uuid": "27da7f51-6122-4c1d-a34c-56293f96c51b" }, { "type": "route", "uuid": "9b3e3dc9-a2ce-4548-86fd-fd4943578780" }, { "type": "route", "uuid": "526e9bd1-ee65-4ec7-99fa-661c1f7758be" }, { "type": "route", "uuid": "ce14b8e8-791f-4f09-ade0-08cb04836c02" }, { "type": "route", "uuid": "c5f19ff4-a98c-42a9-8ac5-e60d7a6f42cf" }, { "type": "route", "uuid": "879c9ccc-66a2-4a06-93c5-49b3cc223f6b" }, { "type": "route", "uuid": "21e4e89b-57aa-429d-a383-692d1e9a13ae" }, { "type": "route", "uuid": "374ba07c-1688-4534-b10e-070829aeccfd" }, { "type": "route", "uuid": "fabbc1d5-dca1-48e9-9742-6579a261d06d" }, { "type": "route", "uuid": "94568a90-53c4-4b29-a5b7-6a26229d0651" } ] }