/AWS1/IF_MPB=>GETINBOUNDEXTERNALLINK()¶
About GetInboundExternalLink¶
Retrieves information about an inbound external link.
Method Signature¶
METHODS /AWS1/IF_MPB~GETINBOUNDEXTERNALLINK
IMPORTING
!IV_GATEWAYID TYPE /AWS1/MPBGATEWAYID OPTIONAL
!IV_LINKID TYPE /AWS1/MPBLINKID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpbgetindbexternall01
RAISING
/AWS1/CX_MPBACCESSDENIEDEX
/AWS1/CX_MPBINTERNALSERVEREX
/AWS1/CX_MPBRESOURCENOTFOUNDEX
/AWS1/CX_MPBTHROTTLINGEX
/AWS1/CX_MPBVALIDATIONEX
/AWS1/CX_MPBCLIENTEXC
/AWS1/CX_MPBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_gatewayid TYPE /AWS1/MPBGATEWAYID /AWS1/MPBGATEWAYID¶
The unique identifier of the gateway.
iv_linkid TYPE /AWS1/MPBLINKID /AWS1/MPBLINKID¶
The unique identifier of the link.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mpbgetindbexternall01 /AWS1/CL_MPBGETINDBEXTERNALL01¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->getinboundexternallink(
iv_gatewayid = |string|
iv_linkid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_gatewayid = lo_result->get_gatewayid( ).
lv_linkid = lo_result->get_linkid( ).
lv_linkstatus = lo_result->get_status( ).
lv_domainname = lo_result->get_domainname( ).
LOOP AT lo_result->get_flowmodules( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_version = lo_row_1->get_version( ).
lv_flowmodulename = lo_row_1->get_name( ).
LOOP AT lo_row_1->get_dependson( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_flowmodulename = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lo_moduleparameters = lo_row_1->get_moduleparameters( ).
IF lo_moduleparameters IS NOT INITIAL.
lo_nobidmoduleparameters = lo_moduleparameters->get_nobid( ).
IF lo_nobidmoduleparameters IS NOT INITIAL.
lv_string = lo_nobidmoduleparameters->get_reason( ).
lv_integer = lo_nobidmoduleparameters->get_reasoncode( ).
lv_float = lo_nobidmoduleparameters->get_passthroughpercentage( ).
ENDIF.
lo_openrtbattributemodulep = lo_moduleparameters->get_openrtbattribute( ).
IF lo_openrtbattributemodulep IS NOT INITIAL.
lv_filtertype = lo_openrtbattributemodulep->get_filtertype( ).
LOOP AT lo_openrtbattributemodulep->get_filterconfiguration( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
LOOP AT lo_row_5->get_criteria( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string = lo_row_7->get_path( ).
LOOP AT lo_row_7->get_values( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_string = lo_row_9->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lo_action = lo_openrtbattributemodulep->get_action( ).
IF lo_action IS NOT INITIAL.
lo_nobidaction = lo_action->get_nobid( ).
IF lo_nobidaction IS NOT INITIAL.
lv_integer = lo_nobidaction->get_nobidreasoncode( ).
ENDIF.
lo_headertagaction = lo_action->get_headertag( ).
IF lo_headertagaction IS NOT INITIAL.
lv_string = lo_headertagaction->get_name( ).
lv_string = lo_headertagaction->get_value( ).
ENDIF.
ENDIF.
lv_float = lo_openrtbattributemodulep->get_holdbackpercentage( ).
ENDIF.
lo_ratelimitermoduleparame = lo_moduleparameters->get_ratelimiter( ).
IF lo_ratelimitermoduleparame IS NOT INITIAL.
lv_float = lo_ratelimitermoduleparame->get_tps( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_pendingflowmodules( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_version = lo_row_1->get_version( ).
lv_flowmodulename = lo_row_1->get_name( ).
LOOP AT lo_row_1->get_dependson( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_flowmodulename = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lo_moduleparameters = lo_row_1->get_moduleparameters( ).
IF lo_moduleparameters IS NOT INITIAL.
lo_nobidmoduleparameters = lo_moduleparameters->get_nobid( ).
IF lo_nobidmoduleparameters IS NOT INITIAL.
lv_string = lo_nobidmoduleparameters->get_reason( ).
lv_integer = lo_nobidmoduleparameters->get_reasoncode( ).
lv_float = lo_nobidmoduleparameters->get_passthroughpercentage( ).
ENDIF.
lo_openrtbattributemodulep = lo_moduleparameters->get_openrtbattribute( ).
IF lo_openrtbattributemodulep IS NOT INITIAL.
lv_filtertype = lo_openrtbattributemodulep->get_filtertype( ).
LOOP AT lo_openrtbattributemodulep->get_filterconfiguration( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
LOOP AT lo_row_5->get_criteria( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string = lo_row_7->get_path( ).
LOOP AT lo_row_7->get_values( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_string = lo_row_9->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lo_action = lo_openrtbattributemodulep->get_action( ).
IF lo_action IS NOT INITIAL.
lo_nobidaction = lo_action->get_nobid( ).
IF lo_nobidaction IS NOT INITIAL.
lv_integer = lo_nobidaction->get_nobidreasoncode( ).
ENDIF.
lo_headertagaction = lo_action->get_headertag( ).
IF lo_headertagaction IS NOT INITIAL.
lv_string = lo_headertagaction->get_name( ).
lv_string = lo_headertagaction->get_value( ).
ENDIF.
ENDIF.
lv_float = lo_openrtbattributemodulep->get_holdbackpercentage( ).
ENDIF.
lo_ratelimitermoduleparame = lo_moduleparameters->get_ratelimiter( ).
IF lo_ratelimitermoduleparame IS NOT INITIAL.
lv_float = lo_ratelimitermoduleparame->get_tps( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
lo_linkattributes = lo_result->get_attributes( ).
IF lo_linkattributes IS NOT INITIAL.
LOOP AT lo_linkattributes->get_respondererrormasking( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
lv_string = lo_row_11->get_httpcode( ).
lv_respondererrormaskingac = lo_row_11->get_action( ).
LOOP AT lo_row_11->get_loggingtypes( ) into lo_row_12.
lo_row_13 = lo_row_12.
IF lo_row_13 IS NOT INITIAL.
lv_respondererrormaskinglo = lo_row_13->get_value( ).
ENDIF.
ENDLOOP.
lv_float = lo_row_11->get_rsploggingpercentage( ).
ENDIF.
ENDLOOP.
lv_customerprovidedid = lo_linkattributes->get_customerprovidedid( ).
ENDIF.
lv_timestamp = lo_result->get_createdat( ).
lv_timestamp = lo_result->get_updatedat( ).
LOOP AT lo_result->get_tags( ) into ls_row_14.
lv_key = ls_row_14-key.
lo_value = ls_row_14-value.
IF lo_value IS NOT INITIAL.
lv_tagvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
Get inbound external link details¶
Get details of an inbound external link
DATA(lo_result) = lo_client->getinboundexternallink(
iv_gatewayid = |rtb-gw-12345678|
iv_linkid = |link-87654321|
).