Defining REST methods

Previous Next

The only way for a client to access a REST service is by calling a REST method. A REST method is one precise task that the service offers to its clients. Therefore, when you define a custom REST service, you must also define one or more REST methods. Declare each method on the Methods tab of your custom REST service by providing values for the method properties listed below.

You can have initial code generated on the basis of SQL statements. This involves automatically generating the method's Signature, Implementation, and Parameters (as appropriate). For an example, go to help topic " Example: a REST service for retrieving data ".

collapseMethod Name
collapseRelative URI Path
collapseREST HTTP Verb
collapseSignature
collapseImplementation
collapseParameters
collapseInitial code

 

Next steps

You are now ready to test and debug your custom REST service. Remember to re-publish the service each time you decide to make changes to the code.

 

See also

Example: a REST service for retrieving data