/AWS1/IF_AFB=>CREATEPROFILE()¶
About CreateProfile¶
Creates a new room profile with the specified details.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_profilename TYPE /AWS1/AFBPROFILENAME /AWS1/AFBPROFILENAME¶
The name of a room profile.
iv_timezone TYPE /AWS1/AFBTIMEZONE /AWS1/AFBTIMEZONE¶
The time zone used by a room profile.
iv_address TYPE /AWS1/AFBADDRESS /AWS1/AFBADDRESS¶
The valid address for the room.
iv_distanceunit TYPE /AWS1/AFBDISTANCEUNIT /AWS1/AFBDISTANCEUNIT¶
The distance unit to be used by devices in the profile.
iv_temperatureunit TYPE /AWS1/AFBTEMPERATUREUNIT /AWS1/AFBTEMPERATUREUNIT¶
The temperature unit to be used by devices in the profile.
iv_wakeword TYPE /AWS1/AFBWAKEWORD /AWS1/AFBWAKEWORD¶
A wake word for Alexa, Echo, Amazon, or a computer.
Optional arguments:¶
iv_locale TYPE /AWS1/AFBDEVICELOCALE /AWS1/AFBDEVICELOCALE¶
The locale of the room profile. (This is currently only available to a limited preview audience.)
iv_clientrequesttoken TYPE /AWS1/AFBCLIENTREQUESTTOKEN /AWS1/AFBCLIENTREQUESTTOKEN¶
The user-specified token that is used during the creation of a profile.
iv_setupmodedisabled TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether room profile setup is enabled.
iv_maxvolumelimit TYPE /AWS1/AFBMAXVOLUMELIMIT /AWS1/AFBMAXVOLUMELIMIT¶
The maximum volume limit for a room profile.
iv_pstnenabled TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether PSTN calling is enabled.
iv_dataretentionoptin TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether data retention of the profile is enabled.
io_meetingroomconfiguration TYPE REF TO /AWS1/CL_AFBCREMEETINGROOMCONF /AWS1/CL_AFBCREMEETINGROOMCONF¶
The meeting room settings of a room profile.
it_tags TYPE /AWS1/CL_AFBTAG=>TT_TAGLIST TT_TAGLIST¶
The tags for the profile.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_afbcreateprofilersp /AWS1/CL_AFBCREATEPROFILERSP¶
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->/aws1/if_afb~createprofile(
io_meetingroomconfiguration = new /aws1/cl_afbcremeetingroomconf(
io_endofmeetingreminder = new /aws1/cl_afbcreendofmeetingr00(
it_reminderatminutes = VALUE /aws1/cl_afbendofmeetingremi00=>tt_endofmeetingreminderminslst(
( new /aws1/cl_afbendofmeetingremi00( 123 ) )
)
iv_enabled = ABAP_TRUE
iv_remindertype = |string|
)
io_instantbooking = new /aws1/cl_afbcreinstantbooking(
iv_durationinminutes = 123
iv_enabled = ABAP_TRUE
)
io_proactivejoin = new /aws1/cl_afbcreateproactjoin( ABAP_TRUE )
io_requirecheckin = new /aws1/cl_afbcrerequirecheckin(
iv_enabled = ABAP_TRUE
iv_releaseafterminutes = 123
)
iv_roomutilizationmetenabled = ABAP_TRUE
)
it_tags = VALUE /aws1/cl_afbtag=>tt_taglist(
(
new /aws1/cl_afbtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_address = |string|
iv_clientrequesttoken = |string|
iv_dataretentionoptin = ABAP_TRUE
iv_distanceunit = |string|
iv_locale = |string|
iv_maxvolumelimit = 123
iv_profilename = |string|
iv_pstnenabled = ABAP_TRUE
iv_setupmodedisabled = ABAP_TRUE
iv_temperatureunit = |string|
iv_timezone = |string|
iv_wakeword = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_profilearn( ).
ENDIF.