class ZoomUs::PAC
Attributes
Public Class Methods
# File lib/zoom_us/pac.rb, line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end
Public Instance Methods
List a User's PAC
Accounts
[Personal Audio Conference](support.zoom.us/hc/en-us/articles/204517069-Getting-Started-with-Personal-Audio-Conference) (PAC
) allows Pro or higher account holders to host meetings through PSTN (phone dial-in) only.
Use this API to list a user's PAC
accounts.
Scopes: `user:read:admin` `user:read`
Prerequisites:
* A Pro or higher plan with [Premium Audio Conferencing](support.zoom.us/hc/en-us/articles/204517069-Getting-Started-with-Personal-Audio-Conference) add-on. * Personal Audio Conference must be enabled in the user's profile. @param user_id The user ID or email address of the user. For user-level apps, pass `me` as the value for userId. @param [Hash] opts the optional parameters @return [InlineResponse20049]
# File lib/zoom_us/pac.rb, line 27 def user_pa_cs(user_id, opts = {}) data, _status_code, _headers = user_pa_cs_with_http_info(user_id, opts) data end
List a User's PAC
Accounts
[Personal Audio Conference](support.zoom.us/hc/en-us/articles/204517069-Getting-Started-with-Personal-Audio-Conference) (PAC
) allows Pro or higher account holders to host meetings through PSTN (phone dial-in) only.<br>Use this API to list a user's PAC
accounts.<br><br> Scopes: `user:read:admin` `user:read`<br> <br> <br> Prerequisites:<br> * A Pro or higher plan with [Premium Audio Conferencing](support.zoom.us/hc/en-us/articles/204517069-Getting-Started-with-Personal-Audio-Conference) add-on. * Personal Audio Conference must be enabled in the user's profile. @param user_id The user ID or email address of the user. For user-level apps, pass `me` as the value for userId. @param [Hash] opts the optional parameters @return [Array<(InlineResponse20049, Fixnum, Hash)>] InlineResponse20049 data, response status code and response headers
# File lib/zoom_us/pac.rb, line 37 def user_pa_cs_with_http_info(user_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: PACApi.user_pa_cs ...' end # verify the required parameter 'user_id' is set if @api_client.config.client_side_validation && user_id.nil? fail ArgumentError, "Missing the required parameter 'user_id' when calling PACApi.user_pa_cs" end # resource path local_var_path = '/users/{userId}/pac'.sub('{' + 'userId' + '}', user_id.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/xml']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['OAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'InlineResponse20049') if @api_client.config.debugging @api_client.config.logger.debug "API called: PACApi#user_pa_cs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end