Skip to content

/AWS1/CL_SGM=>LISTWORKTEAMS()

About ListWorkteams

Gets a list of private work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the NameContains parameter.

Method Signature

IMPORTING

Optional arguments:

IV_SORTBY TYPE /AWS1/SGMLSTWORKTEAMSSORTBYO00 /AWS1/SGMLSTWORKTEAMSSORTBYO00

The field to sort results by. The default is CreationTime.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

The sort order for results. The default is Ascending.

IV_NAMECONTAINS TYPE /AWS1/SGMWORKTEAMNAME /AWS1/SGMWORKTEAMNAME

A string in the work team's name. This filter returns only work teams whose name contains the specified string.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the result of the previous ListWorkteams request was truncated, the response includes a NextToken. To retrieve the next set of labeling jobs, use the token in the next request.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of work teams to return in each page of the response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTWORKTEAMSRSP /AWS1/CL_SGMLISTWORKTEAMSRSP