GET Account/GetAccountsByCategoryId/{id}

Gets a list of Accounts based on the Category identifier.

Request Information

This method supports OData queries.

URI Parameters

NameTypeAdditional informationDescription
id integer

Required

Body Parameters

None.

Response Information

Resource Description

This collection is wrapped in a paging response object.

Paging response of Account
NameTypeAdditional informationDescription
TotalResults integer

None.

ReturnedResults integer

None.

Results Collection of Account

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalResults": 1,
  "ReturnedResults": 2,
  "Results": [
    {
      "Name": "sample string 2",
      "Category": {
        "Comment": "sample string 1",
        "Order": 6,
        "Description": "sample string 7",
        "ID": 8,
        "Modified": "2024-04-19",
        "Created": "2024-04-19"
      },
      "Active": true,
      "Balance": 4.0,
      "Description": "sample string 5",
      "ReportingGroupId": 1,
      "UnallocatedAccount": true,
      "IsTaxLocked": true,
      "Modified": "2024-04-19",
      "Created": "2024-04-19",
      "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-04-19",
        "Modified": "2024-04-19",
        "TaxTypeDefaultUID": "69ba67c2-c139-47c3-a6f8-60b8e7fceb1a",
        "CompanyId": 9
      },
      "ID": 11
    },
    {
      "Name": "sample string 2",
      "Category": {
        "Comment": "sample string 1",
        "Order": 6,
        "Description": "sample string 7",
        "ID": 8,
        "Modified": "2024-04-19",
        "Created": "2024-04-19"
      },
      "Active": true,
      "Balance": 4.0,
      "Description": "sample string 5",
      "ReportingGroupId": 1,
      "UnallocatedAccount": true,
      "IsTaxLocked": true,
      "Modified": "2024-04-19",
      "Created": "2024-04-19",
      "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-04-19",
        "Modified": "2024-04-19",
        "TaxTypeDefaultUID": "69ba67c2-c139-47c3-a6f8-60b8e7fceb1a",
        "CompanyId": 9
      },
      "ID": 11
    }
  ]
}