Added API Sample for getting form properties

Added API Sample for getting form properties