Module: AvaTax::Client::Ecms
- Defined in:
- lib/avatax/client/ecms.rb
Instance Method Summary collapse
-
#get_e_c_m_s_by_id(companyId, ecmsId, options = {}) ⇒ Object
Get an ECMS identified by company id and ECMS id.
-
#list_e_c_m_s_by_company(companyId, options = {}) ⇒ FetchResult
Get list of ECMS data for this company.
-
#query_e_c_m_s(options = {}) ⇒ FetchResult
Get all exempt certificates.
Instance Method Details
#get_e_c_m_s_by_id(companyId, ecmsId, options = {}) ⇒ Object
Get an ECMS identified by company id and ECMS id
Get an ECMS identified by company id and ECMS id.
An ECMS data represents a documentation based on which companies can claim tax exemption
You may attach nested data objects such as exempt cert detail, and those objects will be created with certificate.
You may specify one or more of the following values in the $include
parameter to fetch additional nested data, using commas to separate multiple values:
- Details
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- This API depends on the following active services
Required (all): AvaCert.
23 24 |
# File 'lib/avatax/client/ecms.rb', line 23 def get_e_c_m_s_by_id(companyId, ecmsId, ={}) path = "/api/v2/companies/#{companyId}/ecms/#{ecmsId}" get(path, ) end |
#list_e_c_m_s_by_company(companyId, options = {}) ⇒ FetchResult
Get list of ECMS data for this company
Get list of ECMS data for this company
An ECMS data represents a documentation based on which companies can claim tax exemption
You may attach nested data objects such as ECMS detail, and those objects will be created with certificate.
You may specify one or more of the following values in the $include
parameter to fetch additional nested data, using commas to separate multiple values:
- Details
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- This API depends on the following active services
Required (all): AvaCert.
46 47 |
# File 'lib/avatax/client/ecms.rb', line 46 def list_e_c_m_s_by_company(companyId, ={}) path = "/api/v2/companies/#{companyId}/ecms" get(path, ) end |
#query_e_c_m_s(options = {}) ⇒ FetchResult
Get all exempt certificates
Get all ECMS currently available in database.
An ECMS data represents a documentation based on which companies can claim tax exemption
You may attach nested data objects such as ECMS detail, and those objects will be created with certificate.
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.
You may specify one or more of the following values in the $include
parameter to fetch additional nested data, using commas to separate multiple values:
- Details
Security Policies
- This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- This API depends on the following active services
Required (all): AvaCert.
70 71 |
# File 'lib/avatax/client/ecms.rb', line 70 def query_e_c_m_s(={}) path = "/api/v2/ecms" get(path, ) end |