POST api/File/Upload

Documentation for 'Upload'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "FileName": "sample string 3",
    "RealName": "sample string 4",
    "Path": "sample string 5",
    "Size": 6,
    "Date": "2022-05-19T20:36:23.7071501+04:30",
    "Des": "sample string 8",
    "Active": true,
    "Visible": true,
    "DispositionType": 0
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "FileName": "sample string 3",
    "RealName": "sample string 4",
    "Path": "sample string 5",
    "Size": 6,
    "Date": "2022-05-19T20:36:23.7071501+04:30",
    "Des": "sample string 8",
    "Active": true,
    "Visible": true,
    "DispositionType": 0
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "FileName": "sample string 3",
    "RealName": "sample string 4",
    "Path": "sample string 5",
    "Size": 6,
    "Date": "2022-05-19T20:36:23.7071501+04:30",
    "Des": "sample string 8",
    "Active": true,
    "Visible": true,
    "DispositionType": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FileCenter.Models">
  <File>
    <Active>true</Active>
    <Code>sample string 2</Code>
    <Date>2022-05-19T20:36:23.7071501+04:30</Date>
    <Des>sample string 8</Des>
    <DispositionType>Display</DispositionType>
    <FileName>sample string 3</FileName>
    <Id>1</Id>
    <Path>sample string 5</Path>
    <RealName>sample string 4</RealName>
    <Size>6</Size>
    <Visible>true</Visible>
  </File>
  <File>
    <Active>true</Active>
    <Code>sample string 2</Code>
    <Date>2022-05-19T20:36:23.7071501+04:30</Date>
    <Des>sample string 8</Des>
    <DispositionType>Display</DispositionType>
    <FileName>sample string 3</FileName>
    <Id>1</Id>
    <Path>sample string 5</Path>
    <RealName>sample string 4</RealName>
    <Size>6</Size>
    <Visible>true</Visible>
  </File>
  <File>
    <Active>true</Active>
    <Code>sample string 2</Code>
    <Date>2022-05-19T20:36:23.7071501+04:30</Date>
    <Des>sample string 8</Des>
    <DispositionType>Display</DispositionType>
    <FileName>sample string 3</FileName>
    <Id>1</Id>
    <Path>sample string 5</Path>
    <RealName>sample string 4</RealName>
    <Size>6</Size>
    <Visible>true</Visible>
  </File>
</ArrayOfFile>