Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.extension.favorite.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns the list of favorite contacts of the current extension.path()
put
(FavoriteCollection favoriteCollection) Updates the list of favorite contacts of the current extension.
-
Field Details
-
rc
-
parent
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
get
Returns the list of favorite contacts of the current extension. Favorite contacts include both company contacts (extensions) and personal contacts (address book records).HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/favorite Rate Limit Group: Light App Permission: ReadContacts User Permission: ReadPersonalContacts
- Throws:
RestException
IOException
-
put
public FavoriteContactList put(FavoriteCollection favoriteCollection) throws RestException, IOException Updates the list of favorite contacts of the current extension. Favorite contacts include both company contacts (extensions) and personal contacts (address book records).**Please note**: Currently personal address book size is limited to 10 000 contacts.HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/favorite Rate Limit Group: Medium App Permission: Contacts User Permission: EditPersonalContacts
- Throws:
RestException
IOException
-