GET Account/GetServiceAccounts

Gets a list of Cost of Sales and Expenses Accounts

Request Information

This method supports OData queries.

URI Parameters

None.

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": "2021-10-19",
        "Created": "2021-10-19"
      },
      "Active": true,
      "Balance": 4.0,
      "Description": "sample string 5",
      "ReportingGroupId": 1,
      "UnallocatedAccount": true,
      "IsTaxLocked": true,
      "Modified": "2021-10-19",
      "Created": "2021-10-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": "2021-10-19",
        "Modified": "2021-10-19",
        "TaxTypeDefaultUID": "28cb7ce8-aa56-4416-935f-0e2caf79662c",
        "CompanyId": 9
      },
      "ID": 11
    },
    {
      "Name": "sample string 2",
      "Category": {
        "Comment": "sample string 1",
        "Order": 6,
        "Description": "sample string 7",
        "ID": 8,
        "Modified": "2021-10-19",
        "Created": "2021-10-19"
      },
      "Active": true,
      "Balance": 4.0,
      "Description": "sample string 5",
      "ReportingGroupId": 1,
      "UnallocatedAccount": true,
      "IsTaxLocked": true,
      "Modified": "2021-10-19",
      "Created": "2021-10-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": "2021-10-19",
        "Modified": "2021-10-19",
        "TaxTypeDefaultUID": "28cb7ce8-aa56-4416-935f-0e2caf79662c",
        "CompanyId": 9
      },
      "ID": 11
    }
  ]
}