/AWS1/IF_R5D=>UPDATEDOMAINCONTACT()¶
About UpdateDomainContact¶
This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.
If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the operation. If the request is not completed successfully, the domain registrant will be notified by email.
Method Signature¶
METHODS /AWS1/IF_R5D~UPDATEDOMAINCONTACT
IMPORTING
!IV_DOMAINNAME TYPE /AWS1/R5DDOMAINNAME OPTIONAL
!IO_ADMINCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IO_REGISTRANTCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IO_TECHCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IO_CONSENT TYPE REF TO /AWS1/CL_R5DCONSENT OPTIONAL
!IO_BILLINGCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5dupddomcontactrsp
RAISING
/AWS1/CX_R5DDUPLICATEREQUEST
/AWS1/CX_R5DINVALIDINPUT
/AWS1/CX_R5DOPLIMITEXCEEDED
/AWS1/CX_R5DTLDRULESVIOLATION
/AWS1/CX_R5DUNSUPPORTEDTLD
/AWS1/CX_R5DCLIENTEXC
/AWS1/CX_R5DSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainname TYPE /AWS1/R5DDOMAINNAME /AWS1/R5DDOMAINNAME¶
The name of the domain that you want to update contact information for.
Optional arguments:¶
io_admincontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information.
io_registrantcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information.
io_techcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information.
io_consent TYPE REF TO /AWS1/CL_R5DCONSENT /AWS1/CL_R5DCONSENT¶
Customer's consent for the owner change request. Required if the domain is not free (consent price is more than $0.00).
io_billingcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5dupddomcontactrsp /AWS1/CL_R5DUPDDOMCONTACTRSP¶
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->updatedomaincontact(
io_admincontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_billingcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_consent = new /aws1/cl_r5dconsent(
iv_currency = |string|
iv_maxprice = '0.1'
)
io_registrantcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_techcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
iv_domainname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_operationid = lo_result->get_operationid( ).
ENDIF.