All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| TipConfigGet | GET /api/v1.0/stores/{storeId}/tipconfig | |
| TipConfigUpsert | POST /api/v1.0/stores/{storeId}/tipconfig |
RestApiResultTipConfiguration TipConfigGet (int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class TipConfigGetExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TipsApi();
var storeId = 56; // int? |
try
{
RestApiResultTipConfiguration result = apiInstance.TipConfigGet(storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TipsApi.TipConfigGet: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? |
- 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]
RestApiResultTipConfiguration TipConfigUpsert (int? storeId, UpdateTipConfiguration updateConfig)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class TipConfigUpsertExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TipsApi();
var storeId = 56; // int? |
var updateConfig = new UpdateTipConfiguration(); // UpdateTipConfiguration |
try
{
RestApiResultTipConfiguration result = apiInstance.TipConfigUpsert(storeId, updateConfig);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TipsApi.TipConfigUpsert: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? | ||
| updateConfig | UpdateTipConfiguration |
- 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]