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": "2021-10-16",
    "Created": "2021-10-16"
  },
  "Active": true,
  "Balance": 4.0,
  "Description": "sample string 5",
  "ReportingGroupId": 1,
  "UnallocatedAccount": true,
  "IsTaxLocked": true,
  "Modified": "2021-10-16",
  "Created": "2021-10-16",
  "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": "2021-10-16",
    "Modified": "2021-10-16",
    "TaxTypeDefaultUID": "33dbd2be-f26f-4406-ab24-66ae10e1c104",
    "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": "2021-10-16",
    "Created": "2021-10-16"
  },
  "Active": true,
  "Balance": 4.0,
  "Description": "sample string 5",
  "ReportingGroupId": 1,
  "UnallocatedAccount": true,
  "IsTaxLocked": true,
  "Modified": "2021-10-16",
  "Created": "2021-10-16",
  "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": "2021-10-16",
    "Modified": "2021-10-16",
    "TaxTypeDefaultUID": "33879267-424a-4324-8616-061cce030ade",
    "CompanyId": 9
  },
  "ID": 11
}