POST api/InfringementMaster/Infringement-insert

Request Information

URI Parameters

None.

Body Parameters

InfringementMaster
NameDescriptionTypeAdditional information
details

Details

None.

INFRINGEMENT_ID

string

None.

INFRINGEMENT_NAME

string

None.

SEVERITY

string

None.

Request Formats

application/json, text/json

Sample:
{
  "details": {
    "formName": "sample string 1",
    "userId": "sample string 2"
  },
  "INFRINGEMENT_ID": "sample string 1",
  "INFRINGEMENT_NAME": "sample string 2",
  "SEVERITY": "sample string 3"
}

application/xml, text/xml

Sample:
<InfringementMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Driver">
  <INFRINGEMENT_ID>sample string 1</INFRINGEMENT_ID>
  <INFRINGEMENT_NAME>sample string 2</INFRINGEMENT_NAME>
  <SEVERITY>sample string 3</SEVERITY>
  <details xmlns:d2p1="http://schemas.datacontract.org/2004/07/HGVDG_API">
    <d2p1:formName>sample string 1</d2p1:formName>
    <d2p1:userId>sample string 2</d2p1:userId>
  </details>
</InfringementMaster>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>