MT#7211 API autoattendants

(cherry picked from commit 7a79ad2fec72528894510e3fc9e559f35327766a)
MT#7211 API add autoattendants to test

(cherry picked from commit f942aed9e1d9863af6c218134253997335d63ed4)