POST api/PowerConsumptionRateSchedule/Save

Request Information

URI Parameters

None.

Body Parameters

PowerConsumptionRateSchedule
NameDescriptionTypeAdditional information
ApprovedDate

date

None.

EffectiveDateFrom

date

None.

EffectiveDateTo

date

None.

EntryDate

date

None.

ModifyDate

date

None.

PowerRate

decimal number

None.

PriceUomequivalent

decimal number

None.

ApprovedUserId

integer

None.

BranchesId

integer

None.

CompanyId

integer

None.

EntryUserId

integer

None.

FinancialYearId

integer

None.

Id

integer

None.

IsApproved

boolean

None.

ModifyUserId

integer

None.

OrganizationId

integer

None.

PowerTypeId

integer

None.

PriceUomId

integer

None.

ProjectId

integer

None.

SortNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApprovedDate": "2025-10-29T13:14:32.3538078+05:00",
  "EffectiveDateFrom": "2025-10-29T13:14:32.3538078+05:00",
  "EffectiveDateTo": "2025-10-29T13:14:32.3538078+05:00",
  "EntryDate": "2025-10-29T13:14:32.3538078+05:00",
  "ModifyDate": "2025-10-29T13:14:32.3538078+05:00",
  "PowerRate": 6.1,
  "PriceUomequivalent": 7.1,
  "ApprovedUserId": 8,
  "BranchesId": 9,
  "CompanyId": 10,
  "EntryUserId": 11,
  "FinancialYearId": 12,
  "Id": 13,
  "IsApproved": true,
  "ModifyUserId": 15,
  "OrganizationId": 16,
  "PowerTypeId": 17,
  "PriceUomId": 18,
  "ProjectId": 19,
  "SortNo": 20
}

application/xml, text/xml

Sample:
<PowerConsumptionRateSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Production">
  <ApprovedDate>2025-10-29T13:14:32.3538078+05:00</ApprovedDate>
  <ApprovedUserId>8</ApprovedUserId>
  <BranchesId>9</BranchesId>
  <CompanyId>10</CompanyId>
  <EffectiveDateFrom>2025-10-29T13:14:32.3538078+05:00</EffectiveDateFrom>
  <EffectiveDateTo>2025-10-29T13:14:32.3538078+05:00</EffectiveDateTo>
  <EntryDate>2025-10-29T13:14:32.3538078+05:00</EntryDate>
  <EntryUserId>11</EntryUserId>
  <FinancialYearId>12</FinancialYearId>
  <Id>13</Id>
  <IsApproved>true</IsApproved>
  <ModifyDate>2025-10-29T13:14:32.3538078+05:00</ModifyDate>
  <ModifyUserId>15</ModifyUserId>
  <OrganizationId>16</OrganizationId>
  <PowerRate>6.1</PowerRate>
  <PowerTypeId>17</PowerTypeId>
  <PriceUomId>18</PriceUomId>
  <PriceUomequivalent>7.1</PriceUomequivalent>
  <ProjectId>19</ProjectId>
  <SortNo>20</SortNo>
</PowerConsumptionRateSchedule>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.