Reckon One API v1

API change history

A new generation, modular cloud accounting solution that scales with your business – perfect for startups.

02 Core > Budgets By ID

This endpoint allows you to retrieve additional data for a specific budget by specifying an ID in the https call.

Try it

Request

Request URL

Request parameters

  • string
  • string

Request headers

  • string
    Subscription key which provides access to this API. Found in your Profile.
  • string
    OAuth 2.0 access token obtained from IdentityServer. Supported grant types: Implicit.

Request body

Responses

200 OK

This is the response you will get if the call is successful

Representations

[
  {
    "Id": "01dc34ed-f926-48ba-8b3f-4b0a14e2d390",
    "AccountName": "My income 2",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "My income 2",
    "Total": 0.0
  },
  {
    "Id": "04fce194-8106-4f50-b3b5-9a04b74cfc55",
    "AccountName": "test_APCccountName_peter_C2FE7DF0-EB8A-40F3-A237-5383DFD965F4",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_APCccountName_peter_C2FE7DF0-EB8A-40F3-A237-5383DFD965F4",
    "Total": 0.0
  },
  {
    "Id": "05e5a747-3b37-4422-a747-343783fe90ec",
    "AccountName": "Miscellaneous Shopping",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Miscellaneous Shopping",
    "Total": 0.0
  },
  {
    "Id": "0747887e-0a26-4009-9cac-e21e1e00d126",
    "AccountName": "Consulting",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Consulting ",
    "Total": 0.0
  },
  {
    "Id": "07616331-13e5-4976-a422-71314a63d47d",
    "AccountName": "B Income:A Income:Test Income 03",
    "AccountType": 1,
    "Ancestors": "B Income:A Income:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Test Income 03",
    "Total": 0.0
  },
  {
    "Id": "078c02c9-6e3e-453c-9147-701b6b1841e9",
    "AccountName": "Payroll Expenses:Super Expense",
    "AccountType": 2,
    "Ancestors": "Payroll Expenses:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Super Expense",
    "Total": 0.0
  },
  {
    "Id": "0861ff44-623b-4aae-adaf-5cbeac1343fb",
    "AccountName": "new income account 7",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "new income account 7",
    "Total": 0.0
  },
  {
    "Id": "0910ffcc-5160-42dc-891b-55a5803800d9",
    "AccountName": "test_AccountName_hendrik_2209BC23-850043E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_hendrik_2209BC23-850043E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "0936a208-32b3-4941-add3-ae610fb3e335",
    "AccountName": "Dinning Out",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Dinning Out",
    "Total": 0.0
  },
  {
    "Id": "09b5e151-6c10-4dec-9e5b-cc407d69e1d2",
    "AccountName": "Scott's Income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Scott's Income",
    "Total": 0.0
  },
  {
    "Id": "0a9357ed-f36c-447e-ad9b-1f4553d9d29a",
    "AccountName": "test_AcparentcountName_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AcparentcountName_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "0b258e61-2fc5-4a74-8fd7-723f31877dfa",
    "AccountName": "test_AccountName_700hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_700hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "0c46c2fc-5a72-47a0-9a33-ea456b0a618d",
    "AccountName": "test_AccountNam58009e_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountNam58009e_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "0d96729e-83af-4088-9679-21db467b7258",
    "AccountName": "OI Parent:OI Child",
    "AccountType": 6,
    "Ancestors": "OI Parent:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "OI Child",
    "Total": 0.0
  },
  {
    "Id": "11c92368-9cb4-4024-9f78-92aaf6abe940",
    "AccountName": "Bank Fees",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Bank Fees",
    "Total": 0.0
  },
  {
    "Id": "124ab163-78b9-4a4c-a4c6-0e796ddae553",
    "AccountName": "Income Parent Account:Income Sub Account",
    "AccountType": 1,
    "Ancestors": "Income Parent Account:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Income Sub Account",
    "Total": 0.0
  },
  {
    "Id": "15dd280f-1d5d-472e-837f-f2ef2e52137a",
    "AccountName": "Texta income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Texta income",
    "Total": 0.0
  },
  {
    "Id": "16300aca-83c6-498f-bfc3-955270c16be0",
    "AccountName": "Test9",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Test9",
    "Total": 0.0
  },
  {
    "Id": "171dbbff-a5c1-44b7-a855-581579ddf767",
    "AccountName": "X Expense CAG",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "X Expense CAG",
    "Total": 0.0
  },
  {
    "Id": "17c5ac65-fcbc-4a6d-874f-536ca097e0e1",
    "AccountName": "Mobile Phone",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Mobile Phone ",
    "Total": 0.0
  },
  {
    "Id": "1a4213b2-e670-4638-9f77-c2ec78155b19",
    "AccountName": "PayPal",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "PayPal",
    "Total": 0.0
  },
  {
    "Id": "1ab4f7c3-a977-4b39-b5ff-34feb11606f1",
    "AccountName": "Expense Three",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Expense Three",
    "Total": 0.0
  },
  {
    "Id": "1dd85460-4fb1-47f8-a918-87e9f52f323b",
    "AccountName": "Advertising",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Advertising",
    "Total": 0.0
  },
  {
    "Id": "1eebd4b2-804d-41e9-a65f-4ac6c8e048c3",
    "AccountName": "Black income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Black income",
    "Total": 0.0
  },
  {
    "Id": "1f1abdcf-59a5-4a3a-9aaf-a8155bb671e4",
    "AccountName": "OI Parent",
    "AccountType": 6,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "OI Parent",
    "Total": 0.0
  },
  {
    "Id": "1f3f0723-2098-4199-ac63-c2d1f455a866",
    "AccountName": "ABC Income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "ABC Income",
    "Total": 0.0
  },
  {
    "Id": "20c91f8b-ed9d-4f71-b235-73be9803e73f",
    "AccountName": "test_AccountName728799809BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName728799809BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "226c97e7-95ad-4e9f-afdc-3ef8cdfe18b1",
    "AccountName": "TestingAPIOUT",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "TestingAPIOUT",
    "Total": 0.0
  },
  {
    "Id": "22b8428c-39a8-4963-aa1b-5b6f488935d2",
    "AccountName": "Rounding expense",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Rounding expense",
    "Total": 0.0
  },
  {
    "Id": "22f1b228-c28c-4401-8c84-265141320f3a",
    "AccountName": "X Income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "X Income",
    "Total": 0.0
  },
  {
    "Id": "23519371-cdfb-490d-b622-d14f284302cf",
    "AccountName": "Income AJS",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Income AJS",
    "Total": 0.0
  },
  {
    "Id": "2541ae56-bbee-4d06-a4ef-de75e6846788",
    "AccountName": "test_AccountName_hendrik_2897209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_hendrik_2897209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "2581dd22-19ff-4be5-99c2-618bf8df6ad2",
    "AccountName": "test_AccountName_hendrik_28900209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_hendrik_28900209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "262cd29b-bf3d-4e5f-b588-4bfc1810fc9f",
    "AccountName": "B Income:A Income:Test Income 03:test_AccountName_h8500789endrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "B Income:A Income:Test Income 03:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_h8500789endrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "277048ff-5afb-40bf-a6ea-23b0301b7f90",
    "AccountName": "Project Management:PM 2",
    "AccountType": 1,
    "Ancestors": "Project Management:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "PM 2",
    "Total": 0.0
  },
  {
    "Id": "27dc10e4-cc7e-4099-9a50-0d1d8bc2dcf6",
    "AccountName": "Misc Wages",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Misc Wages",
    "Total": 0.0
  },
  {
    "Id": "289cd8fc-4641-4032-ab17-8d53c4fa9a96",
    "AccountName": "Test14",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Test14",
    "Total": 0.0
  },
  {
    "Id": "29b54a84-a4d3-40a4-ad4c-a54f02d5e518",
    "AccountName": "Inactive Income",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Inactive Income",
    "Total": 0.0
  },
  {
    "Id": "2d3fbd56-ce48-4704-a056-e2cf26bbe24e",
    "AccountName": "Sales",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Sales",
    "Total": 0.0
  },
  {
    "Id": "2e788af9-bc59-4541-883b-e21e854b2ca3",
    "AccountName": "Cakes:XYZ Income",
    "AccountType": 1,
    "Ancestors": "Cakes:",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "XYZ Income",
    "Total": 0.0
  },
  {
    "Id": "2e9a0fc4-bca5-433d-b575-35c46f42ee19",
    "AccountName": "Cakes",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Cakes",
    "Total": 0.0
  },
  {
    "Id": "2f930221-8ff0-4a44-b720-e68fcc47b199",
    "AccountName": "Z Other Expense",
    "AccountType": 7,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Z Other Expense",
    "Total": 0.0
  },
  {
    "Id": "3034da80-b405-46be-b6eb-f7c2dfadd082",
    "AccountName": "Random Income FRE",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Random Income FRE",
    "Total": 0.0
  },
  {
    "Id": "3178bd1a-5075-4d36-9f4b-e23afb17a436",
    "AccountName": "Income From Business",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Income From Business",
    "Total": 0.0
  },
  {
    "Id": "34d2af9e-87af-4db9-a9b7-b48f1f50f32c",
    "AccountName": "Expense Two",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Expense Two",
    "Total": 0.0
  },
  {
    "Id": "3562943b-95a1-4d5d-8d02-64c4a6102600",
    "AccountName": "Expense NCG",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Expense NCG",
    "Total": 0.0
  },
  {
    "Id": "36533363-045b-416a-b370-93466fc2a4c4",
    "AccountName": "test_AccountName_hendrik_220990BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountName_hendrik_220990BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  },
  {
    "Id": "3877416e-8bd4-48fc-9ac4-27aeb67c9af0",
    "AccountName": "Test11",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "Test11",
    "Total": 0.0
  },
  {
    "Id": "39921494-f2de-46aa-8ee0-8f1db89927b0",
    "AccountName": "R Expense",
    "AccountType": 2,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "R Expense",
    "Total": 0.0
  },
  {
    "Id": "3a97ddcb-4894-4567-8c26-a95b8539fb61",
    "AccountName": "test_AccountNam235235e_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "AccountType": 1,
    "Ancestors": "",
    "Month1": 0.0,
    "Month10": 0.0,
    "Month11": 0.0,
    "Month12": 0.0,
    "Month2": 0.0,
    "Month3": 0.0,
    "Month4": 0.0,
    "Month5": 0.0,
    "Month6": 0.0,
    "Month7": 0.0,
    "Month8": 0.0,
    "Month9": 0.0,
    "Name": "test_AccountNam235235e_hendrik_2209BC23-3E66-42C9-A47C-F4C3A56961E8",
    "Total": 0.0
  }
]

401 Unauthorized

You will get this response if the user is not authorised to view the budget

500 Internal Server Error

You will get this response if there is a problem with the data you are sending

503 Service Unavailable

You will get this response if the endpoint is under maintenance

Code samples

@ECHO OFF

curl -v -X GET "https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}"
-H "Ocp-Apim-Subscription-Key: {subscription key}"
-H "Authorization: {access token}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");
            client.DefaultRequestHeaders.Add("Authorization", "{access token}");

            var uri = "https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}?" + queryString;

            var response = await client.GetAsync(uri);
        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}");


            URI uri = builder.build();
            HttpGet request = new HttpGet(uri);
            request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");
            request.setHeader("Authorization", "{access token}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
                xhrObj.setRequestHeader("Authorization","{access token}");
            },
            type: "GET",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"GET"];
    // Request headers
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
    [_request setValue:@"{access token}" forHTTPHeaderField:@"Authorization"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Ocp-Apim-Subscription-Key' => '{subscription key}',
    'Authorization' => '{access token}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_GET);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.urlencode({
})

try:
    conn = httplib.HTTPSConnection('api.reckon.com')
    conn.request("GET", "/R1/{cashbookId}/budgets/{budgetId}?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('api.reckon.com')
    conn.request("GET", "/R1/{cashbookId}/budgets/{budgetId}?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.reckon.com/R1/{cashbookId}/budgets/{budgetId}')

request = Net::HTTP::Get.new(uri.request_uri)
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request headers
request['Authorization'] = '{access token}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body