POST api/CounterSalesCoupons

Request Information

URI Parameters

None.

Body Parameters

CounterSalesCouponsModels
NameDescriptionTypeAdditional information
CSC_Id

integer

None.

CSC_CouponNo

string

None.

CSC_Description

string

None.

CSC_Provider

string

None.

CSC_Inactive

character

None.

CSC_UserId_FK

integer

None.

CSC_TS

date

None.

CSC_TS_LastEdited

date

None.

CSC_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CSC_Id": 1,
  "CSC_CouponNo": "sample string 2",
  "CSC_Description": "sample string 3",
  "CSC_Provider": "sample string 4",
  "CSC_Inactive": "A",
  "CSC_UserId_FK": 6,
  "CSC_TS": "2024-04-20T01:34:19.2860833+05:30",
  "CSC_TS_LastEdited": "2024-04-20T01:34:19.2860833+05:30",
  "CSC_TS_Edited_Uid_FK": 9
}

application/xml, text/xml

Sample:
<CounterSalesCouponsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <CSC_CouponNo>sample string 2</CSC_CouponNo>
  <CSC_Description>sample string 3</CSC_Description>
  <CSC_Id>1</CSC_Id>
  <CSC_Inactive>65</CSC_Inactive>
  <CSC_Provider>sample string 4</CSC_Provider>
  <CSC_TS>2024-04-20T01:34:19.2860833+05:30</CSC_TS>
  <CSC_TS_Edited_Uid_FK>9</CSC_TS_Edited_Uid_FK>
  <CSC_TS_LastEdited>2024-04-20T01:34:19.2860833+05:30</CSC_TS_LastEdited>
  <CSC_UserId_FK>6</CSC_UserId_FK>
</CounterSalesCouponsModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.