Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.11 KB

File metadata and controls

41 lines (32 loc) · 2.11 KB

EventCreateRequestSchema

Request body for creating a new event

Properties

Name Type Description Notes
name str Event name
profile_id str GPS Profile ID to link to this event [optional]
status str Event status (default: lead) [optional]
source_id str Source ID for the event booking source
start_date str Event start date (YYYY-MM-DD). NOTE: Informational only - effective event dates are calculated from linked reservations. [optional]
end_date str Event end date (YYYY-MM-DD). NOTE: Informational only - effective event dates are calculated from linked reservations. [optional]
transaction_mode str Transaction routing mode (default: none) [optional]
transaction_types List[str] Transaction types to route (required when transactionMode is post_into_group) [optional]
folio_config_id str Folio configuration ID [optional]
enable_aggregate_allotment_block bool Enable aggregate allotment block feature [optional]
aggregate_allotment_block_package_id str Package ID for aggregate allotment block [optional]
segment_id str Market segment ID [optional]

Example

from cloudbeds_pms.models.event_create_request_schema import EventCreateRequestSchema

# TODO update the JSON string below
json = "{}"
# create an instance of EventCreateRequestSchema from a JSON string
event_create_request_schema_instance = EventCreateRequestSchema.from_json(json)
# print the JSON string representation of the object
print(EventCreateRequestSchema.to_json())

# convert the object into a dict
event_create_request_schema_dict = event_create_request_schema_instance.to_dict()
# create an instance of EventCreateRequestSchema from a dict
event_create_request_schema_from_dict = EventCreateRequestSchema.from_dict(event_create_request_schema_dict)

[Back to Model list] [Back to API list] [Back to README]