curl the api
This commit is contained in:
parent
33fe05d2a7
commit
f65b0d02f8
1
curl_adjustments/call.sh
Normal file
1
curl_adjustments/call.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
curl -H "Content-Type: application/json" -X POST -d@retail_volume.json https://usmidlnx01:8080/scale_v --insecure
|
21
curl_adjustments/retail_volume.json
Normal file
21
curl_adjustments/retail_volume.json
Normal file
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user