Previous Page Arrow Next Page Arrow

11.2 Operation URL

Service URLs are obtained by appending a $service segment and a service operation name to an SData resource kind URL, as described inĀ the corresponding URL syntax subsection.

Typically, our example operations would be available at the following URLs:

http://www.example.com/sdata/myApp/myContract/-/products/$service/computeSimplePrice 
http://www.example.com/sdata/myApp/myContract/-/salesOrders/$service/computeOrderPrices 
http://www.example.com/sdata/myApp/myContract/-/salesOrders/$service/manufactureOrder 
http://www.example.com/sdata/myApp/myContract/-/customers/$service/sendOverdueReminders 
SData providers MUST use the URL syntax described in the Service Operation URL section to expose their service operations.

Previous Page Arrow Next Page Arrow