PUT api/ManufacturerPayment/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ManufacturerPaymentModels
NameDescriptionTypeAdditional information
MP_Id

integer

None.

ManufacturerSpeedSearchDetailsModel

ManufacturerSpeedSearchModels

Required

MP_PaymentDate

date

None.

MP__ModeOfPayment

string

Required

Max length: -1

MP_VoucherNo

string

Required

Max length: -1

MP_Amount

decimal number

Required

MP_PayeeName

string

Required

Max length: -1

MP_Bank

string

None.

MP_Branch

string

None.

MP_Proof

string

None.

MP_ProofEditted

boolean

None.

MP_Others

string

None.

MP_UserId_FK

integer

None.

MP_TS

date

None.

MP_Inactive

character

None.

MP_TS_LastEdited

date

None.

MP_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MP_Id": 1,
  "ManufacturerSpeedSearchDetailsModel": {
    "MA_Id": 1,
    "MA_Code": "sample string 2",
    "MA_Name": "sample string 3"
  },
  "MP_PaymentDate": "2024-04-27T01:15:16.3715032+05:30",
  "MP__ModeOfPayment": "sample string 3",
  "MP_VoucherNo": "sample string 4",
  "MP_Amount": 5.0,
  "MP_PayeeName": "sample string 6",
  "MP_Bank": "sample string 7",
  "MP_Branch": "sample string 8",
  "MP_Proof": "sample string 9",
  "MP_ProofEditted": true,
  "MP_Others": "sample string 11",
  "MP_UserId_FK": 12,
  "MP_TS": "2024-04-27T01:15:16.3715032+05:30",
  "MP_Inactive": "A",
  "MP_TS_LastEdited": "2024-04-27T01:15:16.3715032+05:30",
  "MP_TS_Edited_Uid_FK": 16
}

application/xml, text/xml

Sample:
<ManufacturerPaymentModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <MP_Amount>5</MP_Amount>
  <MP_Bank>sample string 7</MP_Bank>
  <MP_Branch>sample string 8</MP_Branch>
  <MP_Id>1</MP_Id>
  <MP_Inactive>65</MP_Inactive>
  <MP_Others>sample string 11</MP_Others>
  <MP_PayeeName>sample string 6</MP_PayeeName>
  <MP_PaymentDate>2024-04-27T01:15:16.3715032+05:30</MP_PaymentDate>
  <MP_Proof>sample string 9</MP_Proof>
  <MP_ProofEditted>true</MP_ProofEditted>
  <MP_TS>2024-04-27T01:15:16.3715032+05:30</MP_TS>
  <MP_TS_Edited_Uid_FK>16</MP_TS_Edited_Uid_FK>
  <MP_TS_LastEdited>2024-04-27T01:15:16.3715032+05:30</MP_TS_LastEdited>
  <MP_UserId_FK>12</MP_UserId_FK>
  <MP_VoucherNo>sample string 4</MP_VoucherNo>
  <MP__ModeOfPayment>sample string 3</MP__ModeOfPayment>
  <ManufacturerSpeedSearchDetailsModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:MA_Code>sample string 2</d2p1:MA_Code>
    <d2p1:MA_Id>1</d2p1:MA_Id>
    <d2p1:MA_Name>sample string 3</d2p1:MA_Name>
  </ManufacturerSpeedSearchDetailsModel>
</ManufacturerPaymentModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.