Class ZCL_IBMC_SERVICE_EXT
public inheriting from zcl_ibmc_service create public
Documentation
Extended REST API service classTypes
| Visibility and Level | Name | Documentation |
|---|
| public | ts_oauth_prop (structured type) | |
| public | ty_image_class type string | |
| public | ty_image_format (typing) | |
| public | ty_instance_id (typing) | |
| public | ty_servicename (typing) | |
Constants
| Visibility and Level | Name | Documentation |
|---|
| public static | c_field_none type fieldname value '###' | Field Name |
| public static | c_format_all type ty_image_format value '*' | Image encoding (jpg, png, ...) |
| public static | c_format_gif type ty_image_format value 'gif' | Image encoding (jpg, png, ...) |
| public static | c_format_jpg type ty_image_format value 'jpg' | Image encoding (jpg, png, ...) |
| public static | c_format_png type ty_image_format value 'png' | Image encoding (jpg, png, ...) |
| public static | c_format_tif type ty_image_format value 'tif' | Image encoding (jpg, png, ...) |
| public static | c_format_unknown type ty_image_format value '###' | Image encoding (jpg, png, ...) |
| public static | c_format_zip type ty_image_format value 'zip' | Image encoding (jpg, png, ...) |
| public static | c_iam_token_host type string value 'iam.cloud.ibm.com' | |
| public static | c_iam_token_path type string value '/identity/token' | |
| public static | c_icp4d_token_path type string value '/v1/preauth/validateAuth' | |
| public static | c_token_generation_always type char value 'A' | |
| public static | c_token_generation_auto type char value space | |
| public static | c_token_generation_never type char value 'N' | |
Attributes
| Visibility and Level | Name | Documentation |
|---|
| public instance | p_instance_id type ty_instance_id | |
| public instance | p_servicename type ty_servicename | |
Methods
| Visibility and Level | Name | Documentation |
|---|
| public static | | get_instance | | importing | i_instance_id | type ty_instance_id optional | | i_url | type string optional | | i_host | type string optional | | i_username | type string optional | | i_password | type string optional | | i_proxy_host | type string optional | | i_proxy_port | type string optional | | i_apikey | type string optional | | i_auth_method | type string default c_default | | i_oauth_prop | type ts_oauth_prop optional | | i_access_token | type ts_access_token optional | | i_token_generation | type char default c_token_generation_auto | | | type string optional | | i_version | type string optional | | exporting | value(eo_instance) | type any |
| Parameters| i_instance_id | | | i_url | | | i_host | | | i_username | | | i_password | | | i_proxy_host | | | i_proxy_port | | | i_apikey | | | i_auth_method | | | i_oauth_prop | | | i_token_generation | | | i_request_headers | | | i_version | |
|
| public static | | get_zipdata | | importing | it_examples | type any table | | iv_field_class | type fieldname default c_field_none | | iv_field_filename | type fieldname optional | | iv_field_image | type fieldname optional | | iv_image_format | type ty_image_format optional | | iv_image_name | type string optional | | exporting | et_zipdata | type tt_map_file | | raising | zcx_ibmc_service_exception |
| Parameters| it_examples | | | iv_field_class | | | iv_field_filename | | | iv_field_image | | | iv_image_format | | | iv_image_name | | | et_zipdata | |
Class-based Exceptions| zcx_ibmc_service_exception | |
|
| public instance | get_access_token redefinition | |
| public instance | | get_bearer_token | | returning | value(e_bearer_token) | type string |
| Parameters |
| public instance | | get_config_value | | importing | i_default | type zibmc_config-value optional | | i_param | type zibmc_config-param | | returning | value(e_value) | type zibmc_config-value | | raising | zcx_ibmc_service_exception |
| Parameters |
| public instance | get_request_prop redefinition | |
| public instance | | get_sdk_version_date | | returning | value(e_sdk_version_date) | type string |
| Parameters |
| public instance | | set_bearer_token | | importing | i_bearer_token | type string |
| |