Skip to content

Patch

//trimble-id/com.trimble.id/HttpClient/patch

patch

[JVM]
open fun <T> patch(url: String, payload: RequestPayload, headers: List<NameValuePair>, responseType: Class<T>): CompletableFuture<Response<T>>

Patch method

Return

Parameters

JVM

<T>- responseType
url- url
payload- It has the payload data and content type
headers- headers
responseType- responseType

Throws

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