/AWS1/IF_AFB=>CREATEROOM()¶
About CreateRoom¶
Creates a room with the specified details.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_roomname TYPE /AWS1/AFBROOMNAME /AWS1/AFBROOMNAME¶
The name for the room.
Optional arguments:¶
iv_description TYPE /AWS1/AFBROOMDESCRIPTION /AWS1/AFBROOMDESCRIPTION¶
The description for the room.
iv_profilearn TYPE /AWS1/AFBARN /AWS1/AFBARN¶
The profile ARN for the room. This is required.
iv_providercalendarid TYPE /AWS1/AFBPROVIDERCALENDARID /AWS1/AFBPROVIDERCALENDARID¶
The calendar ARN for the room.
iv_clientrequesttoken TYPE /AWS1/AFBCLIENTREQUESTTOKEN /AWS1/AFBCLIENTREQUESTTOKEN¶
A unique, user-specified identifier for this request that ensures idempotency.
it_tags TYPE /AWS1/CL_AFBTAG=>TT_TAGLIST TT_TAGLIST¶
The tags for the room.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_afbcreateroomresponse /AWS1/CL_AFBCREATEROOMRESPONSE¶
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~createroom(
it_tags = VALUE /aws1/cl_afbtag=>tt_taglist(
(
new /aws1/cl_afbtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clientrequesttoken = |string|
iv_description = |string|
iv_profilearn = |string|
iv_providercalendarid = |string|
iv_roomname = |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_roomarn( ).
ENDIF.