POST api/Event/InsertEventEntry

Request Information

URI Parameters

None.

Body Parameters

tblEventMaster
NameDescriptionTypeAdditional information
EventId

integer

None.

EventName

string

None.

CreatedDate

string

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "EventName": "sample string 2",
  "CreatedDate": "sample string 3",
  "Status": "sample string 4"
}

application/xml, text/xml

Sample:
<tblEventMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarmoraInventory">
  <CreatedDate>sample string 3</CreatedDate>
  <EventId>1</EventId>
  <EventName>sample string 2</EventName>
  <Status>sample string 4</Status>
</tblEventMaster>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.