All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| UploadCatalogImage | POST /api/v1.0/{appId}/catalog/images | Upload a Catalog Image |
CatalogImage UploadCatalogImage (string appId, System.IO.Stream image)
Upload a Catalog Image
[BETA - this endpoint is under development, do not use it in your production system]
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UploadCatalogImageExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new CatalogImagesApi();
var appId = appId_example; // string |
var image = new System.IO.Stream(); // System.IO.Stream | Catalog image
try
{
// Upload a Catalog Image
CatalogImage result = apiInstance.UploadCatalogImage(appId, image);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CatalogImagesApi.UploadCatalogImage: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| image | System.IO.Stream | Catalog image |
- Content-Type: multipart/form-data
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]