Skip to main content

PagingOnlyGroupsService

A list of all methods in the PagingOnlyGroupsService service. Click on the method name to view detailed information about that method.

MethodsDescription
list_paging_group_usersReturns a list of users allowed to page this group.
assign_multiple_paging_group_users_devicesAdds and/or removes paging group users and devices.
list_paging_group_devicesReturns a list of paging devices assigned to this group.

list_paging_group_users

Returns a list of users allowed to page this group.

  • HTTP Method: GET
  • Endpoint: /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/users

Parameters

NameTypeRequiredDescription
account_idstrInternal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
paging_only_group_idstrInternal identifier of a paging group
pageintIndicates a page number to retrieve. Only positive number values are accepted
per_pageintIndicates a page size (number of items)

Return Type

PagingOnlyGroupUsers

Example Usage Code Snippet

from ring_central import RingCentral, Environment

sdk = RingCentral(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

result = sdk.paging_only_groups.list_paging_group_users(
account_id="~",
paging_only_group_id="pagingOnlyGroupId",
page=1,
per_page=100
)

print(result)

assign_multiple_paging_group_users_devices

Adds and/or removes paging group users and devices.

  • HTTP Method: POST
  • Endpoint: /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/bulk-assign

Parameters

NameTypeRequiredDescription
request_bodyEditPagingGroupRequestThe request body.
account_idstrInternal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
paging_only_group_idstrInternal identifier of a paging group

Example Usage Code Snippet

from ring_central import RingCentral, Environment
from ring_central.models import EditPagingGroupRequest

sdk = RingCentral(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = EditPagingGroupRequest(
added_user_ids=[
"addedUserIds"
],
removed_user_ids=[
"removedUserIds"
],
added_device_ids=[
"addedDeviceIds"
],
removed_device_ids=[
"removedDeviceIds"
]
)

result = sdk.paging_only_groups.assign_multiple_paging_group_users_devices(
request_body=request_body,
account_id="~",
paging_only_group_id="pagingOnlyGroupId"
)

print(result)

list_paging_group_devices

Returns a list of paging devices assigned to this group.

  • HTTP Method: GET
  • Endpoint: /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/devices

Parameters

NameTypeRequiredDescription
account_idstrInternal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
paging_only_group_idstrInternal identifier of a paging group
pageintIndicates a page number to retrieve. Only positive number values are accepted
per_pageintIndicates a page size (number of items)

Return Type

PagingOnlyGroupDevices

Example Usage Code Snippet

from ring_central import RingCentral, Environment

sdk = RingCentral(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

result = sdk.paging_only_groups.list_paging_group_devices(
account_id="~",
paging_only_group_id="pagingOnlyGroupId",
page=1,
per_page=100
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →