From f65b0d02f8d22ec4e6433ac555b09b2b11de841e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 10 Jun 2021 13:04:33 -0400 Subject: [PATCH] curl the api --- curl_adjustments/call.sh | 1 + curl_adjustments/retail_volume.json | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 curl_adjustments/call.sh create mode 100644 curl_adjustments/retail_volume.json diff --git a/curl_adjustments/call.sh b/curl_adjustments/call.sh new file mode 100644 index 0000000..0d099a4 --- /dev/null +++ b/curl_adjustments/call.sh @@ -0,0 +1 @@ +curl -H "Content-Type: application/json" -X POST -d@retail_volume.json https://usmidlnx01:8080/scale_v --insecure diff --git a/curl_adjustments/retail_volume.json b/curl_adjustments/retail_volume.json new file mode 100644 index 0000000..1416192 --- /dev/null +++ b/curl_adjustments/retail_volume.json @@ -0,0 +1,21 @@ +{ + "scenario": { + "segm": "Retail", + "version": "b22", + "iter": [ + "copy", + "adj volume", + "adj price", + "upload volume", + "upload price" + ] + }, + "stamp": "2021-06-10 08:34:07", + "user": "Trowbridge, Paul", + "source": "adj", + "message": "first scale volume to hit target std cost 36.6-13.2", + "tag": "retail plug", + "type": "scale_v", + "amount": 931051.61, + "qty": 1013419.06 +} \ No newline at end of file