Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 2.26 KB

File metadata and controls

78 lines (58 loc) · 2.26 KB

Flipdish.Api.CrossSellApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
GetCrossSellMenuItems GET /api/v1.0/{appId}/crossSell/menuItems

GetCrossSellMenuItems

RestApiResultCrossSellMenuItems GetCrossSellMenuItems (string appId, int? menuId, List<int?> menuItemId, int? limit, double? totalValue)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetCrossSellMenuItemsExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new CrossSellApi();
            var appId = appId_example;  // string | 
            var menuId = 56;  // int? | 
            var menuItemId = new List<int?>(); // List<int?> | 
            var limit = 56;  // int? | 
            var totalValue = 1.2;  // double? | 

            try
            {
                RestApiResultCrossSellMenuItems result = apiInstance.GetCrossSellMenuItems(appId, menuId, menuItemId, limit, totalValue);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CrossSellApi.GetCrossSellMenuItems: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
menuId int?
menuItemId List<int?>
limit int?
totalValue double?

Return type

RestApiResultCrossSellMenuItems

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]