Skip to content

Copy With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/copyWithMinimalResponse

copyWithMinimalResponse

[JVM]
abstract fun copyWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNulltargetParentId: @NonNullUUID): CompletableFuture<Response<MinimalFileJobResponse>>

Copies a file from one folder to another within the given space and returns minimal response.

Return

  • A future that resolves to the minimal file job response.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
targetParentId- The target parent id.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun copyWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNulltargetParentId: @NonNullUUID, @NonNullparams: @NonNullCopyFileParams): CompletableFuture<Response<MinimalFileJobResponse>>

Copies a file from one folder to another within the given space and returns minimal response.

Return

  • A future that resolves to the minimal file job response.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
targetParentId- The target parent id.
params- The parameters for the copy operation.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun copyWithMinimalResponse(@NonNullrequest: @NonNullCopyFileRequest): CompletableFuture<Response<MinimalFileJobResponse>>

Copies a file from one folder to another within the given space and returns minimal response.

Return

  • A future that resolves to the minimal file job response.

Parameters

JVM

request- The request to copy a file.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun copyWithMinimalResponse(@NonNullrequest: @NonNullCopyFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFileJobResponse>>

Copies a file from one folder to another within the given space and returns minimal response..

Return

  • A future that resolves to the minimal file job response.

Parameters

JVM

request- The request to copy a file.
requestHeader- The request header containing additional information.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.