Click or drag to resize

IEditSessionCreateReserve Method

Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
INewReserveStub CreateReserve(
	DateTime estimatedStartTime,
	string activityType,
	IClientStub client,
	IReadOnlyList<ITable> tables,
	Guid externalId = default
)

Parameters

estimatedStartTime  DateTime
Approximate date and time of planned visit, used to divide different visits and remind staff to prepare table.
activityType  String
Describes an activity of the reserve to be created as a plain text. Can be empty string. Maximum length is 160 chars.
client  IClientStub
Client who asked to reserve table for him.
tables  IReadOnlyListITable
Specifies tables to be reserved at some moment in future.
externalId  Guid  (Optional)
Identifier in the external system which can be used to match reserves in the Syrve and in the external system.

Return Value

INewReserveStub
See Also