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

- old
+ new

@@ -19,11 +19,11 @@ [**put_users_presences_bulk**](PresenceApi.html#put_users_presences_bulk) | Update bulk user Presences {: class="table table-striped"} <a name="delete_presencedefinition"></a> -## - delete_presencedefinition(presence_id) +## delete_presencedefinition(presence_id) Delete a Presence Definition @@ -35,11 +35,11 @@ * presence:presenceDefinition:delete ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -60,11 +60,11 @@ #Delete a Presence Definition api_instance.delete_presencedefinition(presence_id) rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->delete_presencedefinition: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -83,11 +83,11 @@ <a name="get_presencedefinition"></a> -## -[**OrganizationPresence**](OrganizationPresence.html) get_presencedefinition(presence_id, opts) +## [**OrganizationPresence**](OrganizationPresence.html) get_presencedefinition(presence_id, opts) Get a Presence Definition @@ -98,11 +98,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -127,11 +127,11 @@ result = api_instance.get_presencedefinition(presence_id, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->get_presencedefinition: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -151,11 +151,11 @@ <a name="get_presencedefinitions"></a> -## -[**OrganizationPresenceEntityListing**](OrganizationPresenceEntityListing.html) get_presencedefinitions(opts) +## [**OrganizationPresenceEntityListing**](OrganizationPresenceEntityListing.html) get_presencedefinitions(opts) Get an Organization's list of Presence Definitions @@ -166,11 +166,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -196,11 +196,11 @@ result = api_instance.get_presencedefinitions(opts) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->get_presencedefinitions: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -222,11 +222,11 @@ <a name="get_systempresences"></a> -## -[**Array&lt;SystemPresence&gt;**](SystemPresence.html) get_systempresences +## [**Array&lt;SystemPresence&gt;**](SystemPresence.html) get_systempresences Get the list of SystemPresences @@ -237,11 +237,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -260,11 +260,11 @@ result = api_instance.get_systempresences p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->get_systempresences: #{e}" end -~~~ +``` ### Parameters This endpoint does not need any parameter. {: class="table table-striped"} @@ -280,11 +280,11 @@ <a name="get_user_presence"></a> -## -[**UserPresence**](UserPresence.html) get_user_presence(user_id, source_id) +## [**UserPresence**](UserPresence.html) get_user_presence(user_id, source_id) Get a user's Presence @@ -295,11 +295,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -323,11 +323,11 @@ result = api_instance.get_user_presence(user_id, source_id) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->get_user_presence: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -347,11 +347,11 @@ <a name="patch_user_presence"></a> -## -[**UserPresence**](UserPresence.html) patch_user_presence(user_id, source_id, body) +## [**UserPresence**](UserPresence.html) patch_user_presence(user_id, source_id, body) Patch a user's Presence @@ -362,11 +362,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -392,11 +392,11 @@ result = api_instance.patch_user_presence(user_id, source_id, body) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->patch_user_presence: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -417,11 +417,11 @@ <a name="post_presencedefinitions"></a> -## -[**OrganizationPresence**](OrganizationPresence.html) post_presencedefinitions(body) +## [**OrganizationPresence**](OrganizationPresence.html) post_presencedefinitions(body) Create a Presence Definition @@ -433,11 +433,11 @@ * presence:presenceDefinition:add ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -459,11 +459,11 @@ result = api_instance.post_presencedefinitions(body) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->post_presencedefinitions: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -482,11 +482,11 @@ <a name="put_presencedefinition"></a> -## -[**OrganizationPresence**](OrganizationPresence.html) put_presencedefinition(presence_id, body) +## [**OrganizationPresence**](OrganizationPresence.html) put_presencedefinition(presence_id, body) Update a Presence Definition @@ -498,11 +498,11 @@ * presence:presenceDefinition:edit ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -526,11 +526,11 @@ result = api_instance.put_presencedefinition(presence_id, body) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->put_presencedefinition: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -550,11 +550,11 @@ <a name="put_users_presences_bulk"></a> -## -[**Array&lt;UserPresence&gt;**](UserPresence.html) put_users_presences_bulk(body) +## [**Array&lt;UserPresence&gt;**](UserPresence.html) put_users_presences_bulk(body) Update bulk user Presences @@ -566,11 +566,11 @@ * user_administration ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -592,10 +592,10 @@ result = api_instance.put_users_presences_bulk(body) p result rescue PureCloud::ApiError => e puts "Exception when calling PresenceApi->put_users_presences_bulk: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | -------------