Skip to content

UserMWIDeliveryToMobileEndpointGetRequest23

Bases: OCIRequest

Request the user level data associated with MWI Delivery to Mobile Endpoint service. The response is either a UserMWIDeliveryToMobileEndpointGetResponse23 or an ErrorResponse.

   The following elements are only used in AS data mode:
   sendMissedCallAlert

Attributes:

user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserMWIDeliveryToMobileEndpointGetRequest23(OCIRequest):
    """Request the user level data associated with MWI Delivery to Mobile Endpoint service.
        The response is either a UserMWIDeliveryToMobileEndpointGetResponse23 or an ErrorResponse.

           The following elements are only used in AS data mode:
           sendMissedCallAlert

    Attributes:

        user_id (str):

    """

    user_id: str = field(metadata={"alias": "userId"})

Responses

Bases: OCIDataResponse

Response to UserMWIDeliveryToMobileEndpointGetRequest23.

Attributes:

is_active (bool):

mobile_phone_number (Optional[str]):

send_missed_call_alert (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserMWIDeliveryToMobileEndpointGetResponse23(OCIDataResponse):
    """Response to UserMWIDeliveryToMobileEndpointGetRequest23.

    Attributes:

        is_active (bool):

        mobile_phone_number (Optional[str]):

        send_missed_call_alert (bool):

    """

    is_active: bool = field(metadata={"alias": "isActive"})

    mobile_phone_number: Optional[str] = field(
        default=None, metadata={"alias": "mobilePhoneNumber"}
    )

    send_missed_call_alert: bool = field(metadata={"alias": "sendMissedCallAlert"})

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserMWIDeliveryToMobileEndpointGetRequest23

client = Client()

command = UserMWIDeliveryToMobileEndpointGetRequest23(
    user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("UserMWIDeliveryToMobileEndpointGetRequest23",
    user_id=...,
)

print(response)