Skip to content

Move With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/moveWithMinimalResponse

moveWithMinimalResponse

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

Move a file to a new location within the same space and return a minimal response.

Return

  • A future that resolves to the file response with minimal details.

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 moveWithMinimalResponse(@NonNullrequest: @NonNullMoveFileRequest): CompletableFuture<Response<MinimalFile>>

Move a file to a new location within the same space and return a minimal response.

Return

  • A future that resolves to the file response with minimal details.

Parameters

JVM

request- The request to move 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 moveWithMinimalResponse(@NonNullrequest: @NonNullMoveFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFile>>

Move a file to a new location within the same space and return a minimal response.

Return

  • A future that resolves to the file response with minimal details.

Parameters

JVM

request- The request to move 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.