POST Budget/Save

Saves the specified Budget.

Request Information

URI Parameters

None.

Body Parameters

The budget.

Budget
NameTypeAdditional informationDescription
ID integer

None.

Description string

None.

BudgetItems Collection of Budget Item

None.

This is a list of Budget Lines

NumberOfPeriods integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Description": "sample string 2",
  "BudgetItems": [
    {
      "ID": 1,
      "Account": {
        "ID": 1,
        "ReportingLevelType": 1,
        "Name": "sample string 2",
        "Category": {
          "Comment": "sample string 1",
          "Order": 6,
          "Description": "sample string 7",
          "ID": 8,
          "Modified": "2021-10-16",
          "Created": "2021-10-16"
        }
      },
      "BudgetItemPeriods": [
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        },
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        }
      ],
      "Total": 2.0,
      "AccountTypeId": 3
    },
    {
      "ID": 1,
      "Account": {
        "ID": 1,
        "ReportingLevelType": 1,
        "Name": "sample string 2",
        "Category": {
          "Comment": "sample string 1",
          "Order": 6,
          "Description": "sample string 7",
          "ID": 8,
          "Modified": "2021-10-16",
          "Created": "2021-10-16"
        }
      },
      "BudgetItemPeriods": [
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        },
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        }
      ],
      "Total": 2.0,
      "AccountTypeId": 3
    }
  ],
  "NumberOfPeriods": 3
}

Response Information

Resource Description

Budget
NameTypeAdditional informationDescription
ID integer

None.

Description string

None.

BudgetItems Collection of Budget Item

None.

This is a list of Budget Lines

NumberOfPeriods integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Description": "sample string 2",
  "BudgetItems": [
    {
      "ID": 1,
      "Account": {
        "ID": 1,
        "ReportingLevelType": 1,
        "Name": "sample string 2",
        "Category": {
          "Comment": "sample string 1",
          "Order": 6,
          "Description": "sample string 7",
          "ID": 8,
          "Modified": "2021-10-16",
          "Created": "2021-10-16"
        }
      },
      "BudgetItemPeriods": [
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        },
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        }
      ],
      "Total": 2.0,
      "AccountTypeId": 3
    },
    {
      "ID": 1,
      "Account": {
        "ID": 1,
        "ReportingLevelType": 1,
        "Name": "sample string 2",
        "Category": {
          "Comment": "sample string 1",
          "Order": 6,
          "Description": "sample string 7",
          "ID": 8,
          "Modified": "2021-10-16",
          "Created": "2021-10-16"
        }
      },
      "BudgetItemPeriods": [
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        },
        {
          "ID": 1,
          "Date": "2021-10-16",
          "Total": 3.0
        }
      ],
      "Total": 2.0,
      "AccountTypeId": 3
    }
  ],
  "NumberOfPeriods": 3
}