Skip to content

Get Batch With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/ResourcesAPI/getBatchWithMinimalResponse

getBatchWithMinimalResponse

[JVM]
abstract fun getBatchWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullrequest: @NonNullBatchResourceRequest): CompletableFuture<Response<MinimalResourceBatch>>

Get resources in batch with minimal response by specifying a list of IDs or paths.

Return

A future that resolves to a batch of minimal resources.

Parameters

JVM

spaceId- Space identifier
request- Request to retrieve multiple resources in a batch where only one of ids or paths should be provided, not both.

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 getBatchWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullrequest: @NonNullBatchResourceRequest, @NonNullparams: @NonNullGetResourceParams): CompletableFuture<Response<MinimalResourceBatch>>

Get resources in batch with minimal response by specifying a list of IDs or paths with additional parameters.

Return

A future that resolves to a batch of minimal resources.

Parameters

JVM

spaceId- Space identifier
request- Request to retrieve multiple resources in a batch where only one of ids or paths should be provided, not both.
params- The parameters to filter the response.

Throws

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