Example codes on how to use the User Interface Open API (in PHP)