Create a sage50c REST API

Hello, 

I would like to know if it is possible to create a REST API for sage50c using the c# api methods, and if so how or where could i start.

thanks in advance