POST api/Denominations

Request Information

URI Parameters

None.

Body Parameters

DenominationsModels
NameDescriptionTypeAdditional information
DIN_Id

integer

None.

DIN_Value

integer

Required

No_Of_Notes

integer

None.

DIN_UserId_FK

integer

None.

DIN_TS

date

None.

DIN_Inactive

character

None.

DIN_TS_LastEdited

date

None.

DIN_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DIN_Id": 1,
  "DIN_Value": 2,
  "No_Of_Notes": 3,
  "DIN_UserId_FK": 4,
  "DIN_TS": "2019-07-17T06:16:31.774933+05:30",
  "DIN_Inactive": "A",
  "DIN_TS_LastEdited": "2019-07-17T06:16:31.774933+05:30",
  "DIN_TS_Edited_Uid_FK": 8
}

application/xml, text/xml

Sample:
<DenominationsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <DIN_Id>1</DIN_Id>
  <DIN_Inactive>65</DIN_Inactive>
  <DIN_TS>2019-07-17T06:16:31.774933+05:30</DIN_TS>
  <DIN_TS_Edited_Uid_FK>8</DIN_TS_Edited_Uid_FK>
  <DIN_TS_LastEdited>2019-07-17T06:16:31.774933+05:30</DIN_TS_LastEdited>
  <DIN_UserId_FK>4</DIN_UserId_FK>
  <DIN_Value>2</DIN_Value>
  <No_Of_Notes>3</No_Of_Notes>
</DenominationsModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.