public synchronized void samplesUpload(List<JSONObject> samples, String callBackUrl) {
        try {
            JSONObject data = new JSONObject();
            data.put(Constants.SAMPLES, new JSONArray(samples));
            getJson(Methods.POST, callBackUrl, data);
        } catch (JSONException e) {
            BmLog.error("Failed to upload samples: " + e.getMessage());
        }
    }