Get uploads
get
/PASService/rest/services/v1/uploads
Gets a list of upload metadata records. When no query is supplied, the latest uploads are returned.
Request
Query Parameters
-
expand: string
codes, all
-
limit: integer(int32)
-
offset: integer(int32)
-
q: string
Search parameter
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
successful operation
Examples
This operation gets a list of upload metadata records. When no query parameters are supplied, the latest upload records are returned.
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"
Example Response Body
The following shows an example of the response body in JSON format:
{
"uploads":[
{
"links": [
{
"href": "http://server:port/PASService/rest/services/v1/uploads/08739DA7-D305-450F-975A-44B269B159CD",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
}
],
"uploadId": "2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45",
"entityType": "01",
"relatedId": "f1e2d3c4-b5a6-7890-cdef-0987654321ab",
"uploadName": "Member Census Upload",
"uploadTypeCode": "04",
"effectiveDate": "2026-06-11T10:30:00Z",
"clientNumber": "CL123456",
"localFileName": "MemberCensus.xlsx",
"serverFileName": "2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45.XLS",
"documentId":"2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45",
"documentUrl":""https://documents.example.com/files/2c5fd8f2-b67d-4aaf-9c1d-8f3b6e2d1f45"
}
]
}