iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Editors
IEditSession Interface
IEditSession Methods
AddOrderGuest Method
AddOrderGuest Method (String, IOrderStub)
AddOrderGuest Method (Guid, String, IOrderStub)

# IEditSession AddOrderGuest Method (Guid, String, IOrderStub)

Adds new guest with the given ID to existing order. User must have rights to edit orders.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    INewOrderGuestItemStub AddOrderGuest(
    	Guid id,
    	string name,
    	IOrderStub order
    )

#### Parameters

id
  Type: System
  Guid
  Unique identifier of the new guest in the order. MUST be unique not only for the order, but for the whole system. Therefore it must be taken from some synchronization operation or generated with Guid.NewGuid()
name
  Type: System
  String
  Name of the new guest. If name is null, then it will be generated automatically.
order
  Type: Resto.Front.Api.Editors.Stubs
  IOrderStub
  Existing order

#### Return Value

Type: INewOrderGuestItemStub
See Also

#### Reference

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