Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_AG2=>CREATEROUTERESPONSE()

About CreateRouteResponse

Creates a RouteResponse for a Route.

Method Signature

IMPORTING

Required arguments:

IV_APIID TYPE /AWS1/AG2__STRING /AWS1/AG2__STRING

The API identifier.

IV_ROUTEID TYPE /AWS1/AG2__STRING /AWS1/AG2__STRING

The route ID.

IV_ROUTERESPONSEKEY TYPE /AWS1/AG2SELECTIONKEY /AWS1/AG2SELECTIONKEY

The route response key.

Optional arguments:

IV_MODELSELECTIONEXPRESSION TYPE /AWS1/AG2SELECTIONEXPRESSION /AWS1/AG2SELECTIONEXPRESSION

The model selection expression for the route response. Supported only for WebSocket APIs.

IT_RESPONSEMODELS TYPE /AWS1/CL_AG2ROUTEMODELS_W=>TT_ROUTEMODELS TT_ROUTEMODELS

The response models for the route response.

IT_RESPONSEPARAMETERS TYPE /AWS1/CL_AG2PARAMETERCNSTRNTS=>TT_ROUTEPARAMETERS TT_ROUTEPARAMETERS

The route response parameters.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AG2CREATEROUTERSPRSP /AWS1/CL_AG2CREATEROUTERSPRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC