PUT api/UtilityRiderRates/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UtilityRiderRate
NameDescriptionTypeAdditional information
RiderId

integer

None.

LegacyRiderId

integer

None.

UtilityId

integer

None.

PropertyId

integer

None.

RiderName

string

Max length: 255

RiderType

string

Max length: 50

MinKwh

integer

None.

MaxKwh

integer

None.

RateBasis

string

Max length: 10

RateSummer

decimal number

None.

RateWinter

decimal number

None.

RateType

string

Max length: 1

StartDate

date

None.

EndDate

date

None.

Deleted

string

Max length: 1

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

RiderAmount

decimal number

None.

EffectiveRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "RiderId": 1,
  "LegacyRiderId": 2,
  "UtilityId": 3,
  "PropertyId": 4,
  "RiderName": "sample string 5",
  "RiderType": "sample string 6",
  "MinKwh": 7,
  "MaxKwh": 8,
  "RateBasis": "sample string 9",
  "RateSummer": 10.1,
  "RateWinter": 11.1,
  "RateType": "sample string 12",
  "StartDate": "2020-08-28T20:02:50.1832188+00:00",
  "EndDate": "2020-08-28T20:02:50.1832188+00:00",
  "Deleted": "sample string 13",
  "DateCreated": "2020-08-28T20:02:50.1832188+00:00",
  "DateUpdated": "2020-08-28T20:02:50.1832188+00:00",
  "CreatedBy": 16,
  "UpdatedBy": 17,
  "RiderAmount": 18.0,
  "EffectiveRate": 19.1
}

application/xml, text/xml

Sample:
<UtilityRiderRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <CreatedBy>16</CreatedBy>
  <DateCreated>2020-08-28T20:02:50.1832188+00:00</DateCreated>
  <DateUpdated>2020-08-28T20:02:50.1832188+00:00</DateUpdated>
  <Deleted>sample string 13</Deleted>
  <EffectiveRate>19.1</EffectiveRate>
  <EndDate>2020-08-28T20:02:50.1832188+00:00</EndDate>
  <LegacyRiderId>2</LegacyRiderId>
  <MaxKwh>8</MaxKwh>
  <MinKwh>7</MinKwh>
  <PropertyId>4</PropertyId>
  <RateBasis>sample string 9</RateBasis>
  <RateSummer>10.1</RateSummer>
  <RateType>sample string 12</RateType>
  <RateWinter>11.1</RateWinter>
  <RiderAmount>18</RiderAmount>
  <RiderId>1</RiderId>
  <RiderName>sample string 5</RiderName>
  <RiderType>sample string 6</RiderType>
  <StartDate>2020-08-28T20:02:50.1832188+00:00</StartDate>
  <UpdatedBy>17</UpdatedBy>
  <UtilityId>3</UtilityId>
</UtilityRiderRate>

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

Response Information

Resource Description

None.