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.
.
.
.