You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
949 B
41 lines
949 B
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace WMS_GIRAF_Interface.Controllers
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
|
|
[ApiController, Route("Asrs")]
|
|
public class AsrsStatusController : ControllerBase
|
|
{
|
|
private readonly IConfiguration _configuration;
|
|
|
|
public AsrsStatusController(IConfiguration configuration)
|
|
{
|
|
_configuration = configuration;
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="asrsIdentifier"></param>
|
|
/// <returns></returns>
|
|
[HttpGet("[asrsIdentifier]/status")]
|
|
public bool KeepAlive([FromRoute] string asrsIdentifier)
|
|
{
|
|
|
|
return true;
|
|
}
|
|
|
|
[HttpGet("[asrsIdentifier]/stock")]
|
|
public bool GetStock(
|
|
[FromRoute] string asrsIdentifier,
|
|
[FromQuery] string sku)
|
|
{
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|