Click or drag to resize

IEditSessionCreateBanquet Method (DateTime, IClientStub, IReadOnlyListITable, 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.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
INewReserveStub CreateBanquet(
	DateTime estimatedStartTime,
	IClientStub client,
	IReadOnlyList<ITable> tables,
	Guid externalId = default
)

Parameters

estimatedStartTime
Type: SystemDateTime
Approximate date and time of planned event, used to divide different events and remind staff to prepare table and ingredients.
client
Type: Resto.Front.Api.Editors.StubsIClientStub
Client who asked to reserve table for his event.
tables
Type: System.Collections.GenericIReadOnlyListITable
Specifies tables to be reserved at some moment in future.
externalId (Optional)
Type: SystemGuid
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