wxc_sdk.person_settings.call_waiting module
Call waiting API
- class wxc_sdk.person_settings.call_waiting.CallWaitingApi(*, session: RestSession, selector: ApiSelector = ApiSelector.person)[source]
Bases:
PersonSettingsApiChild
API for person’s call waiting settings
Also used for virtual lines, worekspaces
- feature = 'callWaiting'
- read(entity_id: str, org_id: str | None = None) bool [source]
Read Call Waiting Settings for
Retrieve Call Waiting Settings
With this feature, an entity can place an active call on hold and answer an incoming call. When enabled, while you are on an active call, a tone alerts you of an incoming call and you can choose to answer or ignore the call.
This API requires a full, user, or read-only administrator auth token with a scope of spark-admin:people_read.
- Parameters:
entity_id (str) – Unique identifier for the entity.
org_id (str) – entity is in this organization. Only admin users of another organization (such as partners) may use this parameter as the default is the same organization as the token used to access API.
- Returns:
call waiting setting
- Return type:
bool
- configure(entity_id: str, enabled: bool, org_id: str | None = None)[source]
Configure Call Waiting Settings
Configure an entity’s Call Waiting Settings
With this feature, a entity can place an active call on hold and answer an incoming call. When enabled, while you are on an active call, a tone alerts you of an incoming call and you can choose to answer or ignore the call.
This API requires a full or user administrator auth token with the spark-admin:people_write scope.
- Parameters:
entity_id (str) – Unique identifier for the entity.
enabled (bool) – true if the Call Waiting feature is enabled.
org_id (str) – entity is in this organization. Only admin users of another organization (such as partners) may use this parameter as the default is the same organization as the token used to access API.
- base = ''