public JobResponse createFullExport ( String exportType , String startDate , String endDate ) throws ApiException { Object localVarPostBody = null ; // create path and map variables String localVarPath = "/exports/fullExport" . replaceAll ( "\\{format\\}" , "json" ) ; // query params List < Pair > localVarQueryParams = new ArrayList < Pair > ( ) ; Map < String , String > localVarHeaderParams = new HashMap < String , String > ( ) ; Map < String , Object > localVarFormParams = new HashMap < String , Object > ( ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "exportType" , exportType ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "startDate" , startDate ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "endDate" , endDate ) ) ; final String [ ] localVarAccepts = { "application/json" } ; final String localVarAccept = apiClient . selectHeaderAccept ( localVarAccepts ) ; final String [ ] localVarContentTypes = { "application/json" } ; final String localVarContentType = apiClient . selectHeaderContentType ( localVarContentTypes ) ; String [ ] localVarAuthNames = new String [ ] { } ; GenericType < JobResponse > localVarReturnType = new GenericType < JobResponse > ( ) { } ; return apiClient . invokeAPI ( localVarPath , "POST" , localVarQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType ) ; }
createFullExport Creates a full export of the workspace data or an export of the changelog depending on given type