Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge REST Web Services : REST Applications : REST annotations in ABL code : Annotation examples : Internal procedure
 
Internal procedure
The bold code in the following code sample shows the annotations when getOrder is an internal procedure of orders.p:
/* orders.p */
@openapi.openedge.export FILE (TYPE="REST",
executionMode="SINGLE-RUN").
.
.
.
.
@openapi.openedge.export(TYPE="REST").
PROCEDURE getOrder.
DEFINE INPUT PARAM customerNumber AS INT.
DEFINE INPUT PARAM orderNumber AS INT.
DEFINE OUTPUT PARAM DATASET FOR dsOrder.
.
.
.