MT#9481 Fix REST API test for changes introduced in 8122482

Change-Id: Ib5c6a21b2dc1d7a3ec905e41cc3a4b7c00922d2c
(cherry picked from commit d4f1a9b43f67cfb07a7a8a1dc1321d7b700db28e)