lib/purecloud/api/presence_api.rb in purecloud-0.40.1 vs lib/purecloud/api/presence_api.rb in purecloud-0.41.1
- old
+ new
@@ -324,11 +324,11 @@
end
return data, status_code, headers
end
# 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.
+ # 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. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
# @param user_id user Id
# @param source_id Source
# @param [Hash] opts the optional parameters
# @option opts [UserPresence] :body
# @return [UserPresence]
@@ -336,10 +336,10 @@
data, status_code, headers = patch_user_id_presences_source_id_with_http_info(user_id, source_id, opts)
return data
end
# 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.
+ # 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. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
# @param user_id user Id
# @param source_id Source
# @param [Hash] opts the optional parameters
# @option opts [UserPresence] :body
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers