Partially update a specific upload by upload Id
patch
/PASService/rest/services/v1/uploads/{uploadId}
Partially updates upload metadata for a specific upload Id.
Request
Path Parameters
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This operation partially updates upload metadata for a specific upload Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/uploads/{uploadId}" \
-d '{"upload":{"entityType":"01"}}'
Example Request Body
The following shows an example of the request body in JSON format:
{
"upload":
{
"entityType": "01",
"uploadTypeCode": "04",
"clientNumber": "CL123456",
"serverFileName": "2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45.XLS",
"documentId":"2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45",
"documentUrl":""https://documents.example.com/files/2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45"
}
}