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