Returns a list of accounts.
Use this method if you want to get a list of accounts. When a FlagField has some value only three account fields - identifier, description and code - mean. Permissions: All users.
Query Parameters
- Type: stringenumFlag
Field Indicates a Meta-Accounts check-box field that should be turned on to fetch a connected Account. Values: Expense (used for Purchasing purposes), AllowAdjustment (used in QuickBooks area), Asset, Revenu, Payment, Discounts, Inventory, Tax, GuestTracking, Export, LaborAmount, LaborHour, SalesTracking, Liability, AllowBudget, POSAdjustment, VoidTracking, CheckTracking, SOSTracking, POSOther, ARSales, ARPayments, PaidIO, UnitTrade, Deposit, EntreeTracking, DiscountTracking, TaxTracking, PmixTracking, PaymentTracking, GuestSurvey
values- Expense
- Asset
- Revenu
- Payment
- Discounts
- Inventory
- Tax
- Guest
Tracking
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Responses
curl '/v2/ChartOfAccounts?FlagField=Expense' \
--header 'DCKey: YOUR_SECRET_TOKEN'
[
{
"Account": null,
"SubAccount": null,
"MetaAccountId": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"AssetAccountId": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"TrackingAccountId": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Display": "A",
"Mode": "R",
"KPIID": null,
"CustomReportId": null,
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null,
"Hidden": true,
"ReportSortOrder": 1,
"Format": null,
"CostingMethod": "L",
"EstimationMethod": "N",
"AllowJournalEntry": true,
"IncludeInBudget": true,
"PostRecipeTargets": true,
"AllowForecast": true,
"IncludedInAIModel": true,
"Custom1": null,
"Custom2": null,
"Custom3": null,
"Custom4": null,
"Custom5": null,
"MetaAccount": null,
"TrackingAccount": null,
"AssetAccount": null,
"MetaExpense": true,
"KPI": null
}
]