v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
OData Form Service

Data Download Path

(introduced: version 1.2)

This route is a web browser oriented endpoint intended for user-interactive usage only. It's not part of the Central API, but is documented here as it can be useful.

If you are writing or configuring an OData client and have submission media files to deal with, you can run into authentication problems directly fetching or linking the media file URLs that are provided in the OData feed. This can be due to several reasons: if the user is not logged into the Central administration site (and thus has no valid cookie), if the request comes from a foreign origin (and thus cookies are not sent by the browser), and more.

To help manage this, the frontend provides a /dl path that allows file download. Just take a normal attachment download path and replace the /v1 near the beginning of the path with /dl, and the user will be taken to a page managed by the Central administration website that will ensure the user is logged in, and offer the file as a download.

Because this /dl path returns a web page that causes a file download rather than directly returning the media file in question, it cannot be used to directly embed or retrieve these files, for example in a <img> tag.

get/dl/projects{projectId}/forms/{xmlFormId}/submissions/{instanceId}/attachments/{filename}

Path parameters

projectIdnumber required

The numeric ID of the Project

xmlFormIdstring required

The xmlFormId of the Form whose OData service you wish to access.

instanceIdstring required

The instanceId of the Submission being referenced.

filenamestring required

The name of the file to be retrieved.

Response

OK