POST Api/Investigation/CreateAccusedStatement/{InvDoc_Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
InvDoc_Id

integer

Required

Body Parameters

AccusedStatementModels
NameDescriptionTypeAdditional information
AS_Id

integer

None.

AS_InvDoc_Id_Fk

integer

None.

AS_Statement

string

None.

AS_Date

date

None.

AS_FileUpload

string

None.

AS_TS_Insert

date

None.

AS_TS_LastEdited

date

None.

AS_UserId_Insert

integer

None.

AS_Edited_Uid_FK

integer

None.

AS_InActive

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AS_Id": 1,
  "AS_InvDoc_Id_Fk": 1,
  "AS_Statement": "sample string 1",
  "AS_Date": "2026-05-10T01:30:45.5573725+05:30",
  "AS_FileUpload": "sample string 2",
  "AS_TS_Insert": "2026-05-10T01:30:45.5573725+05:30",
  "AS_TS_LastEdited": "2026-05-10T01:30:45.5573725+05:30",
  "AS_UserId_Insert": 5,
  "AS_Edited_Uid_FK": 6,
  "AS_InActive": "sample string 7"
}

application/xml, text/xml

Sample:
<AccusedStatementModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <AS_Date>2026-05-10T01:30:45.5573725+05:30</AS_Date>
  <AS_Edited_Uid_FK>6</AS_Edited_Uid_FK>
  <AS_FileUpload>sample string 2</AS_FileUpload>
  <AS_Id>1</AS_Id>
  <AS_InActive>sample string 7</AS_InActive>
  <AS_InvDoc_Id_Fk>1</AS_InvDoc_Id_Fk>
  <AS_Statement>sample string 1</AS_Statement>
  <AS_TS_Insert>2026-05-10T01:30:45.5573725+05:30</AS_TS_Insert>
  <AS_TS_LastEdited>2026-05-10T01:30:45.5573725+05:30</AS_TS_LastEdited>
  <AS_UserId_Insert>5</AS_UserId_Insert>
</AccusedStatementModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.