POST api/investigation/insert

Request Information

URI Parameters

None.

Body Parameters

InvestigationClass
NameDescriptionTypeAdditional information
ID

integer

None.

INVESTIGATION

string

None.

IS_INACTIVE

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "INVESTIGATION": "sample string 2",
  "IS_INACTIVE": true
}

application/xml, text/xml

Sample:
<InvestigationClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <ID>1</ID>
  <INVESTIGATION>sample string 2</INVESTIGATION>
  <IS_INACTIVE>true</IS_INACTIVE>
</InvestigationClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InvestigationResponse
NameDescriptionTypeAdditional information
flag

integer

None.

Message

string

None.

Data

Collection of InvestigationClass

None.

Response Formats

application/json, text/json

Sample:
{
  "flag": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "ID": 1,
      "INVESTIGATION": "sample string 2",
      "IS_INACTIVE": true
    },
    {
      "ID": 1,
      "INVESTIGATION": "sample string 2",
      "IS_INACTIVE": true
    }
  ]
}

application/xml, text/xml

Sample:
<InvestigationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <Data>
    <InvestigationClass>
      <ID>1</ID>
      <INVESTIGATION>sample string 2</INVESTIGATION>
      <IS_INACTIVE>true</IS_INACTIVE>
    </InvestigationClass>
    <InvestigationClass>
      <ID>1</ID>
      <INVESTIGATION>sample string 2</INVESTIGATION>
      <IS_INACTIVE>true</IS_INACTIVE>
    </InvestigationClass>
  </Data>
  <Message>sample string 2</Message>
  <flag>1</flag>
</InvestigationResponse>