PUT api/AccountBillWorktableItems/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AccountBillWorktableItem
NameDescriptionTypeAdditional information
ItemId

integer

None.

WorkBillId

integer

None.

AccountNum

integer

None.

CustomerType

integer

None.

CustomerName

string

Max length: 255

Address

string

Max length: 255

UnitId

integer

None.

MeterId

integer

None.

MeterNum

string

Max length: 50

Multiplier

decimal number

None.

CurrentReadId

integer

None.

CurrentReadDate

date

None.

CurrentReadAmt

decimal number

None.

CurrentReadType

string

Max length: 3

PreviousReadId

integer

None.

PreviousReadDate

date

None.

PreviousReadAmt

decimal number

None.

PreviousReadType

string

Max length: 3

FinalRead

string

None.

Rate1

decimal number

None.

Rate2

decimal number

None.

Markup1

decimal number

None.

Markup2

decimal number

None.

IncCustserv

string

Max length: 1

IncDist

string

Max length: 1

UtilCustomerCharge

decimal number

None.

UtilEnergyCharge

decimal number

None.

UtilGenerationTotal

decimal number

None.

UtilTransmissionTotal

decimal number

None.

UtilDistributionTotal

decimal number

None.

UtilRidersTotal

decimal number

None.

UtilRateTotal

decimal number

None.

UtilRateKWH

decimal number

None.

UtilRateMarkup

decimal number

None.

Usage

integer

None.

Rate

decimal number

None.

TotalCharge

decimal number

None.

Deleted

string

Max length: 1

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemId": 1,
  "WorkBillId": 2,
  "AccountNum": 3,
  "CustomerType": 4,
  "CustomerName": "sample string 5",
  "Address": "sample string 6",
  "UnitId": 7,
  "MeterId": 1,
  "MeterNum": "sample string 8",
  "Multiplier": 1.1,
  "CurrentReadId": 1,
  "CurrentReadDate": "2020-02-15T18:59:30.5693626+00:00",
  "CurrentReadAmt": 1.1,
  "CurrentReadType": "sample string 9",
  "PreviousReadId": 1,
  "PreviousReadDate": "2020-02-15T18:59:30.5693626+00:00",
  "PreviousReadAmt": 1.1,
  "PreviousReadType": "sample string 10",
  "FinalRead": "sample string 11",
  "Rate1": 1.0,
  "Rate2": 1.0,
  "Markup1": 1.0,
  "Markup2": 1.0,
  "IncCustserv": "sample string 12",
  "IncDist": "sample string 13",
  "UtilCustomerCharge": 1.0,
  "UtilEnergyCharge": 1.1,
  "UtilGenerationTotal": 1.0,
  "UtilTransmissionTotal": 1.0,
  "UtilDistributionTotal": 1.0,
  "UtilRidersTotal": 1.0,
  "UtilRateTotal": 1.0,
  "UtilRateKWH": 1.0,
  "UtilRateMarkup": 1.1,
  "Usage": 14,
  "Rate": 1.1,
  "TotalCharge": 1.0,
  "Deleted": "sample string 15",
  "DateCreated": "2020-02-15T18:59:30.5693626+00:00",
  "DateUpdated": "2020-02-15T18:59:30.5693626+00:00",
  "CreatedBy": 18,
  "UpdatedBy": 19
}

application/xml, text/xml

Sample:
<AccountBillWorktableItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNum>3</AccountNum>
  <Address>sample string 6</Address>
  <CreatedBy>18</CreatedBy>
  <CurrentReadAmt>1.1</CurrentReadAmt>
  <CurrentReadDate>2020-02-15T18:59:30.5693626+00:00</CurrentReadDate>
  <CurrentReadId>1</CurrentReadId>
  <CurrentReadType>sample string 9</CurrentReadType>
  <CustomerName>sample string 5</CustomerName>
  <CustomerType>4</CustomerType>
  <DateCreated>2020-02-15T18:59:30.5693626+00:00</DateCreated>
  <DateUpdated>2020-02-15T18:59:30.5693626+00:00</DateUpdated>
  <Deleted>sample string 15</Deleted>
  <FinalRead>sample string 11</FinalRead>
  <IncCustserv>sample string 12</IncCustserv>
  <IncDist>sample string 13</IncDist>
  <ItemId>1</ItemId>
  <Markup1>1</Markup1>
  <Markup2>1</Markup2>
  <MeterId>1</MeterId>
  <MeterNum>sample string 8</MeterNum>
  <Multiplier>1.1</Multiplier>
  <PreviousReadAmt>1.1</PreviousReadAmt>
  <PreviousReadDate>2020-02-15T18:59:30.5693626+00:00</PreviousReadDate>
  <PreviousReadId>1</PreviousReadId>
  <PreviousReadType>sample string 10</PreviousReadType>
  <Rate>1.1</Rate>
  <Rate1>1</Rate1>
  <Rate2>1</Rate2>
  <TotalCharge>1</TotalCharge>
  <UnitId>7</UnitId>
  <UpdatedBy>19</UpdatedBy>
  <Usage>14</Usage>
  <UtilCustomerCharge>1</UtilCustomerCharge>
  <UtilDistributionTotal>1</UtilDistributionTotal>
  <UtilEnergyCharge>1.1</UtilEnergyCharge>
  <UtilGenerationTotal>1</UtilGenerationTotal>
  <UtilRateKWH>1</UtilRateKWH>
  <UtilRateMarkup>1.1</UtilRateMarkup>
  <UtilRateTotal>1</UtilRateTotal>
  <UtilRidersTotal>1</UtilRidersTotal>
  <UtilTransmissionTotal>1</UtilTransmissionTotal>
  <WorkBillId>2</WorkBillId>
</AccountBillWorktableItem>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.