There are a number of options to make a callout from Salesforce to your existing web service.
Using a workflow rule and outbound message is one option, but would be more difficult with an existing web service.
Instead, you could create a trigger on the records of interest. The Trigger would call a future methods with the Id's of the records that need to be sent to the external web service. Finally, the future method would make the actual callout to the web service.
It you need a more resilient solution consider maintaining a queue object and have a scheduled batch job make the callouts and handle any subsequent problems.
What is the methods(Get,Post) that I have to use in making these callouts to send these Ids to the external webservice
It isn't clear what the requirements for your web service are. However, one option to invoke it would be to use the HttpRequest class. This includes a setMethod
method so you can specify GET/POST.
I need to send these changes to the external webservice whenever there is an update on object with a particular [field]
As I mentioned above, you can use a trigger on update to examine the records being changed. Part of this process allows you to access both the old and new values of the record. Once you have built up a Set
or affected Ids you can pass it off to the future method that will call the web service.