/AWS1/IF_AFB=>UPDATEPROFILE()¶
About UpdateProfile¶
Updates an existing room profile by room profile ARN.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_profilearn TYPE /AWS1/AFBARN /AWS1/AFBARN¶
The ARN of the room profile to update. Required.
iv_profilename TYPE /AWS1/AFBPROFILENAME /AWS1/AFBPROFILENAME¶
The updated name for the room profile.
iv_isdefault TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Sets the profile as default if selected. If this is missing, no update is done to the default status.
iv_timezone TYPE /AWS1/AFBTIMEZONE /AWS1/AFBTIMEZONE¶
The updated timezone for the room profile.
iv_address TYPE /AWS1/AFBADDRESS /AWS1/AFBADDRESS¶
The updated address for the room profile.
iv_distanceunit TYPE /AWS1/AFBDISTANCEUNIT /AWS1/AFBDISTANCEUNIT¶
The updated distance unit for the room profile.
iv_temperatureunit TYPE /AWS1/AFBTEMPERATUREUNIT /AWS1/AFBTEMPERATUREUNIT¶
The updated temperature unit for the room profile.
iv_wakeword TYPE /AWS1/AFBWAKEWORD /AWS1/AFBWAKEWORD¶
The updated wake word for the room profile.
iv_locale TYPE /AWS1/AFBDEVICELOCALE /AWS1/AFBDEVICELOCALE¶
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
iv_setupmodedisabled TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether the setup mode of the profile is enabled.
iv_maxvolumelimit TYPE /AWS1/AFBMAXVOLUMELIMIT /AWS1/AFBMAXVOLUMELIMIT¶
The updated maximum volume limit for the room profile.
iv_pstnenabled TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether the PSTN setting of the room profile is enabled.
iv_dataretentionoptin TYPE /AWS1/AFBBOOLEAN /AWS1/AFBBOOLEAN¶
Whether data retention of the profile is enabled.
io_meetingroomconfiguration TYPE REF TO /AWS1/CL_AFBUPDMEETINGROOMCONF /AWS1/CL_AFBUPDMEETINGROOMCONF¶
The updated meeting room settings of a room profile.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_afbupdateprofilersp /AWS1/CL_AFBUPDATEPROFILERSP¶
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~updateprofile(
  io_meetingroomconfiguration = new /aws1/cl_afbupdmeetingroomconf(
    io_endofmeetingreminder = new /aws1/cl_afbupendofmeetingre00(
      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_afbupdinstantbooking(
      iv_durationinminutes = 123
      iv_enabled = ABAP_TRUE
    )
    io_proactivejoin = new /aws1/cl_afbupdateproactjoin( ABAP_TRUE )
    io_requirecheckin = new /aws1/cl_afbupdrequirecheckin(
      iv_enabled = ABAP_TRUE
      iv_releaseafterminutes = 123
    )
    iv_roomutilizationmetenabled = ABAP_TRUE
  )
  iv_address = |string|
  iv_dataretentionoptin = ABAP_TRUE
  iv_distanceunit = |string|
  iv_isdefault = ABAP_TRUE
  iv_locale = |string|
  iv_maxvolumelimit = 123
  iv_profilearn = |string|
  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.
ENDIF.