Returns files associated with a member

Request Information

URI Parameters

Name Description Type Additional information
userId

Id for the member you want to retrieve files for

integer

Required

fileSource

Only pull files with matching source

FileSource
startDate

Only pull files uploaded on or after this date

date
endDate

Only pull files uploaded on or before this date

date
page

Page number (starting page is 1)

integer

Default value is 1

pageSize

Number of results to return (defaults to 25, max of 200)

integer

Default value is 25

Body Parameters

None.

Sample Request

https://api.servicereef.com/v1/members/{userId}/files?fileSource={fileSource}&startDate={startDate}&endDate={endDate}&page={page}&pageSize={pageSize}

Response Information

Resource Description

PagedListResultOfFileModel
Name Description Type Additional information
PageInfo

PageModel
Results

Collection of FileModel

Try API

Try this endpoint by entering your credentials and using the API Explorer.

Try With API Explorer

Response Formats

application/json, text/json

Sample:
{
  "PageInfo": {
    "TotalRecords": 1,
    "Page": 2,
    "PageSize": 3
  },
  "Results": [
    {
      "Url": "sample string 1",
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Source": "Unknown",
      "BrowserUrl": "sample string 5"
    },
    {
      "Url": "sample string 1",
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Description": "sample string 4",
      "Source": "Unknown",
      "BrowserUrl": "sample string 5"
    }
  ]
}