GET PlanCare2Api/RootData/Document/FileListWithExtensions?fileListId={fileListId}
Returns a file list including the allowed extensions.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fileListId |
The identifier for the file list. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
File list including the allowed extensions.
FileListWithExtensions| Name | Description | Type | Additional information |
|---|---|---|---|
| Guid |
Identifier for the file list. |
globally unique identifier |
- |
| Name |
Name of the file list. |
string |
- |
| Description |
Description of the file list. |
string |
- |
| IsWhitelistOnly |
Only extensions on this list are allowed, other unregistered extensions are blocked. |
boolean |
- |
| FileExtensions |
List of known file extensions for this file list. |
Collection of FileExtensionInformation |
- |
Response Formats
application/json, text/json
Sample:
{
"Guid": "ec9d28e9-7d6b-4c39-9c71-3318473669c3",
"Name": "sample string 2",
"Description": "sample string 3",
"IsWhitelistOnly": true,
"FileExtensions": [
{
"$id": "2",
"Guid": "989f46f6-491c-4ad5-83cf-f8e91d631c99",
"Extension": "sample string 2",
"IsFromFileList": true,
"MaximumSize": 1
},
{
"$ref": "2"
}
]
}
application/xml, text/xml
Sample:
<FileListWithExtensions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Documents">
<Description>sample string 3</Description>
<FileExtensions>
<FileExtensionInformation>
<Extension>sample string 2</Extension>
<Guid>989f46f6-491c-4ad5-83cf-f8e91d631c99</Guid>
<IsFromFileList>true</IsFromFileList>
<MaximumSize>1</MaximumSize>
</FileExtensionInformation>
<FileExtensionInformation>
<Extension>sample string 2</Extension>
<Guid>989f46f6-491c-4ad5-83cf-f8e91d631c99</Guid>
<IsFromFileList>true</IsFromFileList>
<MaximumSize>1</MaximumSize>
</FileExtensionInformation>
</FileExtensions>
<Guid>ec9d28e9-7d6b-4c39-9c71-3318473669c3</Guid>
<IsWhitelistOnly>true</IsWhitelistOnly>
<Name>sample string 2</Name>
</FileListWithExtensions>