All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| AssignDevice | POST /api/v1.0/{appId}/devices/assign | |
| EnrollDevice | POST /api/v1.0/{appId}/devices/enroll | |
| GetDeviceDetails | GET /api/v1.0/{appId}/devices/device/{deviceModel}/{deviceId} | |
| SearchDevices | GET /api/v1.0/{appId}/devices/search |
RestApiResultClientDeviceEnrollmentResult AssignDevice (string appId, ClientDeviceAssignEnrolledDevice assignDeviceRequest)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AssignDeviceExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new DeviceApi();
var appId = appId_example; // string |
var assignDeviceRequest = new ClientDeviceAssignEnrolledDevice(); // ClientDeviceAssignEnrolledDevice |
try
{
RestApiResultClientDeviceEnrollmentResult result = apiInstance.AssignDevice(appId, assignDeviceRequest);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DeviceApi.AssignDevice: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| assignDeviceRequest | ClientDeviceAssignEnrolledDevice |
RestApiResultClientDeviceEnrollmentResult
- 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]
RestApiResultClientDeviceEnrollmentResult EnrollDevice (string appId, ClientDeviceEnroll deviceEnrollmentRequest)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class EnrollDeviceExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new DeviceApi();
var appId = appId_example; // string |
var deviceEnrollmentRequest = new ClientDeviceEnroll(); // ClientDeviceEnroll |
try
{
RestApiResultClientDeviceEnrollmentResult result = apiInstance.EnrollDevice(appId, deviceEnrollmentRequest);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DeviceApi.EnrollDevice: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| deviceEnrollmentRequest | ClientDeviceEnroll |
RestApiResultClientDeviceEnrollmentResult
- 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]
RestApiResultClientDevice GetDeviceDetails (string appId, string deviceModel, string deviceId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetDeviceDetailsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new DeviceApi();
var appId = appId_example; // string |
var deviceModel = deviceModel_example; // string |
var deviceId = deviceId_example; // string |
try
{
RestApiResultClientDevice result = apiInstance.GetDeviceDetails(appId, deviceModel, deviceId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DeviceApi.GetDeviceDetails: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| deviceModel | string | ||
| deviceId | string |
- 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]
RestApiArrayResultClientDeviceSummary SearchDevices (string appId, int? storeId = null, string deviceModel = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class SearchDevicesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new DeviceApi();
var appId = appId_example; // string |
var storeId = 56; // int? | (optional)
var deviceModel = deviceModel_example; // string | (optional)
try
{
RestApiArrayResultClientDeviceSummary result = apiInstance.SearchDevices(appId, storeId, deviceModel);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DeviceApi.SearchDevices: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| storeId | int? | [optional] | |
| deviceModel | string | [optional] |
RestApiArrayResultClientDeviceSummary
- 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]