curl the api

This commit is contained in:
Paul Trowbridge 2021-06-10 13:04:33 -04:00
parent 33fe05d2a7
commit f65b0d02f8
2 changed files with 22 additions and 0 deletions

1
curl_adjustments/call.sh Normal file
View File

@ -0,0 +1 @@
curl -H "Content-Type: application/json" -X POST -d@retail_volume.json https://usmidlnx01:8080/scale_v --insecure

View 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
}