diff --git a/server/AyaNova/Controllers/ContractController.cs b/server/AyaNova/Controllers/ContractController.cs
index c0a42291..f1976bdd 100644
--- a/server/AyaNova/Controllers/ContractController.cs
+++ b/server/AyaNova/Controllers/ContractController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Contract
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostContract([FromBody] Contract inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Contract
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateContract([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/CustomerController.cs b/server/AyaNova/Controllers/CustomerController.cs
index 69dfe7c4..e6e37581 100644
--- a/server/AyaNova/Controllers/CustomerController.cs
+++ b/server/AyaNova/Controllers/CustomerController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Customer
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostCustomer([FromBody] Customer inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Customer
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateCustomer([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/DataListViewController.cs b/server/AyaNova/Controllers/DataListViewController.cs
index 6aa70f3d..853cb8fa 100644
--- a/server/AyaNova/Controllers/DataListViewController.cs
+++ b/server/AyaNova/Controllers/DataListViewController.cs
@@ -141,7 +141,7 @@ namespace AyaNova.Api.Controllers
/// Post DataListView
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostDataListView([FromBody] DataListView inObj, ApiVersion apiVersion)
@@ -172,7 +172,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate DataListView
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task Duplicate([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/EventLogController.cs b/server/AyaNova/Controllers/EventLogController.cs
index 21b204de..ddb48aa6 100644
--- a/server/AyaNova/Controllers/EventLogController.cs
+++ b/server/AyaNova/Controllers/EventLogController.cs
@@ -104,7 +104,7 @@ namespace AyaNova.Api.Controllers
/// (internal use only)
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[ApiExplorerSettings(IgnoreApi = true)]
[HttpPost("v7")]
diff --git a/server/AyaNova/Controllers/HeadOfficeController.cs b/server/AyaNova/Controllers/HeadOfficeController.cs
index 242b98b1..206a3306 100644
--- a/server/AyaNova/Controllers/HeadOfficeController.cs
+++ b/server/AyaNova/Controllers/HeadOfficeController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post HeadOffice
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostHeadOffice([FromBody] HeadOffice inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate HeadOffice
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateHeadOffice([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/LoanUnitController.cs b/server/AyaNova/Controllers/LoanUnitController.cs
index 25d6217b..c9ee2e38 100644
--- a/server/AyaNova/Controllers/LoanUnitController.cs
+++ b/server/AyaNova/Controllers/LoanUnitController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post LoanUnit
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostLoanUnit([FromBody] LoanUnit inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate LoanUnit
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateLoanUnit([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/PMController.cs b/server/AyaNova/Controllers/PMController.cs
index f66768cc..79030779 100644
--- a/server/AyaNova/Controllers/PMController.cs
+++ b/server/AyaNova/Controllers/PMController.cs
@@ -123,7 +123,7 @@ namespace AyaNova.Api.Controllers
///
///
/// force a workorder number, leave null to autogenerate the next one in sequence (mostly used for import)
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
/// A created workorder ready to fill out
[HttpPost("Create")]
public async Task PostPM([FromQuery] long? pmTemplateId, long? customerId, uint? serial, ApiVersion apiVersion)
@@ -155,7 +155,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate PM
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicatePM([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/PMTemplateController.cs b/server/AyaNova/Controllers/PMTemplateController.cs
index 6587d926..719ea525 100644
--- a/server/AyaNova/Controllers/PMTemplateController.cs
+++ b/server/AyaNova/Controllers/PMTemplateController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post PMTemplate
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostPMTemplate([FromBody] PMTemplate inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate PMTemplate
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicatePMTemplate([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/PartController.cs b/server/AyaNova/Controllers/PartController.cs
index 494991a5..9fcea807 100644
--- a/server/AyaNova/Controllers/PartController.cs
+++ b/server/AyaNova/Controllers/PartController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Part
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostPart([FromBody] Part inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Part
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicatePart([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/ProjectController.cs b/server/AyaNova/Controllers/ProjectController.cs
index 1247f5f6..341c1b03 100644
--- a/server/AyaNova/Controllers/ProjectController.cs
+++ b/server/AyaNova/Controllers/ProjectController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Project
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostProject([FromBody] Project inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Project
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateProject([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/PurchaseOrderController.cs b/server/AyaNova/Controllers/PurchaseOrderController.cs
index 43553cc4..b4f1c6e0 100644
--- a/server/AyaNova/Controllers/PurchaseOrderController.cs
+++ b/server/AyaNova/Controllers/PurchaseOrderController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post PurchaseOrder
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostPurchaseOrder([FromBody] PurchaseOrder inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate PurchaseOrder
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicatePurchaseOrder([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/QuoteController.cs b/server/AyaNova/Controllers/QuoteController.cs
index 44088902..7edd9093 100644
--- a/server/AyaNova/Controllers/QuoteController.cs
+++ b/server/AyaNova/Controllers/QuoteController.cs
@@ -123,7 +123,7 @@ namespace AyaNova.Api.Controllers
///
///
/// force a workorder number, leave null to autogenerate the next one in sequence (mostly used for import)
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
/// A created workorder ready to fill out
[HttpPost("Create")]
public async Task PostQuote([FromQuery] long? quoteTemplateId, long? customerId, uint? serial, ApiVersion apiVersion)
@@ -155,7 +155,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Quote
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateQuote([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/QuoteTemplateController.cs b/server/AyaNova/Controllers/QuoteTemplateController.cs
index d9e9eb46..11e8bbc3 100644
--- a/server/AyaNova/Controllers/QuoteTemplateController.cs
+++ b/server/AyaNova/Controllers/QuoteTemplateController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post QuoteTemplate
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostQuoteTemplate([FromBody] QuoteTemplate inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate QuoteTemplate
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateQuoteTemplate([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/TranslationController.cs b/server/AyaNova/Controllers/TranslationController.cs
index 0a913cc6..155f107b 100644
--- a/server/AyaNova/Controllers/TranslationController.cs
+++ b/server/AyaNova/Controllers/TranslationController.cs
@@ -146,7 +146,7 @@ namespace AyaNova.Api.Controllers
/// Duplicates an existing translation with a new name
///
/// NameIdItem object containing source translation Id and new name
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
/// Error response or newly created translation
[HttpPost("Duplicate")]
public async Task Duplicate([FromBody] NameIdItem inObj, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/UnitController.cs b/server/AyaNova/Controllers/UnitController.cs
index 62771d0d..f1c51c93 100644
--- a/server/AyaNova/Controllers/UnitController.cs
+++ b/server/AyaNova/Controllers/UnitController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Unit
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostUnit([FromBody] Unit inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Unit
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateUnit([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/UnitModelController.cs b/server/AyaNova/Controllers/UnitModelController.cs
index cee97fef..31e2e6f4 100644
--- a/server/AyaNova/Controllers/UnitModelController.cs
+++ b/server/AyaNova/Controllers/UnitModelController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post UnitModel
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostUnitModel([FromBody] UnitModel inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate UnitModel
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateUnitModel([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/UserController.cs b/server/AyaNova/Controllers/UserController.cs
index 3031eca1..04291ea2 100644
--- a/server/AyaNova/Controllers/UserController.cs
+++ b/server/AyaNova/Controllers/UserController.cs
@@ -203,7 +203,7 @@ namespace AyaNova.Api.Controllers
/// Post User
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostUser([FromBody] User inObj, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/VendorController.cs b/server/AyaNova/Controllers/VendorController.cs
index 7b9aad05..743f420c 100644
--- a/server/AyaNova/Controllers/VendorController.cs
+++ b/server/AyaNova/Controllers/VendorController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post Vendor
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostVendor([FromBody] Vendor inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate Vendor
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateVendor([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/WidgetController.cs b/server/AyaNova/Controllers/WidgetController.cs
index 195d6f53..e40ec445 100644
--- a/server/AyaNova/Controllers/WidgetController.cs
+++ b/server/AyaNova/Controllers/WidgetController.cs
@@ -171,7 +171,7 @@ namespace AyaNova.Api.Controllers
/// Post widget
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostWidget([FromBody] Widget inObj, ApiVersion apiVersion)
@@ -203,7 +203,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate widget
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateWidget([FromRoute] long id, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/WorkOrderController.cs b/server/AyaNova/Controllers/WorkOrderController.cs
index 5f6dad02..f019c714 100644
--- a/server/AyaNova/Controllers/WorkOrderController.cs
+++ b/server/AyaNova/Controllers/WorkOrderController.cs
@@ -45,7 +45,7 @@ namespace AyaNova.Api.Controllers
/// Create WorkOrder "header"
///
/// WorkOrder top level only, no descendents are evaluated
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
/// WorkOrder "header" object
[HttpPost]
public async Task PostWorkOrder([FromBody] WorkOrder newObject, ApiVersion apiVersion)
@@ -70,7 +70,7 @@ namespace AyaNova.Api.Controllers
/// (Wiki and Attachments are not duplicated)
///
/// Source object id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
/// Full WorkOrder object including all descendents
[HttpPost("duplicate/{id}")]
public async Task DuplicateWorkOrder([FromRoute] long id, ApiVersion apiVersion)
@@ -180,7 +180,7 @@ namespace AyaNova.Api.Controllers
/// Create WorkOrderItem
///
/// WorkOrderItem level only no descendents
- /// Automatically filled from route path, no need to specify in body
+ ///
/// WorkOrderItem object (no descendents)
[HttpPost("items")]
public async Task 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
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("items/labors")]
public async Task PostWorkOrderItemLabor([FromBody] WorkOrderItemLabor newObject, ApiVersion apiVersion)
@@ -516,7 +514,7 @@ namespace AyaNova.Api.Controllers
/// Create WorkOrderItemPart
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("items/parts")]
public async Task PostWorkOrderItemPart([FromBody] WorkOrderItemPart newObject, ApiVersion apiVersion)
diff --git a/server/AyaNova/Controllers/WorkOrderTemplateController.cs b/server/AyaNova/Controllers/WorkOrderTemplateController.cs
index 030a83d4..a5406587 100644
--- a/server/AyaNova/Controllers/WorkOrderTemplateController.cs
+++ b/server/AyaNova/Controllers/WorkOrderTemplateController.cs
@@ -164,7 +164,7 @@ namespace AyaNova.Api.Controllers
/// Post WorkOrderTemplate
///
///
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost]
public async Task PostWorkOrderTemplate([FromBody] WorkOrderTemplate inObj, ApiVersion apiVersion)
@@ -196,7 +196,7 @@ namespace AyaNova.Api.Controllers
/// Duplicate WorkOrderTemplate
///
/// Create a duplicate of this items id
- /// Automatically filled from route path, no need to specify in body
+ /// From route path
///
[HttpPost("duplicate/{id}")]
public async Task DuplicateWorkOrderTemplate([FromRoute] long id, ApiVersion apiVersion)