All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| CreateFpmForStore | POST /api/v1.0/{storeId}/fpm | |
| DeleteFpmForStore | DELETE /api/v1.0/{storeId}/fpm | |
| EditFpmForStore | POST /api/v1.0/{storeId}/fpm/edit | |
| GetFpmForStore | GET /api/v1.0/{storeId}/fpm |
Object CreateFpmForStore (int? storeId, string phoneNumber)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class CreateFpmForStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new FpmApi();
var storeId = 56; // int? |
var phoneNumber = phoneNumber_example; // string |
try
{
Object result = apiInstance.CreateFpmForStore(storeId, phoneNumber);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FpmApi.CreateFpmForStore: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? | ||
| phoneNumber | string |
Object
- 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]
void DeleteFpmForStore (int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DeleteFpmForStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new FpmApi();
var storeId = 56; // int? |
try
{
apiInstance.DeleteFpmForStore(storeId);
}
catch (Exception e)
{
Debug.Print("Exception when calling FpmApi.DeleteFpmForStore: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? |
void (empty response body)
- 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]
void EditFpmForStore (int? storeId, TelephonyConfig telephonyConfig)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class EditFpmForStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new FpmApi();
var storeId = 56; // int? |
var telephonyConfig = new TelephonyConfig(); // TelephonyConfig |
try
{
apiInstance.EditFpmForStore(storeId, telephonyConfig);
}
catch (Exception e)
{
Debug.Print("Exception when calling FpmApi.EditFpmForStore: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| storeId | int? | ||
| telephonyConfig | TelephonyConfig |
void (empty response body)
- 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]
TelephonyConfig GetFpmForStore (int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetFpmForStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new FpmApi();
var storeId = 56; // int? |
try
{
TelephonyConfig result = apiInstance.GetFpmForStore(storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FpmApi.GetFpmForStore: " + 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]