The following API, i have used to add value against the single "BuildId" and single "SerieId".
curl -d '{"projectId":"Test","serieId":"serie.dummy.11","sample":{"buildId":1000,"value":748}}'
-H "Content-Type: application/json"
-X POST http://dana.myserver.com/apis/addSample'
- But i am able to add just single sample value against the single "BuildId", when i tries to add another value but it displays an error " serieId already exist, use override flag to override content".
Expected:
- I should be able to add multiple sample value against the single "SerieId".
The following API, i have used to add value against the single "BuildId" and single "SerieId".
curl -d '{"projectId":"Test","serieId":"serie.dummy.11","sample":{"buildId":1000,"value":748}}'
-H "Content-Type: application/json"
-X POST http://dana.myserver.com/apis/addSample'
Expected: