This commit is contained in:
2018-09-07 20:06:43 +00:00
parent bd6f351c8a
commit b31c69f0f4
2 changed files with 57 additions and 9 deletions

View File

@@ -353,7 +353,7 @@ namespace AyaNova.Api.Controllers
/// <summary>
/// Delete TagGroup
/// Delete TagGroup - Does not delete tags from objects or tags themselves, only the group
/// Required roles: BizAdminFull, DispatchFull, InventoryFull, TechFull, AccountingFull
/// </summary>
/// <param name="id"></param>
@@ -408,9 +408,9 @@ namespace AyaNova.Api.Controllers
///
/// </summary>
/// <param name="inObj">TagMapGroupInfo</param>
/// <returns><see cref="TagMap"/> object</returns>
[HttpPost]
public async Task<IActionResult> PostTagMap([FromBody] TagMapGroupInfo inObj)
/// <returns>A list of names and id's of tags that were applied to object</returns>
[HttpPost("TagObject")]
public async Task<IActionResult> TagObject([FromBody] TagMapGroupInfo inObj)
{
if (!serverState.IsOpen)
{