Skip to content

Commit

Permalink
UNITY-8531 REST: extend PATCH/GET operations on Product API
Browse files Browse the repository at this point in the history
- Review changes
  • Loading branch information
bolsu committed Sep 18, 2023
1 parent 18321d3 commit 81baffa
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down Expand Up @@ -363,7 +363,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
6 changes: 3 additions & 3 deletions _raml/apps/products/examples/get_product_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down Expand Up @@ -260,7 +260,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down Expand Up @@ -529,7 +529,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down Expand Up @@ -294,7 +294,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{
"op": "add",
"path": "/video",
"value": { "type":"YouTube", "id":"XXXXXXXXXXX" }
"value": { "type":"YouTube", "id":"CM4CkVFmTds" }
},
{
"op": "add",
Expand All @@ -59,7 +59,7 @@
{
"op": "add",
"path": "/referencePriceInfo",
"value": {"refAmount":1, "refUnit":"piece", "refContentAmount":2}
"value": {"refAmount":1, "refUnit":"piece", "refContentAmount":1}
},
{
"op": "add",
Expand All @@ -79,7 +79,7 @@
{
"op": "add",
"path": "/productDataSheet",
"value": {"fileName":"myfilename.jpg", "url":"https://www.example.com/file.jpg"}
"value": {"fileName":"datasheet_Z-1080-BT-02.pdf", "url":"https://www.technic365.com/datacontent.php?code=Z1080BT02"}
},
{
"op": "add",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": "Z-108-002",
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
6 changes: 3 additions & 3 deletions _raml/apps/products/examples/post_product_find_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down Expand Up @@ -248,7 +248,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down Expand Up @@ -453,7 +453,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
2 changes: 1 addition & 1 deletion _raml/apps/products/examples/post_product_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Awesome Products Company",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down Expand Up @@ -294,7 +294,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Bass by Dr.Boom",
"upc": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"newnessDate": "2023-08-08T00:00:00Z",
"refAmount": 1,
"refUnit": "piece",
"refContentAmount": 2,
"refContentAmount": 1,
"productCode": null,
"manufacturer": "Dr. Boom",
"upc": null,
Expand Down

0 comments on commit 81baffa

Please sign in to comment.