Skip to content

/AWS1/CL_WIS=>STARTIMPORTJOB()

About StartImportJob

Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data.

  • For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.

Method Signature

IMPORTING

Required arguments:

IV_KNOWLEDGEBASEID TYPE /AWS1/WISUUIDORARN /AWS1/WISUUIDORARN

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • For importing Wisdom quick responses, this should be a QUICK_RESPONSES type knowledge base.

IV_IMPORTJOBTYPE TYPE /AWS1/WISIMPORTJOBTYPE /AWS1/WISIMPORTJOBTYPE

The type of the import job.

  • For importing quick response resource, set the value to QUICK_RESPONSES.

IV_UPLOADID TYPE /AWS1/WISUPLOADID /AWS1/WISUPLOADID

A pointer to the uploaded asset. This value is returned by StartContentUpload.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/WISNONEMPTYSTRING /AWS1/WISNONEMPTYSTRING

The tags used to organize, track, or control access for this resource.

IT_METADATA TYPE /AWS1/CL_WISCONTENTMETADATA_W=>TT_CONTENTMETADATA TT_CONTENTMETADATA

The metadata fields of the imported Wisdom resources.

IO_EXTERNALSOURCECONF TYPE REF TO /AWS1/CL_WISEXTERNALSOURCECONF /AWS1/CL_WISEXTERNALSOURCECONF

The configuration information of the external source that the resource data are imported from.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WISSTARTIMPORTJOBRSP /AWS1/CL_WISSTARTIMPORTJOBRSP