/AWS1/IF_QQA=>UPDATEQAPP()¶
About UpdateQApp¶
Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.
Method Signature¶
METHODS /AWS1/IF_QQA~UPDATEQAPP
IMPORTING
!IV_INSTANCEID TYPE /AWS1/QQAINSTANCEID OPTIONAL
!IV_APPID TYPE /AWS1/QQAUUID OPTIONAL
!IV_TITLE TYPE /AWS1/QQATITLE OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/QQADESCRIPTION OPTIONAL
!IO_APPDEFINITION TYPE REF TO /AWS1/CL_QQAAPPDEFINITIONINPUT OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qqaupdateqappoutput
RAISING
/AWS1/CX_QQAACCESSDENIEDEX
/AWS1/CX_QQACONTENTTOOLARGEEX
/AWS1/CX_QQAINTERNALSERVEREX
/AWS1/CX_QQARESOURCENOTFOUNDEX
/AWS1/CX_QQATHROTTLINGEX
/AWS1/CX_QQAUNAUTHORIZEDEX
/AWS1/CX_QQAVALIDATIONEX
/AWS1/CX_QQACLIENTEXC
/AWS1/CX_QQASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_instanceid TYPE /AWS1/QQAINSTANCEID /AWS1/QQAINSTANCEID¶
The unique identifier of the Amazon Q Business application environment instance.
iv_appid TYPE /AWS1/QQAUUID /AWS1/QQAUUID¶
The unique identifier of the Q App to update.
Optional arguments:¶
iv_title TYPE /AWS1/QQATITLE /AWS1/QQATITLE¶
The new title for the Q App.
iv_description TYPE /AWS1/QQADESCRIPTION /AWS1/QQADESCRIPTION¶
The new description for the Q App.
io_appdefinition TYPE REF TO /AWS1/CL_QQAAPPDEFINITIONINPUT /AWS1/CL_QQAAPPDEFINITIONINPUT¶
The new definition specifying the cards and flow for the Q App.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_qqaupdateqappoutput /AWS1/CL_QQAUPDATEQAPPOUTPUT¶
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->updateqapp(
io_appdefinition = new /aws1/cl_qqaappdefinitioninput(
it_cards = VALUE /aws1/cl_qqacardinput=>tt_cardlist(
(
new /aws1/cl_qqacardinput(
io_fileupload = new /aws1/cl_qqafileuploadcardinp(
iv_allowoverride = ABAP_TRUE
iv_fileid = |string|
iv_filename = |string|
iv_id = |string|
iv_title = |string|
iv_type = |string|
)
io_forminput = new /aws1/cl_qqaforminputcardinput(
io_metadata = new /aws1/cl_qqaforminputcardmet(
io_schema = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
)
iv_computemode = |string|
iv_id = |string|
iv_title = |string|
iv_type = |string|
)
io_qplugin = new /aws1/cl_qqaqplugincardinput(
iv_actionidentifier = |string|
iv_id = |string|
iv_pluginid = |string|
iv_prompt = |string|
iv_title = |string|
iv_type = |string|
)
io_qquery = new /aws1/cl_qqaqquerycardinput(
io_attributefilter = new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_notfilter = new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
it_andallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
(
new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
it_orallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
)
)
it_orallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
(
new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
it_andallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
)
)
)
it_andallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
(
new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_notfilter = new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
it_orallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
it_orallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
)
)
it_orallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
(
new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_notfilter = new /aws1/cl_qqaattributefilter(
io_containsall = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_containsany = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_equalsto = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_greaterthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthan = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
io_lessthanorequals = new /aws1/cl_qqadocumentattribute(
io_value = new /aws1/cl_qqadocumentattrvalue(
it_stringlistvalue = VALUE /aws1/cl_qqadocattrstrlstval_w=>tt_documentattrstringlistvalue(
( new /aws1/cl_qqadocattrstrlstval_w( |string| ) )
)
iv_datevalue = '20150101000000.0000000'
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_name = |string|
)
it_andallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
it_andallfilters = VALUE /aws1/cl_qqaattributefilter=>tt_attributefilters(
)
)
)
)
)
iv_id = |string|
iv_outputsource = |string|
iv_prompt = |string|
iv_title = |string|
iv_type = |string|
)
io_textinput = new /aws1/cl_qqatextinputcardinput(
iv_defaultvalue = |string|
iv_id = |string|
iv_placeholder = |string|
iv_title = |string|
iv_type = |string|
)
)
)
)
iv_initialprompt = |string|
)
iv_appid = |string|
iv_description = |string|
iv_instanceid = |string|
iv_title = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_uuid = lo_result->get_appid( ).
lv_apparn = lo_result->get_apparn( ).
lv_title = lo_result->get_title( ).
lv_description = lo_result->get_description( ).
lv_initialprompt = lo_result->get_initialprompt( ).
lv_appversion = lo_result->get_appversion( ).
lv_appstatus = lo_result->get_status( ).
lv_qappstimestamp = lo_result->get_createdat( ).
lv_string = lo_result->get_createdby( ).
lv_qappstimestamp = lo_result->get_updatedat( ).
lv_string = lo_result->get_updatedby( ).
LOOP AT lo_result->get_requiredcapabilities( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_apprequiredcapability = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
Updating the title of an app¶
Updating the title of an app
DATA(lo_result) = lo_client->updateqapp(
iv_appid = |7212ff04-de7b-4831-bd80-45d6975ba1b0|
iv_instanceid = |0b95c9c4-89cc-4aa8-9aae-aa91cbec699f|
iv_title = |This is the new title|
).
Updating the app so it has a single q-query card¶
Updating the app so it has a single q-query card
DATA(lo_result) = lo_client->updateqapp(
io_appdefinition = new /aws1/cl_qqaappdefinitioninput(
it_cards = VALUE /aws1/cl_qqacardinput=>tt_cardlist(
(
new /aws1/cl_qqacardinput(
io_qquery = new /aws1/cl_qqaqquerycardinput(
iv_id = |18870b94-1e63-40e0-8c12-669c90ac5acc|
iv_prompt = |Recommend me an itinerary for a trip|
iv_title = |Trip Ideas|
iv_type = |q-query|
)
)
)
)
)
iv_appid = |7212ff04-de7b-4831-bd80-45d6975ba1b0|
iv_instanceid = |0b95c9c4-89cc-4aa8-9aae-aa91cbec699f|
).