Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Exporting a User List

Updated on 2022-09-14 GMT+08:00

Function

Invoke the export and download interfaces in sequence to export the user list. The output of the export interface is the input of the download interface.

Example code

The following provides an example code of exporting a user list, which uses the main method of the rest.ExportUsers class.

    String operationName = "ExportUsers"; 
    String exportOperationUrl = webUrl + EXPORT_URL; 
    HttpManager httpManager = new HttpManager(); 
    //Invoke the export interface. 
    String responseLineContent = httpManager 
        .sendHttpPostRequestWithString(httpClient, exportOperationUrl, StringUtils.EMPTY, operationName); 
    //Invoke the download interface. 
    operationName = "DownloadUsers"; 
    JSONObject jsonObj = JSON.parseObject(responseLineContent); 
    String downloadOperationUrl = webUrl + DOWNLOAD_URL + jsonObj.getString("fileName"); 
    httpManager.sendHttpGetRequest(httpClient, downloadOperationUrl, operationName);
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback