Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

GetImageRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;

namespace Nop.Plugin.Misc.Zettle.Domain.Api.Image;

/// 
/// Represents request to get the image
/// 
public class GetImageRequest : ImageApiRequest
{
    /// 
    /// Gets or sets the image lookup key
    /// 
    [JsonIgnore]
    public string ImageLookupKey { get; set; }

    /// 
    /// Gets the request path
    /// 
    public override string Path => $"v2/images/organizations/self/product/{ImageLookupKey}";

    /// 
    /// Gets the request method
    /// 
    public override string Method => HttpMethods.Get;
}