# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/File/PrimaryFile
?record_id=11111&object_id=111&file_version=25
To get the primary file, you need to make a GET call to the following url :
http://localhost:8888/api/File/PrimaryFile
Result example :
HttpResponseMessage
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| record_id | query | string | Record Id. |
| object_id | query | long | Object Id. |
| file_version | query | integer | File Version. You can get from another method (http://localhost:8888/api/File/FileVersion). |
| Authorization | header | string | Add Authorization header token |