POST api/FileDetails/CreateFile

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
FileModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "File_Id": 1,
  "File_Name": "sample string 2",
  "File_Number": "sample string 3",
  "File_Dep_Id_FK": 4,
  "Department_Name": "sample string 5"
}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Department_Name>sample string 5</Department_Name>
  <File_Dep_Id_FK>4</File_Dep_Id_FK>
  <File_Id>1</File_Id>
  <File_Name>sample string 2</File_Name>
  <File_Number>sample string 3</File_Number>
</FileModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FileModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.