Get Batch
//trimblecloud-fileservice/trimblecloud.fileservice/ResourcesAPI/getBatch
getBatch
[JVM]
abstract fun getBatch(@NonNullspaceId: @NonNullUUID, @NonNullrequest: @NonNullBatchResourceRequest): CompletableFuture<Response<ResourceBatch>>
Get resources in batch by specifying a list of IDs or paths.
Return
A future that resolves to a batch of 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 getBatch(@NonNullspaceId: @NonNullUUID, @NonNullrequest: @NonNullBatchResourceRequest, @NonNullparams: @NonNullGetResourceParams): CompletableFuture<Response<ResourceBatch>>
Get resources in batch by specifying a list of IDs or paths with additional parameters.
Return
A future that resolves to a batch of 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. |