This commit is contained in:
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Contract
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostContract([FromBody] Contract inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Contract
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateContract([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Customer
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostCustomer([FromBody] Customer inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Customer
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateCustomer([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -141,7 +141,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post DataListView
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostDataListView([FromBody] DataListView inObj, ApiVersion apiVersion)
|
||||
@@ -172,7 +172,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate DataListView
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> Duplicate([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// (internal use only)
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[ApiExplorerSettings(IgnoreApi = true)]
|
||||
[HttpPost("v7")]
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post HeadOffice
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostHeadOffice([FromBody] HeadOffice inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate HeadOffice
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateHeadOffice([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post LoanUnit
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostLoanUnit([FromBody] LoanUnit inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate LoanUnit
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateLoanUnit([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="pmTemplateId"></param>
|
||||
/// <param name="customerId"></param>
|
||||
/// <param name="serial">force a workorder number, leave null to autogenerate the next one in sequence (mostly used for import)</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>A created workorder ready to fill out</returns>
|
||||
[HttpPost("Create")]
|
||||
public async Task<IActionResult> PostPM([FromQuery] long? pmTemplateId, long? customerId, uint? serial, ApiVersion apiVersion)
|
||||
@@ -155,7 +155,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate PM
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicatePM([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post PMTemplate
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostPMTemplate([FromBody] PMTemplate inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate PMTemplate
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicatePMTemplate([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Part
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostPart([FromBody] Part inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Part
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicatePart([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Project
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostProject([FromBody] Project inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Project
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateProject([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post PurchaseOrder
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostPurchaseOrder([FromBody] PurchaseOrder inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate PurchaseOrder
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicatePurchaseOrder([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="quoteTemplateId"></param>
|
||||
/// <param name="customerId"></param>
|
||||
/// <param name="serial">force a workorder number, leave null to autogenerate the next one in sequence (mostly used for import)</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>A created workorder ready to fill out</returns>
|
||||
[HttpPost("Create")]
|
||||
public async Task<IActionResult> PostQuote([FromQuery] long? quoteTemplateId, long? customerId, uint? serial, ApiVersion apiVersion)
|
||||
@@ -155,7 +155,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Quote
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateQuote([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post QuoteTemplate
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostQuoteTemplate([FromBody] QuoteTemplate inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate QuoteTemplate
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateQuoteTemplate([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicates an existing translation with a new name
|
||||
/// </summary>
|
||||
/// <param name="inObj">NameIdItem object containing source translation Id and new name</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>Error response or newly created translation</returns>
|
||||
[HttpPost("Duplicate")]
|
||||
public async Task<IActionResult> Duplicate([FromBody] NameIdItem inObj, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Unit
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostUnit([FromBody] Unit inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Unit
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateUnit([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post UnitModel
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostUnitModel([FromBody] UnitModel inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate UnitModel
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateUnitModel([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -203,7 +203,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post User
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostUser([FromBody] User inObj, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post Vendor
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostVendor([FromBody] Vendor inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate Vendor
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateVendor([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post widget
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostWidget([FromBody] Widget inObj, ApiVersion apiVersion)
|
||||
@@ -203,7 +203,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate widget
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateWidget([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Create WorkOrder "header"
|
||||
/// </summary>
|
||||
/// <param name="newObject">WorkOrder top level only, no descendents are evaluated</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>WorkOrder "header" object</returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostWorkOrder([FromBody] WorkOrder newObject, ApiVersion apiVersion)
|
||||
@@ -70,7 +70,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// (Wiki and Attachments are not duplicated)
|
||||
/// </summary>
|
||||
/// <param name="id">Source object id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>Full WorkOrder object including all descendents</returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateWorkOrder([FromRoute] long id, ApiVersion apiVersion)
|
||||
@@ -180,7 +180,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Create WorkOrderItem
|
||||
/// </summary>
|
||||
/// <param name="newObject">WorkOrderItem level only no descendents</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion"></param>
|
||||
/// <returns>WorkOrderItem object (no descendents)</returns>
|
||||
[HttpPost("items")]
|
||||
public async Task<IActionResult> PostWorkOrderItem([FromBody] WorkOrderItem newObject, ApiVersion apiVersion)
|
||||
@@ -188,8 +188,6 @@ namespace AyaNova.Api.Controllers
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
WorkOrderBiz biz = WorkOrderBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
//If a user has change roles
|
||||
if (!Authorized.HasCreateRole(HttpContext.Items, AyaType.WorkOrderItem))
|
||||
return StatusCode(403, new ApiNotAuthorizedResponse());
|
||||
|
||||
@@ -345,7 +343,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Create WorkOrderItemLabor
|
||||
/// </summary>
|
||||
/// <param name="newObject"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("items/labors")]
|
||||
public async Task<IActionResult> PostWorkOrderItemLabor([FromBody] WorkOrderItemLabor newObject, ApiVersion apiVersion)
|
||||
@@ -516,7 +514,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Create WorkOrderItemPart
|
||||
/// </summary>
|
||||
/// <param name="newObject"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("items/parts")]
|
||||
public async Task<IActionResult> PostWorkOrderItemPart([FromBody] WorkOrderItemPart newObject, ApiVersion apiVersion)
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Post WorkOrderTemplate
|
||||
/// </summary>
|
||||
/// <param name="inObj"></param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostWorkOrderTemplate([FromBody] WorkOrderTemplate inObj, ApiVersion apiVersion)
|
||||
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Duplicate WorkOrderTemplate
|
||||
/// </summary>
|
||||
/// <param name="id">Create a duplicate of this items id</param>
|
||||
/// <param name="apiVersion">Automatically filled from route path, no need to specify in body</param>
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateWorkOrderTemplate([FromRoute] long id, ApiVersion apiVersion)
|
||||
|
||||
Reference in New Issue
Block a user