POST Account/Save

Saves the specified Account.

Request Information

URI Parameters

None.

Body Parameters

The Account.

Account
NameTypeAdditional informationDescription
ID integer

None.

Name string

None.

Category Account Category

None.

Active bool

None.

Balance decimal

Read Only / System Generated

Description string

None.

ReportingGroupId nullable integer

None.

UnallocatedAccount bool

Read Only / System Generated

IsTaxLocked bool

Read Only / System Generated

Modified nullable date

Read Only / System Generated

Created date

Read Only / System Generated

AccountType integer

Read Only / System Generated

HasActivity bool

Read Only / System Generated

DefaultTaxTypeId nullable integer

None.

DefaultTaxType Tax Type

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 2",
  "Category": {
    "Comment": "sample string 1",
    "Order": 6,
    "Description": "sample string 7",
    "ID": 8,
    "Modified": "2024-11-15",
    "Created": "2024-11-15"
  },
  "Active": true,
  "Balance": 4.0,
  "Description": "sample string 5",
  "ReportingGroupId": 1,
  "UnallocatedAccount": true,
  "IsTaxLocked": true,
  "Modified": "2024-11-15",
  "Created": "2024-11-15",
  "AccountType": 9,
  "HasActivity": true,
  "DefaultTaxTypeId": 1,
  "DefaultTaxType": {
    "ID": 1,
    "Name": "sample string 2",
    "Percentage": 3.1,
    "IsDefault": true,
    "HasActivity": true,
    "IsManualTax": true,
    "Active": true,
    "Created": "2024-11-15",
    "Modified": "2024-11-15",
    "TaxTypeDefaultUID": "c416c686-e1b1-418d-b707-1519bb98169e",
    "CompanyId": 9
  },
  "ID": 11
}

Response Information

Resource Description

Account
NameTypeAdditional informationDescription
ID integer

None.

Name string

None.

Category Account Category

None.

Active bool

None.

Balance decimal

Read Only / System Generated

Description string

None.

ReportingGroupId nullable integer

None.

UnallocatedAccount bool

Read Only / System Generated

IsTaxLocked bool

Read Only / System Generated

Modified nullable date

Read Only / System Generated

Created date

Read Only / System Generated

AccountType integer

Read Only / System Generated

HasActivity bool

Read Only / System Generated

DefaultTaxTypeId nullable integer

None.

DefaultTaxType Tax Type

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 2",
  "Category": {
    "Comment": "sample string 1",
    "Order": 6,
    "Description": "sample string 7",
    "ID": 8,
    "Modified": "2024-11-15",
    "Created": "2024-11-15"
  },
  "Active": true,
  "Balance": 4.0,
  "Description": "sample string 5",
  "ReportingGroupId": 1,
  "UnallocatedAccount": true,
  "IsTaxLocked": true,
  "Modified": "2024-11-15",
  "Created": "2024-11-15",
  "AccountType": 9,
  "HasActivity": true,
  "DefaultTaxTypeId": 1,
  "DefaultTaxType": {
    "ID": 1,
    "Name": "sample string 2",
    "Percentage": 3.1,
    "IsDefault": true,
    "HasActivity": true,
    "IsManualTax": true,
    "Active": true,
    "Created": "2024-11-15",
    "Modified": "2024-11-15",
    "TaxTypeDefaultUID": "d1fb3bac-99bf-4fad-bdb4-447fa5f96a54",
    "CompanyId": 9
  },
  "ID": 11
}