Skip to content

/AWS1/CL_AFB=>CREATECONTACT()

About CreateContact

Creates a contact with the specified details.

Method Signature

IMPORTING

Required arguments:

IV_FIRSTNAME TYPE /AWS1/AFBCONTACTNAME /AWS1/AFBCONTACTNAME

The first name of the contact that is used to call the contact on the device.

Optional arguments:

IV_DISPLAYNAME TYPE /AWS1/AFBCONTACTNAME /AWS1/AFBCONTACTNAME

The name of the contact to display on the console.

IV_LASTNAME TYPE /AWS1/AFBCONTACTNAME /AWS1/AFBCONTACTNAME

The last name of the contact that is used to call the contact on the device.

IV_PHONENUMBER TYPE /AWS1/AFBRAWPHONENUMBER /AWS1/AFBRAWPHONENUMBER

The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

IT_PHONENUMBERS TYPE /AWS1/CL_AFBPHONENUMBER=>TT_PHONENUMBERLIST TT_PHONENUMBERLIST

The list of phone numbers for the contact.

IT_SIPADDRESSES TYPE /AWS1/CL_AFBSIPADDRESS=>TT_SIPADDRESSLIST TT_SIPADDRESSLIST

The list of SIP addresses for the contact.

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 to be added to the specified resource. Do not provide system tags.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AFBCREATECONTACTRSP /AWS1/CL_AFBCREATECONTACTRSP