get form data by API

Task #31257