From 97409610900b5ee29afaf0a0c9f3ff730281256c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 9 May 2020 16:14:19 +0000 Subject: [PATCH] --- WorkOrder/WorkOrderCrud.cs | 77 +++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/WorkOrder/WorkOrderCrud.cs b/WorkOrder/WorkOrderCrud.cs index 30db3cb..6c2ec82 100644 --- a/WorkOrder/WorkOrderCrud.cs +++ b/WorkOrder/WorkOrderCrud.cs @@ -124,7 +124,82 @@ namespace raven_integration Util.ValidateDataReturnResponseOk(a); a.ObjectResponse["data"]["notes"].Value().Should().Be("WOHEADER The quick brown fox jumped over the six lazy dogs!"); - +/* +{ + "data": { + "id": 1, + "concurrencyToken": 8722459, + "serial": 1, + "active": true, + "notes": "WOHEADER The quick brown fox jumped over the six lazy dogs!", + "wiki": "# WOHEADER test wiki", + "customFields": null, + "tags": [ + "wo-red", + "wo-green", + "wo-blue" + ], + "items": [ + { + "id": 1, + "concurrencyToken": 8722472, + "notes": "woitem The quick brown fox jumped over the six lazy dogs!", + "wiki": "# woitem test wiki", + "customFields": null, + "tags": [ + "woitem-red", + "woitem-green", + "woitem-blue" + ], + "workOrderId": 1, + "labors": [ + { + "id": 1, + "concurrencyToken": 8722486, + "notes": "woitemlabor The quick brown fox jumped over the six lazy dogs!", + "wiki": "# woitemlabor test wiki", + "customFields": null, + "tags": [ + "woitemlabor-red", + "woitemlabor-green", + "woitemlabor-blue" + ], + "workOrderItemId": 1 + }, + { + "id": 2, + "concurrencyToken": 8722493, + "notes": "woitemlabor2 The quick brown fox jumped over the six lazy dogs!", + "wiki": "# woitemlabor2 test wiki", + "customFields": null, + "tags": [ + "woitemlabor-red", + "woitemlabor-green", + "woitemlabor-blue" + ], + "workOrderItemId": 1 + } + ], + "parts": [ + { + "id": 1, + "concurrencyToken": 8722479, + "notes": "woitempart The quick brown fox jumped over the six lazy dogs!", + "wiki": "# woitempart test wiki", + "customFields": null, + "tags": [ + "woitempart-red", + "woitempart-green", + "woitempart-blue" + ], + "workOrderItemId": 1 + } + ] + } + ] + } +} +*/ // //UPDATE