ServiceProviderScheduleModifyEventRequest
Bases: OCIRequest
Modify an event of a service provider schedule. The response is either a SuccessResponse or an ErrorResponse. The startDate element is adjusted to the first occurrence of the recurrent schedule that comes at or after the startDate. The endDate element is set to the sum of the adjusted starDate element value and the event duration.
Attributes:
service_provider_id (str):
schedule_key (ScheduleKey):
event_name (str):
new_event_name (Optional[str]):
start_date (Optional[int]):
all_day_event (Optional[bool]):
start_time (Optional[HourMinute]):
end_time (Optional[HourMinute]):
end_date (Optional[int]):
recurrence (Optional[Nillable[Recurrence]]):
Source code in src/mercury_ocip_fast/commands/commands.py
70027 70028 70029 70030 70031 70032 70033 70034 70035 70036 70037 70038 70039 70040 70041 70042 70043 70044 70045 70046 70047 70048 70049 70050 70051 70052 70053 70054 70055 70056 70057 70058 70059 70060 70061 70062 70063 70064 70065 70066 70067 70068 70069 70070 70071 70072 70073 70074 70075 70076 70077 70078 70079 70080 70081 70082 70083 70084 70085 70086 70087 70088 70089 70090 70091 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderScheduleModifyEventRequest
client = Client()
command = ServiceProviderScheduleModifyEventRequest(
service_provider_id=...,
schedule_key=...,
event_name=...,
new_event_name=...,
start_date=...,
all_day_event=...,
start_time=...,
end_time=...,
end_date=...,
recurrence=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("ServiceProviderScheduleModifyEventRequest",
service_provider_id=...,
schedule_key=...,
event_name=...,
new_event_name=...,
start_date=...,
all_day_event=...,
start_time=...,
end_time=...,
end_date=...,
recurrence=...,
)
print(response)