iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Editors
IEditSession Interface
IEditSession Methods
CreateBanquet Method
CreateBanquet Method (DateTime, IClientStub, IOrderStub, Guid)
CreateBanquet Method (DateTime, IClientStub, IReadOnlyList(ITable), Guid)

# IEditSession CreateBanquet Method (DateTime, IClientStub, IOrderStub, Guid)

Creates reservation for planned event in future. Order's 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) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    INewReserveStub CreateBanquet(
    	DateTime estimatedStartTime,
    	IClientStub client,
    	IOrderStub order,
    	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.
client
  Type: Resto.Front.Api.Editors.Stubs
  IClientStub
  Client who asked to reserve table for his event.
order
  Type: Resto.Front.Api.Editors.Stubs
  IOrderStub
  Order used to form menu for coming event, specify serve sequence (via courses), prepay.
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

#### Reference

IEditSession Interface
CreateBanquet Overload
Resto.Front.Api.Editors Namespace