doc_out/PresenceApi.html.md in purecloud-0.36.1 vs doc_out/PresenceApi.html.md in purecloud-0.37.1

- old
+ new

@@ -9,12 +9,12 @@ Method | HTTP request | Description ------------- | ------------- | ------------- |[**delete_presence_id**](PresenceApi.html#delete_presence_id) | **DELETE** /api/v2/presencedefinitions/{presenceId} | Delete an OrganizationPresence| |[**get_presence_id**](PresenceApi.html#get_presence_id) | **GET** /api/v2/presencedefinitions/{presenceId} | Get an OrganizationPresence| |[**get_presencedefinitions**](PresenceApi.html#get_presencedefinitions) | **GET** /api/v2/presencedefinitions | Get an Organization&#39;s list of Presences| -|[**get_user_id_presences_source**](PresenceApi.html#get_user_id_presences_source) | **GET** /api/v2/users/{userId}/presences/{source} | Get a user&#39;s Presence| -|[**patch_user_id_presences_source**](PresenceApi.html#patch_user_id_presences_source) | **PATCH** /api/v2/users/{userId}/presences/{source} | Patch a user&#39;s Presence| +|[**get_user_id_presences_source_id**](PresenceApi.html#get_user_id_presences_source_id) | **GET** /api/v2/users/{userId}/presences/{sourceId} | Get a user&#39;s Presence| +|[**patch_user_id_presences_source_id**](PresenceApi.html#patch_user_id_presences_source_id) | **PATCH** /api/v2/users/{userId}/presences/{sourceId} | Patch a user&#39;s Presence| |[**post_presencedefinitions**](PresenceApi.html#post_presencedefinitions) | **POST** /api/v2/presencedefinitions | Create an OrganizationPresence| |[**put_presence_id**](PresenceApi.html#put_presence_id) | **PUT** /api/v2/presencedefinitions/{presenceId} | Update an OrganizationPresence| {: class="table table-striped"} <a name="delete_presence_id"></a> @@ -186,13 +186,13 @@ - **Content-Type**: application/json - **Accept**: application/json -<a name="get_user_id_presences_source"></a> +<a name="get_user_id_presences_source_id"></a> -## -[**UserPresence**](UserPresence.html) get_user_id_presences_source(user_id, source) +## -[**UserPresence**](UserPresence.html) get_user_id_presences_source_id(user_id, source_id) Get a user's Presence @@ -213,28 +213,28 @@ api_instance = PureCloud::PresenceApi.new user_id = "user_id_example" # String | user Id -source = "source_example" # String | source +source_id = "source_id_example" # String | Source begin #Get a user's Presence - result = api_instance.get_user_id_presences_source(user_id, source) + result = api_instance.get_user_id_presences_source_id(user_id, source_id) p result rescue PureCloud::ApiError => e - puts "Exception when calling PresenceApi->get_user_id_presences_source: #{e}" + puts "Exception when calling PresenceApi->get_user_id_presences_source_id: #{e}" end ~~~ ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **String**| user Id | - **source** | **String**| source | + **source_id** | **String**| Source | {: class="table table-striped"} ### Return type @@ -245,13 +245,13 @@ - **Content-Type**: application/json - **Accept**: application/json -<a name="patch_user_id_presences_source"></a> +<a name="patch_user_id_presences_source_id"></a> -## -[**UserPresence**](UserPresence.html) patch_user_id_presences_source(user_id, source, opts) +## -[**UserPresence**](UserPresence.html) patch_user_id_presences_source_id(user_id, source_id, opts) Patch a user's Presence The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3. @@ -272,30 +272,30 @@ api_instance = PureCloud::PresenceApi.new user_id = "user_id_example" # String | user Id -source = "source_example" # String | source +source_id = "source_id_example" # String | Source opts = { body: PureCloud::UserPresence.new # UserPresence | } begin #Patch a user's Presence - result = api_instance.patch_user_id_presences_source(user_id, source, opts) + result = api_instance.patch_user_id_presences_source_id(user_id, source_id, opts) p result rescue PureCloud::ApiError => e - puts "Exception when calling PresenceApi->patch_user_id_presences_source: #{e}" + puts "Exception when calling PresenceApi->patch_user_id_presences_source_id: #{e}" end ~~~ ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **String**| user Id | - **source** | **String**| source | + **source_id** | **String**| Source | **body** | [**UserPresence**](UserPresence.html)| | [optional] {: class="table table-striped"} ### Return type