POST api/PaymentWarehouse

Request Information

URI Parameters

None.

Body Parameters

PaymentWarehouseModels
NameDescriptionTypeAdditional information
P_Id

integer

None.

P_MOD_Id_Fk

integer

None.

P_PaymentDate

date

Required

P_TotalAmount

decimal number

Required

P_ModeofPayment

string

Required

Max length: 100

P_PaymentDetails

string

Required

Max length: 100

P_Note

string

Required

Max length: 100

P_UserId_FK

integer

None.

P_TS

date

None.

P_Inactive

character

None.

P_TS_LastEdited

date

None.

P_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "P_Id": 1,
  "P_MOD_Id_Fk": 2,
  "P_PaymentDate": "2019-10-23T03:05:54.6926923+05:30",
  "P_TotalAmount": 4.0,
  "P_ModeofPayment": "sample string 5",
  "P_PaymentDetails": "sample string 6",
  "P_Note": "sample string 7",
  "P_UserId_FK": 8,
  "P_TS": "2019-10-23T03:05:54.6926923+05:30",
  "P_Inactive": "A",
  "P_TS_LastEdited": "2019-10-23T03:05:54.6926923+05:30",
  "P_TS_Edited_Uid_FK": 12
}

application/xml, text/xml

Sample:
<PaymentWarehouseModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <P_Id>1</P_Id>
  <P_Inactive>65</P_Inactive>
  <P_MOD_Id_Fk>2</P_MOD_Id_Fk>
  <P_ModeofPayment>sample string 5</P_ModeofPayment>
  <P_Note>sample string 7</P_Note>
  <P_PaymentDate>2019-10-23T03:05:54.6926923+05:30</P_PaymentDate>
  <P_PaymentDetails>sample string 6</P_PaymentDetails>
  <P_TS>2019-10-23T03:05:54.6926923+05:30</P_TS>
  <P_TS_Edited_Uid_FK>12</P_TS_Edited_Uid_FK>
  <P_TS_LastEdited>2019-10-23T03:05:54.6926923+05:30</P_TS_LastEdited>
  <P_TotalAmount>4</P_TotalAmount>
  <P_UserId_FK>8</P_UserId_FK>
</PaymentWarehouseModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.