Added REST service and changed pos attribute from String to Integer