Example for csharp class for the REST web service