PUT api/ManufacturerInvoice/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ManufacturerInvoiceModels
NameDescriptionTypeAdditional information
MI_Id

integer

None.

MI_InvoiceNo

string

None.

MI_Date

date

None.

manufacturer

ManufactureInvoiceSpeedSearchModels

None.

MI_Amount

decimal number

None.

MI_CGSTAmount

decimal number

None.

MI_SGSTAmount

decimal number

None.

MI_TotalAmount

decimal number

None.

MI_UserId_FK

integer

None.

MI_TS

date

None.

MI_Inactive

character

None.

MI_TS_LastEdited

date

None.

MI_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MI_Id": 1,
  "MI_InvoiceNo": "sample string 2",
  "MI_Date": "2024-04-25T15:32:51.5444748+05:30",
  "manufacturer": {
    "MA_Id": 1,
    "MA_Code": "sample string 2",
    "MA_Name": "sample string 3",
    "MA_Country": "sample string 4",
    "MA_PinCode": 5,
    "MA_MobileNumber": 6,
    "MA_Email": "sample string 7"
  },
  "MI_Amount": 4.0,
  "MI_CGSTAmount": 5.0,
  "MI_SGSTAmount": 6.0,
  "MI_TotalAmount": 7.0,
  "MI_UserId_FK": 8,
  "MI_TS": "2024-04-25T15:32:51.5444748+05:30",
  "MI_Inactive": "A",
  "MI_TS_LastEdited": "2024-04-25T15:32:51.5444748+05:30",
  "MI_TS_Edited_Uid_FK": 12
}

application/xml, text/xml

Sample:
<ManufacturerInvoiceModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <MI_Amount>4</MI_Amount>
  <MI_CGSTAmount>5</MI_CGSTAmount>
  <MI_Date>2024-04-25T15:32:51.5444748+05:30</MI_Date>
  <MI_Id>1</MI_Id>
  <MI_Inactive>65</MI_Inactive>
  <MI_InvoiceNo>sample string 2</MI_InvoiceNo>
  <MI_SGSTAmount>6</MI_SGSTAmount>
  <MI_TS>2024-04-25T15:32:51.5444748+05:30</MI_TS>
  <MI_TS_Edited_Uid_FK>12</MI_TS_Edited_Uid_FK>
  <MI_TS_LastEdited>2024-04-25T15:32:51.5444748+05:30</MI_TS_LastEdited>
  <MI_TotalAmount>7</MI_TotalAmount>
  <MI_UserId_FK>8</MI_UserId_FK>
  <manufacturer>
    <MA_Code>sample string 2</MA_Code>
    <MA_Country>sample string 4</MA_Country>
    <MA_Email>sample string 7</MA_Email>
    <MA_Id>1</MA_Id>
    <MA_MobileNumber>6</MA_MobileNumber>
    <MA_Name>sample string 3</MA_Name>
    <MA_PinCode>5</MA_PinCode>
  </manufacturer>
</ManufacturerInvoiceModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.