Create Package Upload
//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/createPackageUpload
createPackageUpload
[JVM]
abstract fun createPackageUpload(@NonNullrequest: @NonNullCreatePackageUploadRequest): CompletableFuture<Response<UploadDetails>>
Creates a package upload. The package upload is used for transactional uploads of a file and its related support files. A maximum of 10 support files can be included in the package upload and by default, the support file links are added to the main file.
Return
- A future that resolves to the package upload response.
Parameters
JVM
| request | - The package upload request. |
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 createPackageUpload(@NonNullrequest: @NonNullCreatePackageUploadRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<UploadDetails>>
Creates a package upload. The package upload is used for transactional uploads of a file and its related support files. A maximum of 10 support files can be included in the package upload and by default, the support file links are added to the main file.
Return
- A future that resolves to the package upload response.
Parameters
JVM
| request | - The package upload request. |
| 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. |