UserPushNotificationRegistrationGetListRequest23
Bases: OCIRequest
Request a list of all of the push notification registrations for a user by either registration id or user id. The response is either UserPushNotificationRegistrationGetListResponse23 or ErrorResponse.
Attributes:
registration_id (Optional[str]):
user_id (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserPushNotificationRegistrationGetListRequest23.
A registration has more than one row in the response when the registration includes more than one token
and/or one or more event. There can be one more tokens per registration ID and there can be one or more
events per token.
Registration Date uses the format "yyyy-MM-dd'T'HH:mm:ss.SSSZ" in the time zone of the requested user.
Example: 2010-10-01T09:30:00:000-0400.
Attributes:
user_id (str):
push_notification_registration_data (Optional[List[PushNotificationRegistrationData23]]):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPushNotificationRegistrationGetListRequest23
client = Client()
command = UserPushNotificationRegistrationGetListRequest23(
registration_id=...,
user_id=...,
)
response = client.command(command)
print(response)