PUT api/PropertyUtilities/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PropertyUtility
NameDescriptionTypeAdditional information
PropertyUtilityId

integer

None.

PropertyId

integer

None.

OwnerId

integer

None.

UtilityId

integer

None.

BillingCycle

integer

None.

BillingType

string

Max length: 50

SendFinalBills

string

Max length: 1

RateCode

string

Max length: 10

RateCodeDescription

string

Max length: 255

ServiceFee

decimal number

None.

DistFee

decimal number

None.

CreditCardFee

decimal number

None.

SewerFee

decimal number

None.

StormFee

decimal number

None.

CleanRiverFee

decimal number

None.

ProcessingFee

decimal number

None.

Markup

decimal number

None.

HideServiceFee

string

Max length: 1

VendorId

integer

None.

VendorAcctNum

string

Max length: 50

GroupID

integer

None.

PrimaryMeter

string

Max length: 50

PrimaryMeterAddr

string

Max length: 255

SubMeter1

string

Max length: 50

SubMeter1Addr

string

Max length: 255

SubMeter2

string

Max length: 50

SubMeter2Addr

string

Max length: 255

LastBillDate

date

None.

ChargeOwnerVacants

string

Max length: 1

SteppedRate

string

Max length: 1

Disconnect

string

Max length: 1

Active

string

Max length: 1

DefaultUtilityRate

decimal number

None.

UtilCustomerCharge

decimal number

None.

UtilEnergyCharge

decimal number

None.

UtilRateMarkup

decimal number

None.

ContractRate

decimal number

None.

ServiceOutage

string

Max length: 1

OutageReportedDate

date

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

PropertyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyUtilityId": 1,
  "PropertyId": 2,
  "OwnerId": 1,
  "UtilityId": 3,
  "BillingCycle": 1,
  "BillingType": "sample string 4",
  "SendFinalBills": "sample string 5",
  "RateCode": "sample string 6",
  "RateCodeDescription": "sample string 7",
  "ServiceFee": 1.0,
  "DistFee": 1.0,
  "CreditCardFee": 1.0,
  "SewerFee": 1.0,
  "StormFee": 1.0,
  "CleanRiverFee": 1.0,
  "ProcessingFee": 1.0,
  "Markup": 1.0,
  "HideServiceFee": "sample string 8",
  "VendorId": 1,
  "VendorAcctNum": "sample string 9",
  "GroupID": 1,
  "PrimaryMeter": "sample string 10",
  "PrimaryMeterAddr": "sample string 11",
  "SubMeter1": "sample string 12",
  "SubMeter1Addr": "sample string 13",
  "SubMeter2": "sample string 14",
  "SubMeter2Addr": "sample string 15",
  "LastBillDate": "2024-03-28T14:08:29.1789518+00:00",
  "ChargeOwnerVacants": "sample string 16",
  "SteppedRate": "sample string 17",
  "Disconnect": "sample string 18",
  "Active": "sample string 19",
  "DefaultUtilityRate": 1.0,
  "UtilCustomerCharge": 1.0,
  "UtilEnergyCharge": 1.1,
  "UtilRateMarkup": 1.1,
  "ContractRate": 1.1,
  "ServiceOutage": "sample string 20",
  "OutageReportedDate": "2024-03-28T14:08:29.1789518+00:00",
  "DateCreated": "2024-03-28T14:08:29.1789518+00:00",
  "DateUpdated": "2024-03-28T14:08:29.1789518+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "PropertyName": "sample string 21"
}

application/xml, text/xml

Sample:
<PropertyUtility xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Active>sample string 19</Active>
  <BillingCycle>1</BillingCycle>
  <BillingType>sample string 4</BillingType>
  <ChargeOwnerVacants>sample string 16</ChargeOwnerVacants>
  <CleanRiverFee>1</CleanRiverFee>
  <ContractRate>1.1</ContractRate>
  <CreatedBy>1</CreatedBy>
  <CreditCardFee>1</CreditCardFee>
  <DateCreated>2024-03-28T14:08:29.1789518+00:00</DateCreated>
  <DateUpdated>2024-03-28T14:08:29.1789518+00:00</DateUpdated>
  <DefaultUtilityRate>1</DefaultUtilityRate>
  <Disconnect>sample string 18</Disconnect>
  <DistFee>1</DistFee>
  <GroupID>1</GroupID>
  <HideServiceFee>sample string 8</HideServiceFee>
  <LastBillDate>2024-03-28T14:08:29.1789518+00:00</LastBillDate>
  <Markup>1</Markup>
  <OutageReportedDate>2024-03-28T14:08:29.1789518+00:00</OutageReportedDate>
  <OwnerId>1</OwnerId>
  <PrimaryMeter>sample string 10</PrimaryMeter>
  <PrimaryMeterAddr>sample string 11</PrimaryMeterAddr>
  <ProcessingFee>1</ProcessingFee>
  <PropertyId>2</PropertyId>
  <PropertyName>sample string 21</PropertyName>
  <PropertyUtilityId>1</PropertyUtilityId>
  <RateCode>sample string 6</RateCode>
  <RateCodeDescription>sample string 7</RateCodeDescription>
  <SendFinalBills>sample string 5</SendFinalBills>
  <ServiceFee>1</ServiceFee>
  <ServiceOutage>sample string 20</ServiceOutage>
  <SewerFee>1</SewerFee>
  <SteppedRate>sample string 17</SteppedRate>
  <StormFee>1</StormFee>
  <SubMeter1>sample string 12</SubMeter1>
  <SubMeter1Addr>sample string 13</SubMeter1Addr>
  <SubMeter2>sample string 14</SubMeter2>
  <SubMeter2Addr>sample string 15</SubMeter2Addr>
  <UpdatedBy>1</UpdatedBy>
  <UtilCustomerCharge>1</UtilCustomerCharge>
  <UtilEnergyCharge>1.1</UtilEnergyCharge>
  <UtilRateMarkup>1.1</UtilRateMarkup>
  <UtilityId>3</UtilityId>
  <VendorAcctNum>sample string 9</VendorAcctNum>
  <VendorId>1</VendorId>
</PropertyUtility>

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

Response Information

Resource Description

None.