Invoking Stored Procedures

Version 25.3.9411


Invoking Stored Procedures


Use stored procedures (also known as actions) to extend the set of operations on table resources and to execute unrelated actions on the server. Stored procedures must be executed as an HTTP POST request. The following is an example invocation:

POST http://MyServer:MyPort/api.rsc/WashCar/
{
  "Wax": "Wax_1"
}

Here is the corresponding response:

{
  "Complete":
  "true"
}

Use URL Parameters as Input

In cases where the client does not support the HTTP POST method, you can invoke stored procedures using the @x-http-method URL parameter. You can then specify the inputs for the stored procedure as additional URL parameters, as shown in the following example:

http://MyServer:MyPort/api.rsc/WashCar?@x-http-method=POST&URLparam1=my_url_parameter1&urlparam2=my_url_param2