I would like to get the Market SVs for a particular name "stop"
http://localhost:9000/api/automation/v1 ... oredValues
{"marketsFilter":{"filter":"ALL"},"selectionsFilter":{"filter":"ALL"},"storedValueFilterMarketLevel":{"storedValueFilter":"ALL", "names" : ["stop"]}}
however, its returned all the SVs
{"status":"OK","result":{"markets":[{"id":"1.222245580","name":"Amazulu v Sekhukhune United - Correct Score","sharedValues":[{"n":"infront","v":1.0}],"instances":[]},{"id":"1.222356997","name":"Mamelodi Sundowns v Ajax Cape Town - Correct Score","sharedValues":[{"n":"infront","v":9063254.0}],"instances":[]},{"id":"1.222260177","name":"LR Vicenza Virtus v Rimini - Correct Score","sharedValues":[{"n":"infront","v":2.0}],"instances":[]},{"id":"1.222259996","name":"Calcio Avellino SSD v Lucchese - Correct Score","sharedValues":[{"n":"infront","v":2.0}],"instances":[]},{"id":"1.222478194","name":"Twente (W) v FC Zwolle (W) - Correct Score","sharedValues":[{"n":"infront","v":9063254.0},{"n":"lastinfront","v":9063254.0},{"n":"stake","v":1.75},{"n":"stop","v":0.0}],"instances":[]},{"id":"1.222370833","name":"SKN St. Polten (W) v Slavia Prague (W) - Correct Score","sharedValues":[{"n":"infront","v":3.0},{"n":"lastinfront","v":3.0},{"n":"stake","v":1.75},{"n":"stop","v":0.0}],"instances":[]},{"id":"1.221903407","name":"RB Leipzig v Young Boys - Correct Score","sharedValues":[{"n":"infront","v":9063254.0},{"n":"lastinfront","v":11.0},{"n":"stake","v":3.5},{"n":"stop","v":0.0}],"instances":[]},{"id":"1.222370653","name":"Rosengard (W) v Barcelona (W) - Correct Score","sharedValues":[{"n":"infront","v":9063255.0},{"n":"lastinfront","v":15.0},{"n":"stake","v":3.25},{"n":"stop","v":0.0}],"instances":[]},{"id":"1.221903266","name":"Crvena Zvezda v Man City - Correct Score","sharedValues":[{"n":"infront","v":4.0},{"n":"lastinfront","v":8.0},{"n":"stake","v":1.25},{"n":"stop","v":0.0}],"instances":[]}]}}
is this a bug or am I doing something wrong?
Getting Stored Values
storedvaluefilter is set to all so bringing back all
try modifying to the following:
{"marketsFilter":{"filter":"ALL"},"selectionsFilter":{"filter":"ALL"},"storedValueFilterMarketLevel":{"storedValueFilter":"SPECIFIED_NAMES", "names" : ["stop"]}}
try modifying to the following:
{"marketsFilter":{"filter":"ALL"},"selectionsFilter":{"filter":"ALL"},"storedValueFilterMarketLevel":{"storedValueFilter":"SPECIFIED_NAMES", "names" : ["stop"]}}