All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| CreateLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location | |
| DeleteLocation | DELETE /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/delete | |
| MapLocationToExternalId | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/map-external | |
| MoveLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/move | |
| UpdateLocation | POST /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/update |
Object CreateLocation (List createLocationInput, int? locationAreaId, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class CreateLocationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new LocationApi();
var createLocationInput = new List<CreateLocation>(); // List<CreateLocation> |
var locationAreaId = 56; // int? |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
Object result = apiInstance.CreateLocation(createLocationInput, locationAreaId, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LocationApi.CreateLocation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| createLocationInput | List<CreateLocation> | ||
| locationAreaId | int? | ||
| appId | string | ||
| storeId | int? |
Object
- 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]
Object DeleteLocation (int? locationId, int? locationAreaId, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DeleteLocationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new LocationApi();
var locationId = 56; // int? |
var locationAreaId = 56; // int? |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
Object result = apiInstance.DeleteLocation(locationId, locationAreaId, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LocationApi.DeleteLocation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | int? | ||
| locationAreaId | int? | ||
| appId | string | ||
| storeId | int? |
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]
RestApiResultMappedLocation MapLocationToExternalId (int? locationId, int? locationAreaId, string appId, int? storeId, string externalLocationId = null)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class MapLocationToExternalIdExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new LocationApi();
var locationId = 56; // int? |
var locationAreaId = 56; // int? |
var appId = appId_example; // string |
var storeId = 56; // int? |
var externalLocationId = externalLocationId_example; // string | (optional)
try
{
RestApiResultMappedLocation result = apiInstance.MapLocationToExternalId(locationId, locationAreaId, appId, storeId, externalLocationId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LocationApi.MapLocationToExternalId: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | int? | ||
| locationAreaId | int? | ||
| appId | string | ||
| storeId | int? | ||
| externalLocationId | string | [optional] |
- 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]
Object MoveLocation (int? locationId, int? locationAreaId, int? newLocationAreaId, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class MoveLocationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new LocationApi();
var locationId = 56; // int? |
var locationAreaId = 56; // int? |
var newLocationAreaId = 56; // int? |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
Object result = apiInstance.MoveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LocationApi.MoveLocation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| locationId | int? | ||
| locationAreaId | int? | ||
| newLocationAreaId | int? | ||
| appId | string | ||
| storeId | int? |
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]
RestApiResultLocationAreaLocation UpdateLocation (CreateLocation updateLocationInput, int? locationAreaId, int? locationId, string appId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UpdateLocationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new LocationApi();
var updateLocationInput = new CreateLocation(); // CreateLocation |
var locationAreaId = 56; // int? |
var locationId = 56; // int? |
var appId = appId_example; // string |
var storeId = 56; // int? |
try
{
RestApiResultLocationAreaLocation result = apiInstance.UpdateLocation(updateLocationInput, locationAreaId, locationId, appId, storeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LocationApi.UpdateLocation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| updateLocationInput | CreateLocation | ||
| locationAreaId | int? | ||
| locationId | int? | ||
| appId | string | ||
| storeId | int? |
RestApiResultLocationAreaLocation
- 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]