Method: AvaTax::Client::Settings#list_settings_by_company
- Defined in:
- lib/avatax/client/settings.rb
#list_settings_by_company(companyId, options = {}) ⇒ FetchResult
Retrieve all settings for this company
List all setting objects attached to this company.
The company settings system is a metadata system that you can use to store extra information about a company. Your integration or connector could use this data storage to keep track of preference information, reminders, or any other storage that would need to persist even if the customer uninstalls your application.
A setting can refer to any type of data you need to remember about this company object.
When creating this object, you may define your own set, name, and value parameters.
To define your own values, please choose a set name that begins with X- to indicate an extension.
Search for specific objects using the criteria in the $filter parameter; full documentation is available on Filtering in REST .
Paginate your results using the $top, $skip, and $orderby parameters.
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. Swagger Name: AvaTaxClient
107 108 |
# File 'lib/avatax/client/settings.rb', line 107 def list_settings_by_company(companyId, ={}) path = "/api/v2/companies/#{companyId}/settings" get(path, , AvaTax::VERSION) end |