IEditSessionCreateBanquet Method (DateTime, String, 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)
Syntax INewReserveStub CreateBanquet(
DateTime estimatedStartTime,
string activityType,
IClientStub client,
IOrderStub order,
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. - activityType
- Type: SystemString
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.StubsIClientStub
Client who asked to reserve table for his event. - order
- Type: Resto.Front.Api.Editors.StubsIOrderStub
Order used to form menu for coming event, specify serve sequence (via courses), prepay. - 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:
INewReserveStubSee Also