I tried to place the following bet on the API:
```
{"jsonrpc": "2.0","method": "SportsAPING/v1.0/placeOrders","params": {"marketId": ["1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107063"],"instructions": [{"selectionId": ["2", "3", "8", "5", "6", "7", "10", "7044482"],"handicap": ["0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "3.5"],"side": ["BACK", "BACK", "BACK", "BACK", "BACK", "BACK", "BACK", "BACK"],"orderType": "LIMIT","limitOrder": {"size": ["0.09", "0.09", "16.54", "0.09", "0.09", "20.1", "0.09", "50.9"],"price": ["1000.0", "1000.0", "5.6", "1000.0", "1000.0", "9.6", "1000.0", "1.82"],"persistenceType": "LAPSE"}}]},"id": 1}
```
However I got the following error message:
```
{'jsonrpc': '2.0', 'error': {'code': -32602, 'message': 'DSC-0018'}, 'id': 1}
```
the docs are suggesting i am missing a field ("A parameter marked as mandatory was not provided") but I don't see which one? Can you place multiple bets on a single request like the above or do they have to be split up into individual bets?
```
{"jsonrpc": "2.0","method": "SportsAPING/v1.0/placeOrders","params": {"marketId": ["1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107060", "1.188107063"],"instructions": [{"selectionId": ["2", "3", "8", "5", "6", "7", "10", "7044482"],"handicap": ["0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "3.5"],"side": ["BACK", "BACK", "BACK", "BACK", "BACK", "BACK", "BACK", "BACK"],"orderType": "LIMIT","limitOrder": {"size": ["0.09", "0.09", "16.54", "0.09", "0.09", "20.1", "0.09", "50.9"],"price": ["1000.0", "1000.0", "5.6", "1000.0", "1000.0", "9.6", "1000.0", "1.82"],"persistenceType": "LAPSE"}}]},"id": 1}
```
However I got the following error message:
```
{'jsonrpc': '2.0', 'error': {'code': -32602, 'message': 'DSC-0018'}, 'id': 1}
```
the docs are suggesting i am missing a field ("A parameter marked as mandatory was not provided") but I don't see which one? Can you place multiple bets on a single request like the above or do they have to be split up into individual bets?


Comment