docs/UtilitiesApi.md in purecloudplatformclientv2-49.0.0 vs docs/UtilitiesApi.md in purecloudplatformclientv2-49.0.1
- old
+ new
@@ -14,11 +14,11 @@
[**post_gmsc_tokens**](UtilitiesApi.html#post_gmsc_tokens) | Generate a JWT for use with common cloud.
{: class="table table-striped"}
<a name="get_date"></a>
-## -[**ServerDate**](ServerDate.html) get_date
+## [**ServerDate**](ServerDate.html) get_date
Get the current system date/time
@@ -29,11 +29,11 @@
Requires NO permissions:
### Example
-~~~ruby
+```{"language":"ruby"}
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@secret = ENV['PURECLOUD_SECRET']
@id = ENV['PURECLOUD_CLIENT_ID']
@@ -52,11 +52,11 @@
result = api_instance.get_date
p result
rescue PureCloud::ApiError => e
puts "Exception when calling UtilitiesApi->get_date: #{e}"
end
-~~~
+```
### Parameters
This endpoint does not need any parameter.
{: class="table table-striped"}
@@ -72,11 +72,11 @@
<a name="get_timezones"></a>
-## -[**TimeZoneEntityListing**](TimeZoneEntityListing.html) get_timezones(opts)
+## [**TimeZoneEntityListing**](TimeZoneEntityListing.html) get_timezones(opts)
Get time zones list
@@ -87,11 +87,11 @@
Requires NO permissions:
### Example
-~~~ruby
+```{"language":"ruby"}
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@secret = ENV['PURECLOUD_SECRET']
@id = ENV['PURECLOUD_CLIENT_ID']
@@ -115,11 +115,11 @@
result = api_instance.get_timezones(opts)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling UtilitiesApi->get_timezones: #{e}"
end
-~~~
+```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
@@ -139,11 +139,11 @@
<a name="post_certificate_details"></a>
-## -[**ParsedCertificate**](ParsedCertificate.html) post_certificate_details(body)
+## [**ParsedCertificate**](ParsedCertificate.html) post_certificate_details(body)
Returns the information about an X509 PEM encoded certificate or certificate chain.
@@ -154,11 +154,11 @@
Requires NO permissions:
### Example
-~~~ruby
+```{"language":"ruby"}
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@secret = ENV['PURECLOUD_SECRET']
@id = ENV['PURECLOUD_CLIENT_ID']
@@ -180,11 +180,11 @@
result = api_instance.post_certificate_details(body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling UtilitiesApi->post_certificate_details: #{e}"
end
-~~~
+```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
@@ -203,11 +203,11 @@
<a name="post_gmsc_tokens"></a>
-## -[**Token**](Token.html) post_gmsc_tokens
+## [**Token**](Token.html) post_gmsc_tokens
Generate a JWT for use with common cloud.
@@ -218,11 +218,11 @@
Requires NO permissions:
### Example
-~~~ruby
+```{"language":"ruby"}
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@secret = ENV['PURECLOUD_SECRET']
@id = ENV['PURECLOUD_CLIENT_ID']
@@ -241,10 +241,10 @@
result = api_instance.post_gmsc_tokens
p result
rescue PureCloud::ApiError => e
puts "Exception when calling UtilitiesApi->post_gmsc_tokens: #{e}"
end
-~~~
+```
### Parameters
This endpoint does not need any parameter.
{: class="table table-striped"}