Added wavasegment validataion logic to /data/upload/wavesegment api

Change-Id: I4ae2f8ecdd384ce50178210d592d33863d212353