Doc wits info methods

This commit is contained in:
ngfrolov 2022-04-15 13:40:24 +05:00
parent ac130e3efc
commit e95c04c91e

View File

@ -28,6 +28,11 @@ namespace AsbCloudWebApi.Controllers.WITS
return Ok(result);
}
/// <summary>
/// Список всех WITS items для конкретной record
/// </summary>
/// <param name="idRecord"></param>
/// <returns></returns>
[HttpGet("item/{idRecord}")]
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
public IActionResult GetItems(int idRecord)
@ -36,6 +41,10 @@ namespace AsbCloudWebApi.Controllers.WITS
return Ok(result);
}
/// <summary>
/// Список описаний всех wits records
/// </summary>
/// <returns></returns>
[HttpGet("record")]
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
public IActionResult GetRecordInfo()
@ -44,6 +53,11 @@ namespace AsbCloudWebApi.Controllers.WITS
return Ok(result);
}
/// <summary>
/// Описание конкретной record
/// </summary>
/// <param name="idRecord"></param>
/// <returns></returns>
[HttpGet("record/{idRecord}")]
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
public IActionResult GetRecordInfo(int idRecord)