IEditSession.CreateBanquet Method (DateTime, String, IClientStub, IReadOnlyList<ITable>, Guid) |
Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
Namespace:
Resto.Front.Api.Editors
Assembly:
Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxINewReserveStub CreateBanquet(
DateTime estimatedStartTime,
string activityType,
IClientStub client,
IReadOnlyList<ITable> tables,
Guid externalId = default
)
Parameters
- estimatedStartTime
- Type: System.DateTime
Approximate date and time of planned event, used to divide different events and remind staff to prepare table and ingredients. - activityType
- Type: System.String
Describes an activity of the reserve to be created as a plain text. Can be empty string. Maximum length is 160 chars. - client
- Type: Resto.Front.Api.Editors.Stubs.IClientStub
Client who asked to reserve table for his event. - tables
- Type: System.Collections.Generic.IReadOnlyList<ITable>
Specifies tables to be reserved at some moment in future. - externalId (Optional)
- Type: System.Guid
Identifier in the external system which can be used to match reserves in the iiko and in the external system.
Return Value
Type:
INewReserveStub
See Also