Financials | Budget Group
The Budget Group represents a configuration about a budget area like supplies and services or sales.
Overview
URL | api/{tenantKey}/{orgKey}/financialCore/budgetGroups |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set Custom Attribute BudgetGroup
- PUT Set Custom Attribute BudgetAccount
- PUT Set IsActive BudgetGroup
- PUT Set BudgetGroupKey BudgetGroup
- PUT Set Description BudgetGroup
- PUT Set ChartOfAccount BudgetGroup
- PUT Set GLAccount BudgetAccount
- PUT Set ChartOfAccount BudgetAccount
- PUT Set AccountingNature BudgetAccount
- PUT Set Dimension BudgetDimension
- DELETE:
All Resources
This service uses the following resources:
- ApiBudgetGroupBudgetAccountsResource
- ApiBudgetGroupBudgetDimensionsResource
- ApiBudgetGroupResource
- BudgetAccountResource
- BudgetDimensionResource
- BudgetGroupResource
- ExtensibilityCustomAttributeValueResource
All Enumerations
This service uses the following enumerations:
GET BudgetGroups
Returns the list of all the entity records available.
Response:
When successful, the response body contains the list of records available. See BudgetGroupResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BudgetGroups (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
When successful, the response body contains the list of records available. See BudgetGroupResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BudgetGroup by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See BudgetGroupResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET BudgetGroup by key
Returns the entity record that matches the specified key.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
Response:
When successful, the response body contains the entity record. See BudgetGroupResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print BudgetGroup by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print BudgetGroup by key
Prints the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print BudgetGroupOriginal by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print BudgetGroup by key
Prints the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
POST BudgetGroups
Creates a new entity record.
The following elements are required:
budgetGroupResource | (ApiBudgetGroupResource) The request body should contain the entity record that should be created. See ApiBudgetGroupResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiBudgetGroupResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Budget Group
Inserts a new 'Budget Account' in the 'Budget Group'.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (ApiBudgetGroupBudgetAccountsResource) The ApiBudgetGroupBudgetAccountsResource instance. See ApiBudgetGroupBudgetAccountsResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Budget Group
Inserts a new 'Budget Dimension' in the 'Budget Group'.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (ApiBudgetGroupBudgetDimensionsResource) The ApiBudgetGroupBudgetDimensionsResource instance. See ApiBudgetGroupBudgetDimensionsResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AccountingNature BudgetAccount
Updates the value of attribute 'AccountingNature' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The detail identifier. |
value | (enum AccountingNature) The request body should contain the new value for the attribute. See AccountingNature. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BudgetGroupKey BudgetGroup
Updates the value of attribute 'BudgetGroupKey' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ChartOfAccount BudgetAccount
Updates the value of attribute 'ChartOfAccount' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ChartOfAccount BudgetGroup
Updates the value of attribute 'ChartOfAccount' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description BudgetGroup
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Dimension BudgetDimension
Updates the value of attribute 'Dimension' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set GLAccount BudgetAccount
Updates the value of attribute 'GLAccount' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive BudgetGroup
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute BudgetGroup
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute BudgetAccount
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The detail identifier. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Budget Account by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Budget Dimension by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE BudgetGroup by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE BudgetGroup by key
Deletes the entity record that matches the specified key.
The following elements are required:
budgetGroupKey | (string) The budget group key. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiBudgetGroupBudgetAccountsResource
The following elements are required:
gLAccount | (string) The GL account to be budgeted. |
chartOfAccount | (string) The chart of accounts. |
accountingNature | (enum AccountingNature) The nature of the balance that is going to be budgeted.
See AccountingNature. |
ApiBudgetGroupBudgetDimensionsResource
The following elements are required:
dimension | (string) The dimension to be budgeted. |
ApiBudgetGroupResource
The following elements are required:
budgetGroupKey | (string) The budget group key. |
chartOfAccount | (string) The chart of accounts of the budget group. |
The following elements are optional:
description | (string) The budget group description. |
budgetAccounts | (List of ApiBudgetGroupBudgetAccountsResource) The list of accounts to be budgeted.
See ApiBudgetGroupBudgetAccountsResource. |
budgetDimensions | (List of ApiBudgetGroupBudgetDimensionsResource) The list of dimensions to be budgetd.
See ApiBudgetGroupBudgetDimensionsResource. |
BudgetAccountResource
The following elements are required:
gLAccount | (string) The GL account to be budgeted. |
chartOfAccount | (string) The chart of accounts. |
accountingNature | (enum AccountingNature) The nature of the balance that is going to be budgeted.
See AccountingNature. |
BudgetDimensionResource
The following elements are required:
dimension | (string) The dimension to be budgeted. |
BudgetGroupResource
The following elements are required:
budgetGroupKey | (string) The budget group key. |
chartOfAccount | (string) The chart of accounts of the budget group.
(fk) Allowed value: the natural key of a record of type ChartOfAccount. These records are accessibly through the ChartOfAccounts service. |
The following elements are optional:
description | (string) The budget group description. |
budgetAccounts | (List of BudgetAccountResource) The list of accounts to be budgeted.
See BudgetAccountResource. |
budgetDimensions | (List of BudgetDimensionResource) The list of dimensions to be budgetd.
See BudgetDimensionResource. |
ExtensibilityCustomAttributeValueResource
The following elements are required:
value | (object) The custom attribute value. |