wxc_sdk.me.secondary_line.callcenter package

class wxc_sdk.me.secondary_line.callcenter.MeSecondaryLineCallCenterApi(*, session: RestSession, base: str | None = None)[source]

Bases: ApiChild

settings(lineowner_id: str) MeCallCenterSettings[source]

Get My Secondary Line Owner’s Call Center Settings

Retrieves the call center settings and list of all call centers associated with a secondary line of the authenticated user. Note that an authenticated user can only retrieve information for their configured secondary lines.

Calls from the Call Centers are routed to agents based on configuration. An agent can be assigned to one or more call queues and can be managed by supervisors. The secondary line must have the call center service assigned.

This API requires a user auth token with a scope of spark:telephony_config_read.

Parameters:

lineowner_id (str) – Unique identifier for the secondary line owner (applicable only for Virtual Lines).

Return type:

MeCallCenterSettings

modify(lineowner_id: str, settings: MeCallCenterSettings)[source]

Modify My Secondary Line Owner’s Call Center Settings

Modify the call center settings and availability for an agent in one or more call centers associated with a secondary line owner of the authenticated user. Note that an authenticated user can only modify information for their configured secondary lines.

Calls from the Call Centers are routed to agents based on configuration. An agent can be assigned to one or more call queues and can be managed by supervisors. Contains a list specifying the desired availability status of one or more call centers.

This API requires a user auth token with a scope of spark:telephony_config_write.

Parameters:
  • lineowner_id (str) – Unique identifier for the secondary line owner (applicable only for Virtual Lines).

  • settings (MeCallCenterSettings) – settings

base = 'telephony/config/people/me'