/AWS1/CL_GLUSOURCECONF¶
Configuration that defines how to make requests to endpoints, including request methods, paths, parameters, and response handling.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_requestmethod TYPE /AWS1/GLUHTTPMETHOD /AWS1/GLUHTTPMETHOD¶
The HTTP method to use for requests to this endpoint, such as GET, POST.
iv_requestpath TYPE /AWS1/GLUPATHSTRING /AWS1/GLUPATHSTRING¶
The URL path for the REST endpoint, which may include parameter placeholders that will be replaced with actual values during requests.
it_requestparameters TYPE /AWS1/CL_GLUCONNECTORPROPERTY=>TT_CONNECTORPROPERTYLIST TT_CONNECTORPROPERTYLIST¶
Configuration for request parameters that should be included in API calls, such as query parameters, headers, or body content.
io_responseconfiguration TYPE REF TO /AWS1/CL_GLURESPONSECONF /AWS1/CL_GLURESPONSECONF¶
Configuration that defines how to parse and extract data from API responses, including success and error handling.
io_paginationconfiguration TYPE REF TO /AWS1/CL_GLUPAGINATIONCONF /AWS1/CL_GLUPAGINATIONCONF¶
Configuration for handling paginated responses from the REST API, supporting both cursor-based and offset-based pagination strategies.
Queryable Attributes¶
RequestMethod¶
The HTTP method to use for requests to this endpoint, such as GET, POST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTMETHOD() |
Getter for REQUESTMETHOD, with configurable default |
ASK_REQUESTMETHOD() |
Getter for REQUESTMETHOD w/ exceptions if field has no value |
HAS_REQUESTMETHOD() |
Determine if REQUESTMETHOD has a value |
RequestPath¶
The URL path for the REST endpoint, which may include parameter placeholders that will be replaced with actual values during requests.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTPATH() |
Getter for REQUESTPATH, with configurable default |
ASK_REQUESTPATH() |
Getter for REQUESTPATH w/ exceptions if field has no value |
HAS_REQUESTPATH() |
Determine if REQUESTPATH has a value |
RequestParameters¶
Configuration for request parameters that should be included in API calls, such as query parameters, headers, or body content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTPARAMETERS() |
Getter for REQUESTPARAMETERS, with configurable default |
ASK_REQUESTPARAMETERS() |
Getter for REQUESTPARAMETERS w/ exceptions if field has no v |
HAS_REQUESTPARAMETERS() |
Determine if REQUESTPARAMETERS has a value |
ResponseConfiguration¶
Configuration that defines how to parse and extract data from API responses, including success and error handling.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESPONSECONFIGURATION() |
Getter for RESPONSECONFIGURATION |
PaginationConfiguration¶
Configuration for handling paginated responses from the REST API, supporting both cursor-based and offset-based pagination strategies.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PAGINATIONCONFIGURATION() |
Getter for PAGINATIONCONFIGURATION |