Service Management Automation Developer's Guide
The Service Management Automation web service is a REST based service that exposes Service Management resources and relationships through Open Data Protocol (OData). You can access the web service using programming languages such as C# or scripting languages such as Windows PowerShell to automate Service Management Automation functionality including the following:
List runbooks/jobs and their details.
Start a runbook.
Start/Pause/Resume a runbook job.
Manage Administrative Configuration values.
You can interact with the Service Management Automation web service using URL syntax. This can be directly typed into the address bar of a browser or more commonly in a script or programming code in order to automate Service Management Automation functionality. You use a GET request method to retrieve data from the Service Management Automation Web service and a POST request method to update data. Data is returned in XML according to the AtomPub standard.
Two sources that you can reference for more information on OData are OData.org and Open Data Protocol by Example. The following sections provide an overview of the data available from the Service Management Automation web service and examples of common scenarios for those not familiar with OData.