This commit is contained in:
2020-05-09 16:14:19 +00:00
parent a642eb3c1c
commit 9740961090

View File

@@ -124,7 +124,82 @@ namespace raven_integration
Util.ValidateDataReturnResponseOk(a);
a.ObjectResponse["data"]["notes"].Value<string>().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