ProcFormFile

ProcFormFile(
    int FileID,
    bool ReturnDownloadUrl
)

Returns the information for a File.

Request

Request Data:

  • (int) FileOD (required) – identify the file to get.
  • (bool) ReturnDownloadUrl (required) – if true the response will not contain the “File” property and instead returns a “DownloadUrl” with a temporary download link for the file. *Note:* available starting on RPM24.
{
	"FormID": <int>
}

Response

{
  "Result": {
    "FileID": <int>,
    "FormID": <int>,
    "File": <string>,
    "DownloadUrl": <string>,
    "Name": <string>,
    "Description": <string>,
    "IsStaffOnly": <bool>,
    "FolderID": <int>
  }
}

Errors

  • “File not found”
%d bloggers like this: