docs/ScriptsApi.md in purecloudplatformclientv2-49.0.0 vs docs/ScriptsApi.md in purecloudplatformclientv2-49.0.1

- old
+ new

@@ -21,11 +21,11 @@ [**post_script_export**](ScriptsApi.html#post_script_export) | Export a script via download service. {: class="table table-striped"} <a name="get_script"></a> -## -[**Script**](Script.html) get_script(script_id) +## [**Script**](Script.html) get_script(script_id) Get a script @@ -37,11 +37,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -63,11 +63,11 @@ result = api_instance.get_script(script_id) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_script: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -86,11 +86,11 @@ <a name="get_script_page"></a> -## -[**Page**](Page.html) get_script_page(script_id, page_id, opts) +## [**Page**](Page.html) get_script_page(script_id, page_id, opts) Get a page @@ -102,11 +102,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -133,11 +133,11 @@ result = api_instance.get_script_page(script_id, page_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_script_page: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -158,11 +158,11 @@ <a name="get_script_pages"></a> -## -[**Array&lt;Page&gt;**](Page.html) get_script_pages(script_id, opts) +## [**Array&lt;Page&gt;**](Page.html) get_script_pages(script_id, opts) Get the list of pages @@ -174,11 +174,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -203,11 +203,11 @@ result = api_instance.get_script_pages(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_script_pages: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -227,11 +227,11 @@ <a name="get_scripts"></a> -## -[**ScriptEntityListing**](ScriptEntityListing.html) get_scripts(opts) +## [**ScriptEntityListing**](ScriptEntityListing.html) get_scripts(opts) Get the list of scripts @@ -243,11 +243,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -278,11 +278,11 @@ result = api_instance.get_scripts(opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -309,11 +309,11 @@ <a name="get_scripts_published"></a> -## -[**ScriptEntityListing**](ScriptEntityListing.html) get_scripts_published(script_id, opts) +## [**ScriptEntityListing**](ScriptEntityListing.html) get_scripts_published(script_id, opts) Get the published scripts. @@ -325,11 +325,11 @@ * scripter:publishedScript:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -360,11 +360,11 @@ result = api_instance.get_scripts_published(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_published: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -390,11 +390,11 @@ <a name="get_scripts_published_script_id"></a> -## -[**Script**](Script.html) get_scripts_published_script_id(script_id, opts) +## [**Script**](Script.html) get_scripts_published_script_id(script_id, opts) Get the published script. @@ -406,11 +406,11 @@ * scripter:publishedScript:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -435,11 +435,11 @@ result = api_instance.get_scripts_published_script_id(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_published_script_id: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -459,11 +459,11 @@ <a name="get_scripts_published_script_id_page"></a> -## -[**Page**](Page.html) get_scripts_published_script_id_page(script_id, page_id, opts) +## [**Page**](Page.html) get_scripts_published_script_id_page(script_id, page_id, opts) Get the published page. @@ -475,11 +475,11 @@ * scripter:publishedScript:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -506,11 +506,11 @@ result = api_instance.get_scripts_published_script_id_page(script_id, page_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_published_script_id_page: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -531,11 +531,11 @@ <a name="get_scripts_published_script_id_pages"></a> -## -[**Array&lt;Page&gt;**](Page.html) get_scripts_published_script_id_pages(script_id, opts) +## [**Array&lt;Page&gt;**](Page.html) get_scripts_published_script_id_pages(script_id, opts) Get the list of published pages @@ -547,11 +547,11 @@ * scripter:publishedScript:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -576,11 +576,11 @@ result = api_instance.get_scripts_published_script_id_pages(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_published_script_id_pages: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -600,11 +600,11 @@ <a name="get_scripts_published_script_id_variables"></a> -## -Object** get_scripts_published_script_id_variables(script_id, opts) +## Object** get_scripts_published_script_id_variables(script_id, opts) Get the published variables @@ -616,11 +616,11 @@ * scripter:publishedScript:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -648,11 +648,11 @@ result = api_instance.get_scripts_published_script_id_variables(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_published_script_id_variables: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -675,11 +675,11 @@ <a name="get_scripts_upload_status"></a> -## -[**ImportScriptStatusResponse**](ImportScriptStatusResponse.html) get_scripts_upload_status(upload_id, opts) +## [**ImportScriptStatusResponse**](ImportScriptStatusResponse.html) get_scripts_upload_status(upload_id, opts) Get the upload status of an imported script @@ -691,11 +691,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -720,11 +720,11 @@ result = api_instance.get_scripts_upload_status(upload_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->get_scripts_upload_status: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -744,11 +744,11 @@ <a name="post_script_export"></a> -## -[**ExportScriptResponse**](ExportScriptResponse.html) post_script_export(script_id, opts) +## [**ExportScriptResponse**](ExportScriptResponse.html) post_script_export(script_id, opts) Export a script via download service. @@ -760,11 +760,11 @@ * scripter:script:view ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -789,10 +789,10 @@ result = api_instance.post_script_export(script_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling ScriptsApi->post_script_export: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | -------------