Module: AvaTax::Client::AvaFileForms
- Defined in:
- lib/avatax/client/avafileforms.rb
Instance Method Summary collapse
-
#create_ava_file_forms(model) ⇒ AvaFileFormModel[]
Create a new AvaFileForm.
-
#delete_ava_file_form(id) ⇒ ErrorDetail[]
Delete a single AvaFileForm.
-
#get_ava_file_form(id) ⇒ Object
Retrieve a single AvaFileForm.
-
#query_ava_file_forms(options = {}) ⇒ FetchResult
Retrieve all AvaFileForms.
-
#update_ava_file_form(id, model) ⇒ Object
Update a AvaFileForm.
Instance Method Details
#create_ava_file_forms(model) ⇒ AvaFileFormModel[]
Create a new AvaFileForm
Create one or more AvaFileForms A 'AvaFileForm' represents a form supported by our returns team
Security Policies
- This API requires the user role Compliance Root User.
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
18 19 |
# File 'lib/avatax/client/avafileforms.rb', line 18 def create_ava_file_forms(model) path = "/api/v2/avafileforms" post(path, model, {}, AvaTax::VERSION) end |
#delete_ava_file_form(id) ⇒ ErrorDetail[]
Delete a single AvaFileForm
Marks the existing AvaFileForm object at this URL as deleted.
Security Policies
- This API requires one of the following user roles: Compliance Root User, ComplianceUser, FirmAdmin.
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
32 33 |
# File 'lib/avatax/client/avafileforms.rb', line 32 def delete_ava_file_form(id) path = "/api/v2/avafileforms/#{id}" delete(path, {}, AvaTax::VERSION) end |
#get_ava_file_form(id) ⇒ Object
Retrieve a single AvaFileForm
Get the AvaFileForm object identified by this URL.
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
46 47 |
# File 'lib/avatax/client/avafileforms.rb', line 46 def get_ava_file_form(id) path = "/api/v2/avafileforms/#{id}" get(path, {}, AvaTax::VERSION) end |
#query_ava_file_forms(options = {}) ⇒ FetchResult
Retrieve all AvaFileForms
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, AccountOperator, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
64 65 |
# File 'lib/avatax/client/avafileforms.rb', line 64 def query_ava_file_forms(={}) path = "/api/v2/avafileforms" get(path, , AvaTax::VERSION) end |
#update_ava_file_form(id, model) ⇒ Object
Update a AvaFileForm
All data from the existing object will be replaced with data in the object you PUT. To set a field's value to null, you may either set its value to null or omit that field from the object you post.
Security Policies
- This API requires the user role Compliance Root User.
- This API depends on the following active services:Returns (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.Firm Managed (for accounts managed by a firm): ARA, ARAManaged. Swagger Name: AvaTaxClient
80 81 |
# File 'lib/avatax/client/avafileforms.rb', line 80 def update_ava_file_form(id, model) path = "/api/v2/avafileforms/#{id}" put(path, model, {}, AvaTax::VERSION) end |