Module: AvaTax::Client::CommunicationCertificates

Defined in:
lib/avatax/client/communicationcertificates.rb

Instance Method Summary collapse

Instance Method Details

#get_communication_certificate(companyId, certificateId) ⇒ Object

Retrieve a single communication certificate.

Security Policies

  • This API depends on the following active services:Required (all): ECMPremiumComms, ECMProComms. Swagger Name: AvaTaxClient


15
16
# File 'lib/avatax/client/communicationcertificates.rb', line 15

def get_communication_certificate(companyId, certificateId)        path = "/companies/#{companyId}/communication-certificates/#{certificateId}"
get(path, {}, AvaTax::VERSION)      end

#list_communication_certificates(companyId, options = {}) ⇒ Object

Retrieve all communication certificates.

List all communication certificates that can be seen by the current user.

This API lists all communication certificates you are allowed to see.

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. For more information about filtering in REST, please see the documentation at http://developer.avalara.com/avatax/filtering-in-rest/ .

Security Policies

  • This API depends on the following active services:Required (all): ECMPremiumComms, ECMProComms. Swagger Name: AvaTaxClient


38
39
# File 'lib/avatax/client/communicationcertificates.rb', line 38

def list_communication_certificates(companyId, options={})        path = "/companies/#{companyId}/communication-certificates"
get(path, options, AvaTax::VERSION)      end