Skip to content

Latest commit

 

History

History
133 lines (97 loc) · 3.52 KB

WebOrderPageApi.md

File metadata and controls

133 lines (97 loc) · 3.52 KB

Flipdish.Api.WebOrderPageApi

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

Method HTTP request Description
GetWebOrderPage GET /api/v1.0/apps/{appId}/weborderpage
SetWebOrderPage POST /api/v1.0/apps/{appId}/weborderpage

GetWebOrderPage

RestApiResultWebOrderPage GetWebOrderPage (string appId)

Example

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

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

            var apiInstance = new WebOrderPageApi();
            var appId = appId_example;  // string | 

            try
            {
                RestApiResultWebOrderPage result = apiInstance.GetWebOrderPage(appId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebOrderPageApi.GetWebOrderPage: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string

Return type

RestApiResultWebOrderPage

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]

SetWebOrderPage

void SetWebOrderPage (string appId, SetWebOrderPage setWebOrderPage)

Example

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

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

            var apiInstance = new WebOrderPageApi();
            var appId = appId_example;  // string | 
            var setWebOrderPage = new SetWebOrderPage(); // SetWebOrderPage | 

            try
            {
                apiInstance.SetWebOrderPage(appId, setWebOrderPage);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WebOrderPageApi.SetWebOrderPage: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
appId string
setWebOrderPage SetWebOrderPage

Return type

void (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

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