Skip to content

/AWS1/CL_GLURESPONSECONF

Configuration that defines how to parse JSON responses from REST API calls, including paths to result data and error information.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_resultpath TYPE /AWS1/GLUJSONPATHSTRING /AWS1/GLUJSONPATHSTRING

The JSON path expression that identifies where the actual result data is located within the API response.

Optional arguments:

iv_errorpath TYPE /AWS1/GLUJSONPATHSTRING /AWS1/GLUJSONPATHSTRING

The JSON path expression that identifies where error information is located within API responses when requests fail.


Queryable Attributes

ResultPath

The JSON path expression that identifies where the actual result data is located within the API response.

Accessible with the following methods

Method Description
GET_RESULTPATH() Getter for RESULTPATH, with configurable default
ASK_RESULTPATH() Getter for RESULTPATH w/ exceptions if field has no value
HAS_RESULTPATH() Determine if RESULTPATH has a value

ErrorPath

The JSON path expression that identifies where error information is located within API responses when requests fail.

Accessible with the following methods

Method Description
GET_ERRORPATH() Getter for ERRORPATH, with configurable default
ASK_ERRORPATH() Getter for ERRORPATH w/ exceptions if field has no value
HAS_ERRORPATH() Determine if ERRORPATH has a value