GET api/filetypes?parentEntityValue={parentEntityValue}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
parentEntityValue

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Filetype
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TypeId

string

None.

TypeName

string

None.

IsAvailableFromLibrary

boolean

None.

MaxFileSize

integer

None.

MaxFileCount

integer

None.

RequiredFileCount

integer

None.

RetainForYears

integer

None.

FileExtensions

Collection of FileExtension

None.

ParentEntity

string

None.

AdditionalFilesCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "7a7ed44f-a9ab-406c-be7d-e5be26b47a7d",
    "TypeId": "sample string 2",
    "TypeName": "sample string 3",
    "IsAvailableFromLibrary": true,
    "MaxFileSize": 5,
    "MaxFileCount": 6,
    "RequiredFileCount": 7,
    "RetainForYears": 8,
    "FileExtensions": [
      {
        "Id": "6360a6c4-a715-4060-bdf2-6e2fa0b848e7",
        "Name": "sample string 2"
      },
      {
        "Id": "6360a6c4-a715-4060-bdf2-6e2fa0b848e7",
        "Name": "sample string 2"
      }
    ],
    "ParentEntity": "sample string 9",
    "AdditionalFilesCount": 10
  },
  {
    "Id": "7a7ed44f-a9ab-406c-be7d-e5be26b47a7d",
    "TypeId": "sample string 2",
    "TypeName": "sample string 3",
    "IsAvailableFromLibrary": true,
    "MaxFileSize": 5,
    "MaxFileCount": 6,
    "RequiredFileCount": 7,
    "RetainForYears": 8,
    "FileExtensions": [
      {
        "Id": "6360a6c4-a715-4060-bdf2-6e2fa0b848e7",
        "Name": "sample string 2"
      },
      {
        "Id": "6360a6c4-a715-4060-bdf2-6e2fa0b848e7",
        "Name": "sample string 2"
      }
    ],
    "ParentEntity": "sample string 9",
    "AdditionalFilesCount": 10
  }
]

application/xml, text/xml

Sample:
<ArrayOfFiletype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <Filetype>
    <AdditionalFilesCount>10</AdditionalFilesCount>
    <FileExtensions>
      <FileExtension>
        <Id>6360a6c4-a715-4060-bdf2-6e2fa0b848e7</Id>
        <Name>sample string 2</Name>
      </FileExtension>
      <FileExtension>
        <Id>6360a6c4-a715-4060-bdf2-6e2fa0b848e7</Id>
        <Name>sample string 2</Name>
      </FileExtension>
    </FileExtensions>
    <Id>7a7ed44f-a9ab-406c-be7d-e5be26b47a7d</Id>
    <IsAvailableFromLibrary>true</IsAvailableFromLibrary>
    <MaxFileCount>6</MaxFileCount>
    <MaxFileSize>5</MaxFileSize>
    <ParentEntity>sample string 9</ParentEntity>
    <RequiredFileCount>7</RequiredFileCount>
    <RetainForYears>8</RetainForYears>
    <TypeId>sample string 2</TypeId>
    <TypeName>sample string 3</TypeName>
  </Filetype>
  <Filetype>
    <AdditionalFilesCount>10</AdditionalFilesCount>
    <FileExtensions>
      <FileExtension>
        <Id>6360a6c4-a715-4060-bdf2-6e2fa0b848e7</Id>
        <Name>sample string 2</Name>
      </FileExtension>
      <FileExtension>
        <Id>6360a6c4-a715-4060-bdf2-6e2fa0b848e7</Id>
        <Name>sample string 2</Name>
      </FileExtension>
    </FileExtensions>
    <Id>7a7ed44f-a9ab-406c-be7d-e5be26b47a7d</Id>
    <IsAvailableFromLibrary>true</IsAvailableFromLibrary>
    <MaxFileCount>6</MaxFileCount>
    <MaxFileSize>5</MaxFileSize>
    <ParentEntity>sample string 9</ParentEntity>
    <RequiredFileCount>7</RequiredFileCount>
    <RetainForYears>8</RetainForYears>
    <TypeId>sample string 2</TypeId>
    <TypeName>sample string 3</TypeName>
  </Filetype>
</ArrayOfFiletype>