iikoFront Api V7 Code Reference
iikoFront Api V7 Code Reference
Resto.Front.Api
IOperationService Interface
IOperationService Methods

# IOperationService Interface

Provides a set of operations.

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

    public interface IOperationService

The IOperationService type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddButtonToClosedOrderScreen | Adds a button to the closed order screen.
| AddButtonToOrderEditScreen | Adds a button to plugins menu on the order edit screen.
| AddButtonToPaymentScreen | Adds a button to the payment screen.
| AddButtonToPluginsMenu | Adds a button to plugins menu on the additional operations screen.
| AddButtonToProductsReturnScreen | Adds a button to “Other” menu on the products return screen. Button is shown only when returning products of a past order (Additional Operations -> Past Receipts -> Find past order by number -> Order Return -> Other).
| AddClientToOrder | Returns true if client is bound to the order.
| AddDonation | Adds new donation to order.
| AddErrorMessage | Shows non-modal error message in the left top corner of the screen.
| AddIikoCardReferrerToOrder | Bounds to the order iikoCard5 referrer by id.
| AddNotificationMessage | Shows non-modal notification message in the left top corner of the screen.
| AddStatusBarInfo | Shows text in iikoFront status bar.
| AddWarningMessage | Shows non-modal warning message in the left top corner of the screen.
| AuthenticateByPin |
| BillOrder | Changes the order to Bill status and returns text of bill cheque.
| CalculateDeliveryTerminalWorkload | Returns terminal workload.
| CallExternalOperation(Int32, String, String, Byte , ITerminal) | Calls an operation which is implemented in another plugin.
| CallExternalOperation TRequest, TResponse (Int32, String, String, TRequest, ITerminal, SerializationBinder, ISurrogateSelector) | Calls an operation which is implemented in another plugin.
| CancelBill | Сhanges the order to the New status and prints the bill cancellation cheque.
| CancelNewDelivery | Cancels new delivery.
| CancelNewDeliveryAndHideItemsFromOlap | Cancels new delivery and hides delivery order items from OLAP reports.
| CancelReserve | Cancels reservation due to some reason
| CanProductBePaidWithPaymentType | Function describes if the product is compatible with payment type, i.e. payment type can be used to pay for the product.
| ChangeDeliveryOpinion | Changes client's opinion on closed delivery.
| ChangeKitchenOrderItemsProcessingStatus | Changes cooking status of the specified cooking items and modifiers.
| ChangePreliminaryOrder | Changes preliminary order.
| CheckCanEditOrder | If current user has permissions to view order.
| CheckPermission | Checks the user has the permission.
| CheckPermissions | Checks the user has permissions.
| CheckProductsSellingRestrictions | If current user can add these products with such amounts.
| CloseCafeSession | Closes cafe session.
| ClosePersonalSession | Closes personal session for the specified user or user defined by the credentials.
| CreateDiscountCard | Creates a new discount card.
| CreateEditSession | Creates an edit session. All changes made with this session will be accumulated without affecting entities. Use SubmitChanges(ICredentials, IEditSession) method to apply all changes or do nothing to discard them.
| CreatePreliminaryOrder | Create new preliminary order.
| DeleteDonation | Deletes existing donation from the order.
| DeleteOrder | Deletes order. Order must have no printed items. User must have rights to edit orders.
| DeleteOrderAndHideItemsFromOlap | Deletes order and hides order items from OLAP reports. Order must have no printed items, no payment items and no removed with writeoff items. User must have rights to edit orders.
| DeletePreliminaryOrder | Deletes preliminary order
| EnablePreliminaryOrdersScreen | Enable preliminary orders screen for iikoFront user.
| ExecuteContinuousOperation(Action IOperationService ) | Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
| ExecuteContinuousOperation T (Func IOperationService, T ) | Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
| FormatDocumentOnPrintingDevice | Format document markup on specified printer.
| GetActivePaymentTypes | Returns active payment types bound to the specified processor.
| GetActiveProducts |
| GetActiveRemovalTypes | Gets removal types which are allowed to use.
| GetActiveStreets | Obsolete. Gets active streets.
| GetAllergenGroupsByOrderRootItem | Get list of allergen groups for OrderRootItem.
| GetAllergenGroupsByProductIds | Get list of allergen groups for products.
| GetAllProducts | Gets all products (both active and inactive).
| GetAllStreets | Obsolete. Gets all streets (both active and inactive).
| GetAvailableKitchenStatuses | Returns available kitchen statuses and their names.
| GetCafeSessionById | Returns cafeSession by id.
| GetCafeSessions |
| GetCashRegisterInfoById | Returns cashRegisterInfo by id.
| GetCashRegisterInfos |
| GetChangedDeliveryOrders |
| GetChangedOrders |
| GetChangedReserves |
| GetChildGroupsByProductGroup | Returns childGroups of the specified productGroup.
| GetChildProductsByProductGroup | Returns childProducts of the specified productGroup.
| GetCities |
| GetCityById | Returns city by id.
| GetClientById | Returns client by id.
| GetCommonGroupModifiers | Group modifiers that are available for the whole compound item. See GetTemplatedModifiersParams(IProduct) of the templated products to get default amount settings for them.
| GetCommonSimpleModifiers | Simple modifiers that are available for the whole compound item. See GetTemplatedModifiersParams(IProduct) of the templated products to get default amount settings for them.
| GetCompoundItemTemplateById | Returns compoundItemTemplate by id.
| GetCompoundItemTemplates |
| GetConceptionById | Returns conception by id.
| GetCurrentUser | Get the logged user.
| GetDeletedOrderTypes |
| GetDeliveryCancelCauseById | Returns deliveryCancelCause by id.
| GetDeliveryCancelCauses |
| GetDeliveryOrderById | Returns deliveryOrder by id.
| GetDeliveryOrders | Returns delivery orders.
| GetDeliverySection | Returns section of current group where delivery orders are created. Is determined by default table of group.
| GetDisabledSizesByProduct | Returns disabledSizes of the specified product.
| GetDiscountCardById | Returns discountCard by id.
| GetDiscountCards |
| GetDiscountTypeById | Returns discountType by id.
| GetDiscountTypes |
| GetDonationTypesCompatibleWith | Gets donation types which are allowed to use with the order.
| GetExternalOperations | Returns the list of all currently registered external operations with their service names and owner plugins' licensable module identifiers.
| GetFrontDeliverySettings | Returns courier and self-service delivery duration time set on a delivery terminal.
| GetGroupModifiers | Returns group modifiers of the specified product.
| GetHierarchicalMenu |
| GetHostAgentId |
| GetHostDeliverySettings | Returns delivery settings of restaurant.
| GetHostRestaurant |
| GetHostTerminal | Returns local terminal, where the plugin is currently being executed.
| GetHostTerminalPointsOfSale | Returns list of points of sale attached to local terminal. Empty list means that local terminal is not cash terminal.
| GetHostTerminalSettings | Returns settings of the local terminal.
| GetHostTerminalsGroup |
| GetIncludedInMenuSectionsByProduct | Returns includedInMenuSections of the specified product.
| GetKitchenOrderById | Returns kitchenOrder by id.
| GetKitchenOrders |
| GetMarketingSourceById | Returns marketingSource by id.
| GetMarketingSources |
| GetOrderById | Returns order by id.
| GetOrderItemProductGroups | Returns product groups from the specified order. Products in each group are intended to be cooked together.
| GetOrders | Returns orders list.
| GetOrderTypeById | Returns orderType by id.
| GetOrderTypes |
| GetOrganizationFingerprint | Returns a fingerprint which can be used to identify an iikoRMS server instance.
| GetPastOrder | Get closed order data from server, and returns it.
| GetPaymentSystemKey | Tries to return a string for matching the payment type to the payment system if it exists, elseway returns empty string.
| GetPaymentTypeById | Returns paymentType by id.
| GetPaymentTypes |
| GetPaymentTypesToPayOutOnUser | Returns payment types that can be processed “silently”, without user interface.
| GetPointOfSaleById | Returns pointOfSale by id.
| GetPreliminaryOrderById | Returns preliminaryOrder by id or null if preliminaryOrder with specified id doesn't exist.
| GetPreliminaryOrders | Get all preliminary orders.
| GetPrice | Returns price for the product according to the given client price category.
| GetPriceCategories |
| GetPriceCategoryById | Returns priceCategory by id.
| GetProductByBarcode | Returns product by barcode or null if it is not found.
| GetProductById | Returns product by id.
| GetProductCategories |
| GetProductCategoryById | Returns productCategory by id.
| GetProductGroupById | Returns productGroup by id.
| GetProductGroups |
| GetProductScaleById | Returns productScale by id.
| GetProductScales |
| GetProductScaleSizes |
| GetProductSizeById | Returns productSize by id.
| GetProductSizes |
| GetProductsRemainingAmounts | Gets remaining amounts of products in stop list.
| GetProductStocksListById | Returns productStocksList by id.
| GetProductStocksLists |
| GetQuickMenu | Returns quick menu for specified restaurant section and day.
| GetReceiptMarkup | Get reciept markup of the payment.
| GetRegionById | Returns region by id.
| GetRegions |
| GetRelatedDeliveryOrders | Gets all deliveries that are related with argument through splitting between cash registers. Delivery itself is also returned. If delivery was not split, returns delivery passed as argument.
| GetRemovalTypeById | Returns removalType by id.
| GetReportMarkupById | Get report markup by id.
| GetReportPrinter | Get instance of report printer
| GetReserveById | Returns reserve by id.
| GetReserves | Returns reserves or banquets in any ReserveStatus.
| GetRestaurantSectionById | Returns restaurantSection by id.
| GetRestaurantSections |
| GetRoleById | Returns role by id.
| GetRoles |
| GetSimpleModifiers | Returns simple modifiers of the specified product.
| GetSplittableGroupModifiers | Group modifiers that are available for compound item component. See GetTemplatedModifiersParams(IProduct) of the templated products to get default amount settings for them.
| GetSplittableSimpleModifiers | Simple modifiers that are available for compound item component. See GetTemplatedModifiersParams(IProduct) of the templated products to get default amount settings for them.
| GetStreetById | Returns street by id.
| GetStrictAccordanceToScheduleUserRole | Method returns the role of the user.
| GetSurveyItemById | Returns surveyItem by id.
| GetSurveyItems |
| GetTableById | Returns table by id.
| GetTables |
| GetTaxCategories |
| GetTaxCategoryById | Returns taxCategory by id.
| GetTemplatedModifiersParamsByProduct | Returns templatedModifiersParams of the specified product.
| GetTerminalById | Returns terminal by id.
| GetTerminals | Returns list of terminals in the restaurant.
| GetTerminalsGroupById | Returns terminalsGroup by id.
| GetTerminalsGroupPointsOfSale | Returns list of points of sale of the specified terminals group.
| GetTerminalsGroupRestaurantSections | Returns list of restaurant sections of the specified terminals group.
| GetTerminalsGroups |
| GetTerminalsGroupTerminals | Returns list of terminals attached to the specified terminals group.
| GetTransportSettings | Returns iikoTransport settings.
| GetUser | Get user corresponding to specified credentials.
| GetUserById | Returns user by id.
| GetUserRoles | Returns roles available for the user.
| GetUsers |
| IsActiveForDeliveries |
| IsAllCafeSessionsClosed | Returns true if all cafe sessions of the local terminal are closed.
| IsAllCafeSessionsOpen | Returns true if all cafe sessions of the local terminal are open.
| IsDeliveryActive | Returns whether delivery is active.
| IsDeliveryConfirmationActive | Returns whether delivery confirmation is active.
| IsMultiCashRegisterConfiguration | Returns true if multi cash register configuration allowed.
| IsOrderHasVatInvoice | Returns whether VAT invoice is active for order.
| IsProductSellingRestricted | Checks remaining amount of the product and determines whether selling of that product is restricted.
| NeedToSplitOrderBeforePayment | Checks if order should be splitted between cash registers before payment. Method also returns estimated point of sale for order if it can be determinated at the moment.
| OpenCafeSession | Opens cafe session.
| OpenPersonalSession | Opens personal session for the specified or defined by the credentials user using the specified role.
| PayOrder | Pay order with included processed or “silent” payment items.
| PayOrderAndPayOutOnUser | Pay order and pay out on user.
| PrepareDeliveryForSending | Prepares delivery for sending by courier, switches DeliveryStatus from New to Waiting.
| Print | Print document on specified printer.
| PrintBanquet | Prints preliminary document with estimated event date and time, planned menu, guests count, client contacts, prepay info, etc.
| PrintBillCheque | Changes the order to Bill status if it is not Bill and prints bill cheque.
| PrintDeliveryBill | Prints delivery bill.
| PrintOrderItems | Prints service cheque for defined order item products.
| PrintReceiptCheque | Printing receipts to a printer.
| PrintTableReservedCheque | Prints short “Table reserved” document with estimated event date and time, guests count and client contacts. Can be used to place onto reserved table as a hint not to occupy it.
| ProcessPrepay | Processes existing payment item. Payment item should be processed externally or supports silent processing.
| RegisterBeforePrintDocumentHandler | Allows to add custom markup to the document header and footer or abort the operation by throwing OperationCanceledException. Refer to Document for description of document extension.
| RegisterCashRegisterFactory | Registers cash register factory.
| RegisterChequeTaskProcessor | Registers chequeTaskProcessor for extension the functionality of the cash register.
| RegisterCustomRoundingHandler | Allows to provide custom order sum rounding implementation.
| RegisterExternalCourierServicesProvider | Registers ecs provider.
| RegisterExternalOperation(String, String, Func ValueTuple Byte , String, Int32, Guid , Byte ) | Exposes a custom operation to be available for call by other plugins. The registration is not permanent, it holds true until disposing the return value, or plugin shutdown.
| RegisterExternalOperation TRequest, TResponse (String, String, Func ValueTuple TRequest, String, Int32, Guid , TResponse , SerializationBinder, ISurrogateSelector) | Exposes a custom operation to be available for call by other plugins. The registration is not permanent, it holds true until disposing the return value, or plugin shutdown.
| RegisterPaymentSystem | Registers payment system.
| RegisterScaleFactory | Registers scale factory.
| RemoveOrderClient | Returns true if client is unbound of the order.
| SearchClients | Search clients. The number of results is limited.
| SearchDiscountCardByNumber | Searches a discount card by given card number.
| SearchStreets | Searches streets and returns limited number of results.
| SendDelivery | Sends the delivery.
| SendHrsCardTransactionToServer | Sends guest data to the server.
| SplitOrderBetweenCashRegisters | Split order between cash registers according to the current point of sale mapping.
| StartCourseCooking | Starts cooking for all order item products of the specified course.
| StartProductsCooking | Starts cooking for the specified order item products.
| StartService | Starts the specified service.
| StopService | Stops the specified service.
| SubmitChanges | Applies all changes made with specified edit session.
| TryEditCurrentOrder | Allows to show messages and make changes to the order that is currently opened on the order edit screen.
| TryGetBillPrinter | Try get bill printer for specified restaurant section.
| TryGetCafeSessionByCashRegister | Returns current open cafe session on cash register.
| TryGetCafeSessionById | Returns cafeSession by id or null if cafeSession with specified id doesn't exist.
| TryGetCashRegisterInfoById | Returns cashRegisterInfo by id or null if cashRegisterInfo with specified id doesn't exist.
| TryGetChildGroupsByProductGroup | Returns childGroups of the specified productGroup or null if productGroup doesn't exist.
| TryGetChildProductsByProductGroup | Returns childProducts of the specified productGroup or null if productGroup doesn't exist.
| TryGetCityById | Returns city by id or null if city with specified id doesn't exist.
| TryGetClientById | Returns client by id or null if client with specified id doesn't exist.
| TryGetClientByPhone | Returns client by phone.
| TryGetCompoundItemTemplateById | Returns compoundItemTemplate by id or null if compoundItemTemplate with specified id doesn't exist.
| TryGetConceptionById | Returns conception by id or null if conception with specified id doesn't exist.
| TryGetDeliveryCancelCauseById | Returns deliveryCancelCause by id or null if deliveryCancelCause with specified id doesn't exist.
| TryGetDeliveryOrderById | Returns deliveryOrder by id or null if deliveryOrder with specified id doesn't exist.
| TryGetDisabledSizesByProduct | Returns disabledSizes of the specified product or null if product doesn't exist.
| TryGetDiscountCardById | Returns discountCard by id or null if discountCard with specified id doesn't exist.
| TryGetDiscountTypeById | Returns discountType by id or null if discountType with specified id doesn't exist.
| TryGetDocumentPrinter | Try get document printer for specified restaurant section.
| TryGetIncludedInMenuSectionsByProduct | Returns includedInMenuSections of the specified product or null if product doesn't exist.
| TryGetKitchenOrderById | Returns kitchenOrder by id or null if kitchenOrder with specified id doesn't exist.
| TryGetMarketingSourceById | Returns marketingSource by id or null if marketingSource with specified id doesn't exist.
| TryGetOrderById | Returns order by id or null if order with specified id doesn't exist.
| TryGetOrderExternalDataByKey | Returns external data by key. Use [!:AddOrderExternalData] to add the data in order.
| TryGetOrderTypeById | Returns orderType by id or null if orderType with specified id doesn't exist.
| TryGetParentByProduct | Returns parent of the specified product or null if product doesn't exist.
| TryGetParentByProductGroup | Returns parent of the specified productGroup or null if productGroup doesn't exist.
| TryGetPaymentTypeById | Returns paymentType by id or null if paymentType with specified id doesn't exist.
| TryGetPointOfSaleById | Returns pointOfSale by id or null if pointOfSale with specified id doesn't exist.
| TryGetPreliminaryOrderById | Returns preliminaryOrder by id.
| TryGetPriceCategoryById | Returns priceCategory by id or null if priceCategory with specified id doesn't exist.
| TryGetProductById | Returns product by id or null if product with specified id doesn't exist.
| TryGetProductCategoryById | Returns productCategory by id or null if productCategory with specified id doesn't exist.
| TryGetProductGroupById | Returns productGroup by id or null if productGroup with specified id doesn't exist.
| TryGetProductGroupMenuImage | Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned.
| TryGetProductMenuImage | Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product. If the product doesn't have an image, null will be returned.
| TryGetProductScaleById | Returns productScale by id or null if productScale with specified id doesn't exist.
| TryGetProductSizeById | Returns productSize by id or null if productSize with specified id doesn't exist.
| TryGetProductStocksListById | Returns productStocksList by id or null if productStocksList with specified id doesn't exist.
| TryGetReceiptChequePrinter | Try get receipt cheque printer for default cash register.
| TryGetRegionById | Returns region by id or null if region with specified id doesn't exist.
| TryGetRemovalTypeById | Returns removalType by id or null if removalType with specified id doesn't exist.
| TryGetReserveByExternalId | Returns reserve by its external id or null if reserve with specified external id doesn't exist.
| TryGetReserveById | Returns reserve by id or null if reserve with specified id doesn't exist.
| TryGetRestaurantSectionById | Returns restaurantSection by id or null if restaurantSection with specified id doesn't exist.
| TryGetRoleById | Returns role by id or null if role with specified id doesn't exist.
| TryGetSectionSchemaByRestaurantSection | Returns sectionSchema of the specified restaurantSection or null if restaurantSection doesn't exist.
| TryGetSelectiveDiscountItemSettings | Returns order items to which the specified selective discount item is applied or null if the discount item is applied to the whole order.
| TryGetStickerPrinter | Try get sticker printer for specified restaurant section.
| TryGetStreetById | Returns street by id or null if street with specified id doesn't exist.
| TryGetSurveyItemById | Returns surveyItem by id or null if surveyItem with specified id doesn't exist.
| TryGetTableById | Returns table by id or null if table with specified id doesn't exist.
| TryGetTaxCategoryById | Returns taxCategory by id or null if taxCategory with specified id doesn't exist.
| TryGetTemplatedModifiersParamsByProduct | Returns templatedModifiersParams of the specified product or null if product doesn't exist.
| TryGetTerminalById | Returns terminal by id or null if terminal with specified id doesn't exist.
| TryGetTerminalsGroupById | Returns terminalsGroup by id or null if terminalsGroup with specified id doesn't exist.
| TryGetUserById | Returns user by id or null if user with specified id doesn't exist.
| UpdateDiscountCard | Updates an existing discount card.
| UpdatePaymentScreenButtonState | Updates an existing button state on the payment screen.

Top
Extension Methods

| Name | Description
--- | --- | ---
| AddDiscount | Adds simple discount of known type to existing order. User must have rights to work with discounts. (Defined by OperationServiceExtensions.)
| AddDiscountByCardNumber | Add discount by card number. (Defined by OperationServiceExtensions.)
| AddExternalFiscalizedPaymentItem(Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Overloaded. Add new externally fiscalized payment item to order. (Defined by OperationServiceExtensions.)
| AddExternalFiscalizedPaymentItem(Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Overloaded. Add new external fiscalized payment item to order. (Defined by OperationServiceExtensions.)
| AddExternalPaymentItem(Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials) | Overloaded. Add new external payment item to order. (Defined by OperationServiceExtensions.)
| AddExternalPaymentItem(Guid, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials) | Overloaded. Add new external payment item to order. (Defined by OperationServiceExtensions.)
| AddFlexibleSumDiscount | Adds simple discount of known type to existing order. User must have rights to work with discounts. (Defined by OperationServiceExtensions.)
| AddFlexibleSumDiscountByCardNumber | Add discount by card number. (Defined by OperationServiceExtensions.)
| AddIikoCardDiscounts | Adds discounts grouped by order items. (Defined by OperationServiceExtensions.)
| AddOrderCombo | Create order combo item. Order must contain new combo items. (Defined by OperationServiceExtensions.)
| AddOrderExternalData | Adds external data to the order. Use DeleteOrderExternalData(IOperationService, String, IOrder, ICredentials) to delete the data when it's no longer needed. (Defined by OperationServiceExtensions.)
| AddOrderGuest(String, IOrder, ICredentials) | Overloaded. Adds new guest to existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderGuest(Guid, String, IOrder, ICredentials) | Overloaded. Adds new guest with the given ID to existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the order item in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the compound item in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the compound item component in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the order item in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the compound item in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, Nullable Int32 , Nullable Decimal ) | Overloaded. Adds order item modifier to the compound item component in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderProductItem(Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, Nullable Decimal ) | Overloaded. Adds assortment position to the guest in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderProductItem(Guid, Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, Nullable Decimal ) | Overloaded. Adds assortment position to the guest in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| AddOrderServiceItem | Adds time pay service item to the guest in existing order. User must have permission to edit orders. (Defined by OperationServiceExtensions.)
| AddPaymentItem(Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Overloaded. Add new payment item to order. (Defined by OperationServiceExtensions.)
| AddPaymentItem(Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Overloaded. Add new payment item to order. (Defined by OperationServiceExtensions.)
| AddPreliminaryPaymentItem(Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials) | Overloaded. Add new preliminary payment item to order. (Defined by OperationServiceExtensions.)
| AddPreliminaryPaymentItem(Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials) | Overloaded. Add new preliminary payment item to order. (Defined by OperationServiceExtensions.)
| BindReserveToOrder | Converts exising reserve or banquet without order to banquet with order. (Defined by OperationServiceExtensions.)
| ChangeClientAddresses | Changes client addresses. (Defined by OperationServiceExtensions.)
| ChangeClientBirthDate | Changes client's birth date. (Defined by OperationServiceExtensions.)
| ChangeClientBlacklistInfo | Changes client blacklist info. (Defined by OperationServiceExtensions.)
| ChangeClientCardNumber | Changes client card number. (Defined by OperationServiceExtensions.)
| ChangeClientComment | Changes client comment. (Defined by OperationServiceExtensions.)
| ChangeClientConsentDates | Changes client's dates of consent. (Defined by OperationServiceExtensions.)
| ChangeClientEmails | Changes client emails list. (Defined by OperationServiceExtensions.)
| ChangeClientGender | Change client's gender. (Defined by OperationServiceExtensions.)
| ChangeClientIikoBizId | Changes client's account in iiko.biz. (Defined by OperationServiceExtensions.)
| ChangeClientLastOrderDate | Changes client's last order date. (Defined by OperationServiceExtensions.)
| ChangeClientLinkedCounteragent | Changes client linked counter agent. (Defined by OperationServiceExtensions.)
| ChangeClientMainAddressIndex | Changes client main address index. (Defined by OperationServiceExtensions.)
| ChangeClientMarketingSource | Changes client marketing source. (Defined by OperationServiceExtensions.)
| ChangeClientName | Changes client name. (Defined by OperationServiceExtensions.)
| ChangeClientNick | Changes client nickname. (Defined by OperationServiceExtensions.)
| ChangeClientOrganizationDetailsInfo | Changes organization details information of client. (Defined by OperationServiceExtensions.)
| ChangeClientPersonalDataConsent | Changes whether client consented processing their personal data. (Defined by OperationServiceExtensions.)
| ChangeClientPersonalDataProcessingDates | Changes dates of the time interval which allows client's legal personal data processing without thier consent. (Defined by OperationServiceExtensions.)
| ChangeClientPhones | Changes client phones list. (Defined by OperationServiceExtensions.)
| ChangeClientReceivesLoyaltySystemNotifications | Changes whether client receives loyalty system notification messages. (Defined by OperationServiceExtensions.)
| ChangeClientReceivesOrderStatusNotifications | Changes whether client receives order status notification messages. (Defined by OperationServiceExtensions.)
| ChangeClientReceivesPromotionalNotifications | Changes whether client receives promotional notification messages. (Defined by OperationServiceExtensions.)
| ChangeClientSurname | Changes client surname. (Defined by OperationServiceExtensions.)
| ChangeComboAmount | Change combo amount. (Defined by OperationServiceExtensions.)
| ChangeComboPrice | Change combo price. (Defined by OperationServiceExtensions.)
| ChangeCookingPriority | Changes custom cooking priority and top priority flag. (Defined by OperationServiceExtensions.)
| ChangeDeliveryActualDeliverTime | Change time when the order was actually delivered. (Defined by OperationServiceExtensions.)
| ChangeDeliveryAddress | Changes address of delivery (Defined by OperationServiceExtensions.)
| ChangeDeliveryClientName | Change name of delivery client. (Defined by OperationServiceExtensions.)
| ChangeDeliveryComment | Change the order comment. (Defined by OperationServiceExtensions.)
| ChangeDeliveryConfirmTime | Changes delivery confirmation state and time. (Defined by OperationServiceExtensions.)
| ChangeDeliveryCourier | Assign/Change the order courier. Can use this action only before the order is to be delivered. (Defined by OperationServiceExtensions.)
| ChangeDeliveryCustomApiData | Change the delivery custom data from api. (Defined by OperationServiceExtensions.)
| ChangeDeliveryDuration | Change duration of delivery processing. (Defined by OperationServiceExtensions.)
| ChangeDeliveryEmail | Change the order e-mail. (Defined by OperationServiceExtensions.)
| ChangeDeliveryExpectedDeliverTime | Change time when client wants the order to be delivered. (Defined by OperationServiceExtensions.)
| ChangeDeliveryExpectedDuration | Set calculated delivery duration without overrided value on terminal. (Defined by OperationServiceExtensions.)
| ChangeDeliveryExternalCourier | Changes external courier for delivery. (Defined by OperationServiceExtensions.)
| ChangeDeliveryExternalCourierService | Changes external courier service for delivery. (Defined by OperationServiceExtensions.)
| ChangeDeliveryLastVerifiedRestrictionsHash | Set last verified restirictions hash from server. (Defined by OperationServiceExtensions.)
| ChangeDeliveryLocation | Changes delivery address location. (Defined by OperationServiceExtensions.)
| ChangeDeliveryMarketingSource | Assign/change order marketing source. (Defined by OperationServiceExtensions.)
| ChangeDeliveryMovedId | Change new delivery identifier created for move to a new terminal. (Defined by OperationServiceExtensions.)
| ChangeDeliveryOperator | Assign/change the order operator. (Defined by OperationServiceExtensions.)
| ChangeDeliveryOrderPredictedCookingCompleteTime | Change predicted time when the order cooking should be completed. Can change property only for Unconfirmed, New or Waiting delivery. (Defined by OperationServiceExtensions.)
| ChangeDeliveryPhone | Changes the order phone. (Defined by OperationServiceExtensions.)
| ChangeDeliveryPredictedDeliveryTime | Change predicted time when the order should be delivered. Can change property only for Unconfirmed, New or Waiting delivery. (Defined by OperationServiceExtensions.)
| ChangeDeliveryProblemComment | Change the order problem comment. (Defined by OperationServiceExtensions.)
| ChangeDeliveryProblemStatus | Change the order problem status. (Defined by OperationServiceExtensions.)
| ChangeDeliverySplitBetweenPersons | Changes the order property if it should be splitted between persons. (Defined by OperationServiceExtensions.)
| ChangeEstimatedOrderGuestsCount | Changes estimated order guests count. Use this method to set estimated guests count when guests collection doesn't reflect actual state of affairs. (Defined by OperationServiceExtensions.)
| ChangeExternalPaymentItemCustomData | Changes custom data of existing external payment item. (Defined by OperationServiceExtensions.)
| ChangeOrderAppliedIikoCard5ManualConditions | Change iikoCard5 manual conditions applied for order. (Defined by OperationServiceExtensions.)
| ChangeOrderComment | Changes order comment. (Defined by OperationServiceExtensions.)
| ChangeOrderCookingItemAmount | Changes the amount of the assortment position in existing order. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| ChangeOrderCookingItemCourse | Changes the course of the order item. (Defined by OperationServiceExtensions.)
| ChangeOrderCookingItemSize | Changes the product size of the order item. (Defined by OperationServiceExtensions.)
| ChangeOrderIikoCard5Coupon | Change order iikoCard5 coupon, used in iikoCard5 system. (Defined by OperationServiceExtensions.)
| ChangeOrderItemComment | Changes product order item's comment. (Defined by OperationServiceExtensions.)
| ChangeOrderItemWaiter | Changes product order item's waiter. (Defined by OperationServiceExtensions.)
| ChangeOrderModifierItemAmount(Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials, Nullable Int32 ) | Overloaded. Changes the amount of the product item modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| ChangeOrderModifierItemAmount(Int32, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials, Nullable Int32 ) | Overloaded. Changes the amount of the compound item common modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| ChangeOrderModifierItemAmount(Int32, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials, Nullable Int32 ) | Overloaded. Changes the amount of the compound component modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| ChangeOrderOriginName | Sets order origin — name of the source this order was received from. Specifying origin allows to analyse efficiency of external order sources such as different web-sites, mobile applications and so on. Origin name can be set only once. (Defined by OperationServiceExtensions.)
| ChangeOrderPricingTime | Change order pricing time, which determines the price of products. By default time taken from items print time. (Defined by OperationServiceExtensions.)
| ChangeOrderTables | Changes tables of the order. (Defined by OperationServiceExtensions.)
| ChangeOrderWaiter | Changes order's waiter. (Defined by OperationServiceExtensions.)
| ChangePaymentItemCustomData | Changes custom data of existing payment item. (Defined by OperationServiceExtensions.)
| ChangePaymentItemSum | Changes sum of existing payment item. (Defined by OperationServiceExtensions.)
| ChangePreliminaryPaymentItemCustomData | Changes custom data of existing preliminary payment item. (Defined by OperationServiceExtensions.)
| ChangePreliminaryPaymentItemSum | Changes sum of existing preliminary payment item. (Defined by OperationServiceExtensions.)
| ChangePriceCategory | Changes price category of the order. (Defined by OperationServiceExtensions.)
| ChangeReserveComment | Changes reserve comment. Use empty string to clear comment. (Defined by OperationServiceExtensions.)
| ChangeReserveDuration | Changes estimated reserve duration (amount of time betwen visit's start and end). Default reserve duration is 2 hours, banquet duration is 3 hours. (Defined by OperationServiceExtensions.)
| ChangeReserveEstimatedStartTime | Changes estimated reserve start time. (Defined by OperationServiceExtensions.)
| ChangeReserveGuestsCount | Changes estimated guests count for reserve. Default value is 2. (Defined by OperationServiceExtensions.)
| ChangeReserveReminder | Changes reserve reminder flag. (Defined by OperationServiceExtensions.)
| ChangeReserveTables | Changes reserving tables. (Defined by OperationServiceExtensions.)
| ChangeSelectiveDiscount | Change discount item selective application settings. Set both products and modifiers to null if you want the discount item to be applied to the whole order (including future order items), otherwise provide order item products and modifiers for selective discount item application. (Defined by OperationServiceExtensions.)
| ChangeStreetName | Changes street's name. (Defined by OperationServiceExtensions.)
| CreateBanquet(DateTime, IClient, IReadOnlyList ITable , ICredentials, Guid) | Overloaded. Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time. (Defined by OperationServiceExtensions.)
| CreateBanquet(DateTime, IClient, IOrder, ICredentials, Guid) | Overloaded. 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. (Defined by OperationServiceExtensions.)
| CreateClient | Creates new client. The client must have a card number or at least one phone number. (Defined by OperationServiceExtensions.)
| CreateClientWithOrganizationDetails | Creates new client. The client must have orgatizations details info. (Defined by OperationServiceExtensions.)
| CreateReserve | Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time. (Defined by OperationServiceExtensions.)
| CreateStreet(String, ICredentials) | Overloaded. Creates new street. (Defined by OperationServiceExtensions.)
| CreateStreet(Guid, String, ICity, ICredentials) | Overloaded. Creates new street. (Defined by OperationServiceExtensions.)
| DeleteDiscount | Removes discount of known type from existing order. User must have rights to work with discounts. (Defined by OperationServiceExtensions.)
| DeleteExternalFiscalizedPaymentItem | Delete existing externally fiscalized payment item from order. (Defined by OperationServiceExtensions.)
| DeleteExternalPaymentItem | Delete existing external payment item from order. (Defined by OperationServiceExtensions.)
| DeleteOrderCombo | Delete order combo item. (Defined by OperationServiceExtensions.)
| DeleteOrderExternalData | Deletes external data from the order. (Defined by OperationServiceExtensions.)
| DeleteOrderGuest | Deletes guest without any products from order. (Defined by OperationServiceExtensions.)
| DeleteOrderItem | Deletes order item from order that represents the assortment position. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| DeleteOrderItemComment | Deletes product order item's comment. (Defined by OperationServiceExtensions.)
| DeleteOrderModifierItem(IOrder, IOrderProductItem, IOrderModifierItem, ICredentials) | Overloaded. Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| DeleteOrderModifierItem(IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials) | Overloaded. Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| DeleteOrderModifierItem(IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials) | Overloaded. Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| DeleteOrRestoreStreet | Deletes street. (Defined by OperationServiceExtensions.)
| DeletePaymentItem | Delete existing payment item from order. (Defined by OperationServiceExtensions.)
| DeletePreliminaryPaymentItem | Delete existing preliminary payment item from order. (Defined by OperationServiceExtensions.)
| DeletePrintedOrderItems | Deletes order items that is already printed. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| DeletePrintedOrderModifierItem | Deletes order item modifier that is already printed. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| GroupOrderCookingItems | Combines the order item products into mix group so that they will be cooked together. Only consecutive products of the same guest can be combined into mix group. (Defined by OperationServiceExtensions.)
| MarkOrderAsTab | Marks the order as tab and assignes tab name. (Defined by OperationServiceExtensions.)
| MoveOrderItemToAnotherGuest | Moves product item between guests of the same order. (Defined by OperationServiceExtensions.)
| MoveOrderItemToAnotherOrder | Moves product item between orders. (Defined by OperationServiceExtensions.)
| OverrideVatInclusionForOrder | Overrides default VAT inclusion settings for items of the specified order. (Defined by OperationServiceExtensions.)
| RenameOrderGuest | Renames order's guest. (Defined by OperationServiceExtensions.)
| ReopenReserve | Reopens previously closed or canceled reserve. (Defined by OperationServiceExtensions.)
| ResetIsPrintedDeliveryBillActual | Resets whether latest printed bill is actual to 'false' value. Use when you want delivery bill to be print again according to settings. For example, if you changed courier and wish to have actual name on the bill, call this action and delivery will automatically printed according to settings. On the contrary, if you don't want bill to be printed again (for example, courier is written to the bill later by hands), you have no need to call this action. (Defined by OperationServiceExtensions.)
| ResetOderLastChangeTimeByWaiter | Reset order last change time by waiter time to now. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| ResetPriceCategory | Resets price category of the order. (Defined by OperationServiceExtensions.)
| ServeOrderCookingItem | Mark order item product as served. (Defined by OperationServiceExtensions.)
| SetCompoundItemComponentCustomName | Sets the custom name of the compound component. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetDeliveryCustomerAuthorizedInIikoBiz | Changes whether the client is already authorized in iiko.biz. WARNING: use with caution! Illegal value can lead to unsuccessful iiko.biz operations. Do NOT set this property to 'true' if you are not sure that all authorization properties are correct and customer is registered in iiko.biz; that will cause iiko.biz payment failure. (Defined by OperationServiceExtensions.)
| SetDeliveryDelivered | Change delivery status to delivered. (Defined by OperationServiceExtensions.)
| SetDeliveryUndelivered | Change delivery status to OnWay from status delivered. (Defined by OperationServiceExtensions.)
| SetOpenPrice | Changes order item open price. (Defined by OperationServiceExtensions.)
| SetOrderModifierItemCustomName(String, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials) | Overloaded. Sets the custom name of the product item modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetOrderModifierItemCustomName(String, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials) | Overloaded. Sets the custom name of the compound item common modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetOrderModifierItemCustomName(String, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials) | Overloaded. Sets the custom name of the compound component modifier. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetOrderType | Sets order type for order. (Defined by OperationServiceExtensions.)
| SetProductItemCustomName | Sets the custom name of the product item. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetServiceItemCustomName | Sets the custom name of the service item. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SetServiceItemPeriodCustomName | Sets the custom name of the service period. User must have rights to edit orders. (Defined by OperationServiceExtensions.)
| SplitOrderCookingItem | Cut off specified amount from product to new one. (Defined by OperationServiceExtensions.)
| StartBanquet | Transits banquet to the started status. (Defined by OperationServiceExtensions.)
| UngroupOrderCookingItems | Separates the order item products from mix group so that they will be cooked independently. (Defined by OperationServiceExtensions.)
| UnserveOrderCookingItem | Mark order item product as unserved. (Defined by OperationServiceExtensions.)
| UpdateOrderComboItems | Update existing order combo items. Order must contain new combo items. (Defined by OperationServiceExtensions.)

Top
Remarks
There is a global instance of the service which is available
See Also

#### Reference

Resto.Front.Api Namespace
PluginContext
Operations