A complete front end web application using the GN4 REST calls is included in the GN4 distribution. The application is found in GN4Mashup.zip.
The application uses gnclient.dll that handles the REST calls for applications built with .net language.
For detailed information, see the Tera Technical documentation on TeraDP.GN4.GNClient Namespace:
http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4GNClient.html