GET api/v1/cases/{caseId}/files/{fileId}
Get a File assigned to a Case.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| caseId | integer |
Required |
|
| fileId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FileDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| BinaryData | string |
None. |
|
| LastUpdated | date |
None. |
|
| Pages | integer |
None. |
|
| FileTypeName | string |
None. |
|
| FileTypeExtension | string |
None. |
|
| Bytes | integer |
None. |
|
| PreloadInApp | boolean |
None. |
|
| ShowInClient | boolean |
None. |
|
| GroupName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"binaryData": "sample string 4",
"lastUpdated": "2025-12-08T10:16:44.869611+01:00",
"pages": 1,
"fileTypeName": "sample string 5",
"fileTypeExtension": "sample string 6",
"bytes": 1,
"preloadInApp": true,
"showInClient": true,
"groupName": "sample string 9"
}
application/xml, text/xml
Sample:
<FileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models"> <BinaryData>sample string 4</BinaryData> <Bytes>1</Bytes> <Description>sample string 3</Description> <FileTypeExtension>sample string 6</FileTypeExtension> <FileTypeName>sample string 5</FileTypeName> <GroupName>sample string 9</GroupName> <Id>1</Id> <LastUpdated>2025-12-08T10:16:44.869611+01:00</LastUpdated> <Name>sample string 2</Name> <Pages>1</Pages> <PreloadInApp>true</PreloadInApp> <ShowInClient>true</ShowInClient> </FileDto>