This commit is contained in:
2020-03-16 19:23:23 +00:00
parent bd97a57c11
commit e69d287125
3 changed files with 66 additions and 28 deletions

View File

@@ -43,11 +43,12 @@ namespace AyaNova.Api.Controllers
/// <summary>
/// Get picklist
/// Get picklist of all Active objects of type specified and filtered by query specified
/// Note that this list is capped automatically to return no more than 100 results
/// </summary>
/// <param name="ayaType">The AyaType object type to select from</param>
/// <param name="query">The query to filter the returned list by</param>
/// <param name="inactive">Include inactive objects in the returned list</param>
/// <param name="inactive">Include inactive objects in the returned list </param>
/// <returns>Filtered list</returns>
[HttpGet("List")]
public async Task<IActionResult> GetList([FromQuery]AyaType ayaType, [FromQuery]string query, [FromQuery] bool inactive)