UserCallMeNowGetCriteriaRequest
Bases: OCIRequest
Get a criteria for the user's call me now service. The response is either a UserCallMeNowGetCriteriaResponse or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the UserCallMeNowGetCriteriaRequest.
Attributes:
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
reject_call (bool):
to_dn_criteria (CallMeNowToDnCriteria):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallMeNowGetCriteriaRequest
client = Client()
command = UserCallMeNowGetCriteriaRequest(
user_id=...,
criteria_name=...,
)
response = client.command(command)
print(response)