POST api/Demo/Insert

Request Information

URI Parameters

None.

Body Parameters

DemoDLL
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

Mobile

integer

None.

IsActive

boolean

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Mobile": 4,
  "IsActive": true,
  "CreationDate": "2025-04-30T16:04:14.0428282+05:30"
}

application/xml, text/xml

Sample:
<DemoDLL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipponDAL">
  <CreationDate>2025-04-30T16:04:14.0428282+05:30</CreationDate>
  <Email>sample string 3</Email>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Mobile>4</Mobile>
  <Name>sample string 2</Name>
</DemoDLL>

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Key

integer

None.

Code

string

None.

Message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Key": 1,
  "Code": "sample string 1",
  "Message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipponBLL">
  <Code>sample string 1</Code>
  <Key>1</Key>
  <Message>sample string 2</Message>
  <data />
</Response>