Skip to content

/AWS1/CL_MD2=>LISTHARVESTJOBS()

About ListHarvestJobs

Retrieves a list of harvest jobs that match the specified criteria.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the channel group to filter the harvest jobs by. If specified, only harvest jobs associated with channels in this group will be returned.

Optional arguments:

IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the channel to filter the harvest jobs by. If specified, only harvest jobs associated with this channel will be returned.

IV_ORIGINENDPOINTNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the origin endpoint to filter the harvest jobs by. If specified, only harvest jobs associated with this origin endpoint will be returned.

IV_STATUS TYPE /AWS1/MD2HARVESTJOBSTATUS /AWS1/MD2HARVESTJOBSTATUS

The status to filter the harvest jobs by. If specified, only harvest jobs with this status will be returned.

IV_MAXRESULTS TYPE /AWS1/MD2LISTRESOURCEMAXRSLTS /AWS1/MD2LISTRESOURCEMAXRSLTS

The maximum number of harvest jobs to return in a single request. If not specified, a default value will be used.

IV_NEXTTOKEN TYPE /AWS1/MD2STRING /AWS1/MD2STRING

A token used for pagination. Provide this value in subsequent requests to retrieve the next set of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MD2LISTHARVESTJOBSRSP /AWS1/CL_MD2LISTHARVESTJOBSRSP