POST api/InvFoodProductionPowerConsumptionDetail/FormHistory

Request Information

URI Parameters

None.

Body Parameters

InvFoodProductionPowerConsumptionDetail
NameDescriptionTypeAdditional information
EntryDate

date

None.

ModifyDate

date

None.

ReadingUnits

decimal number

None.

ActionId

integer

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

InvProductionJobOrderId

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PowerMeterId

integer

None.

ReadingDateAndTime

date

None.

ReadingPicPath

integer

None.

SortNo

integer

None.

PowerTypeId

integer

None.

AutoManual

integer

None.

PowerConsumptionRateScheduleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryDate": "2025-10-29T13:11:01.0832881+05:00",
  "ModifyDate": "2025-10-29T13:11:01.0832881+05:00",
  "ReadingUnits": 3.1,
  "ActionId": 4,
  "CompanyId": 5,
  "EntryUser": 6,
  "Id": 7,
  "InvProductionJobOrderId": 8,
  "ModifyUser": 9,
  "OrganizationId": 10,
  "PowerMeterId": 11,
  "ReadingDateAndTime": "2025-10-29T13:11:01.0832881+05:00",
  "ReadingPicPath": 13,
  "SortNo": 14,
  "PowerTypeId": 15,
  "AutoManual": 16,
  "PowerConsumptionRateScheduleId": 17
}

application/xml, text/xml

Sample:
<InvFoodProductionPowerConsumptionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Production">
  <ActionId>4</ActionId>
  <AutoManual>16</AutoManual>
  <CompanyId>5</CompanyId>
  <EntryDate>2025-10-29T13:11:01.0832881+05:00</EntryDate>
  <EntryUser>6</EntryUser>
  <Id>7</Id>
  <InvProductionJobOrderId>8</InvProductionJobOrderId>
  <ModifyDate>2025-10-29T13:11:01.0832881+05:00</ModifyDate>
  <ModifyUser>9</ModifyUser>
  <OrganizationId>10</OrganizationId>
  <PowerConsumptionRateScheduleId>17</PowerConsumptionRateScheduleId>
  <PowerMeterId>11</PowerMeterId>
  <PowerTypeId>15</PowerTypeId>
  <ReadingDateAndTime>2025-10-29T13:11:01.0832881+05:00</ReadingDateAndTime>
  <ReadingPicPath>13</ReadingPicPath>
  <ReadingUnits>3.1</ReadingUnits>
  <SortNo>14</SortNo>
</InvFoodProductionPowerConsumptionDetail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.