Is the customer a computer? Or is the customer a human? Web services should be used when the consumer is a digital entity.
That point aside, when you construct a web service that accepts simple types, such as integers like you have, the web service can support being hit with the GET method. The web method will automatically pull the values from the querystring for you. You just need to write the web method on the service.