REST API reference (high-level framework)
The reference information provided in this section allow you to create RESTful Web service server and client applications using the Genero Web Services high-level framework.
Overview
You declare certain things about functions in your Web service program which identifies the function as a high level RESTful web service and helps the compiler check your code accordingly.
ATTRIBUTE
or ATTRIBUTES
allows you to specify
special RESTful attributes when declaring a function. This keyword is followed by an attribute
specification inside parentheses. You can specify this keyword in the declaration of the
function's:- input parameters
- function definition
- return values
See Using RESTful attributes for examples of use of the attributes in arguments. The High-level RESTful Web service attributes reference page lists attributes currently defined for high-level RESTful functions.
Some attributes are used in the attribute clause for variables at the modular level. See the WSError, WSInfo, WSScope (module), and WSContext attributes.
See REST function syntax with RESTful attributes for details of the exact syntax for using attributes. See Function attributes for details of the semantics of attributes applying to functions.