MT#7309 API fix updating autoattendants

correct validation on empty array (allowed)
set uuid field
(cherry picked from commit e02841d769cdd8e504f5147b902a54240bd2c3a1)