POST api/InvestigationDetails/Updatefile/{InvDoc_Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
InvDoc_Id

integer

Required

Body Parameters

InvestigationDocumentModel
NameDescriptionTypeAdditional information
InvDoc_Id

integer

None.

InvDoc_Dept_id_fk

integer

None.

InvDoc_DeptDoc_Id_Fk

integer

None.

InvDoc_Document

string

None.

InvDoc_File_Name

string

None.

FirId

integer

None.

DeptName

string

None.

DeptDoc_Name

string

None.

DeptDoc_Id

integer

None.

dep_Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InvDoc_Id": 1,
  "InvDoc_Dept_id_fk": 1,
  "InvDoc_DeptDoc_Id_Fk": 2,
  "InvDoc_Document": "sample string 3",
  "InvDoc_File_Name": "sample string 4",
  "FirId": 5,
  "DeptName": "sample string 6",
  "DeptDoc_Name": "sample string 7",
  "DeptDoc_Id": 8,
  "dep_Id": 9
}

application/xml, text/xml

Sample:
<InvestigationDocumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <DeptDoc_Id>8</DeptDoc_Id>
  <DeptDoc_Name>sample string 7</DeptDoc_Name>
  <DeptName>sample string 6</DeptName>
  <FirId>5</FirId>
  <InvDoc_DeptDoc_Id_Fk>2</InvDoc_DeptDoc_Id_Fk>
  <InvDoc_Dept_id_fk>1</InvDoc_Dept_id_fk>
  <InvDoc_Document>sample string 3</InvDoc_Document>
  <InvDoc_File_Name>sample string 4</InvDoc_File_Name>
  <InvDoc_Id>1</InvDoc_Id>
  <dep_Id>9</dep_Id>
</InvestigationDocumentModel>

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 'InvestigationDocumentModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.