POST api/VendorBills

Request Information

URI Parameters

None.

Body Parameters

VendorBill
NameDescriptionTypeAdditional information
BillId

integer

None.

LegacyBillId

integer

None.

UtilityId

integer

None.

VendorId

integer

None.

FiscalMonth

integer

None.

FiscalYear

integer

None.

PropertyId

integer

None.

BillDate

date

None.

DueDate

date

None.

MeterReadDate

date

None.

TariffRate

decimal number

None.

MarketRate

decimal number

None.

BillTotal

decimal number

None.

UsageTotal

decimal number

None.

PeriodStartDate

date

None.

PeriodEndDate

date

None.

ReadType

string

None.

CostPerUnit

decimal number

None.

SteppedRate1Min

integer

None.

SteppedRate1Max

integer

None.

SteppedRate1Rate

decimal number

None.

SteppedRate2Min

integer

None.

SteppedRate2Max

integer

None.

SteppedRate2Rate

decimal number

None.

KW

decimal number

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BillId": 1,
  "LegacyBillId": 2,
  "UtilityId": 3,
  "VendorId": 4,
  "FiscalMonth": 1,
  "FiscalYear": 1,
  "PropertyId": 5,
  "BillDate": "2024-03-28T23:23:31.0521774+00:00",
  "DueDate": "2024-03-28T23:23:31.0521774+00:00",
  "MeterReadDate": "2024-03-28T23:23:31.0521774+00:00",
  "TariffRate": 1.0,
  "MarketRate": 1.0,
  "BillTotal": 1.0,
  "UsageTotal": 1.1,
  "PeriodStartDate": "2024-03-28T23:23:31.0521774+00:00",
  "PeriodEndDate": "2024-03-28T23:23:31.0521774+00:00",
  "ReadType": "sample string 6",
  "CostPerUnit": 1.0,
  "SteppedRate1Min": 1,
  "SteppedRate1Max": 1,
  "SteppedRate1Rate": 1.0,
  "SteppedRate2Min": 1,
  "SteppedRate2Max": 1,
  "SteppedRate2Rate": 1.0,
  "KW": 1.1,
  "DateCreated": "2024-03-28T23:23:31.0521774+00:00",
  "DateUpdated": "2024-03-28T23:23:31.0521774+00:00",
  "CreatedBy": 9,
  "UpdatedBy": 10
}

application/xml, text/xml

Sample:
<VendorBill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <BillDate>2024-03-28T23:23:31.0521774+00:00</BillDate>
  <BillId>1</BillId>
  <BillTotal>1</BillTotal>
  <CostPerUnit>1</CostPerUnit>
  <CreatedBy>9</CreatedBy>
  <DateCreated>2024-03-28T23:23:31.0521774+00:00</DateCreated>
  <DateUpdated>2024-03-28T23:23:31.0521774+00:00</DateUpdated>
  <DueDate>2024-03-28T23:23:31.0521774+00:00</DueDate>
  <FiscalMonth>1</FiscalMonth>
  <FiscalYear>1</FiscalYear>
  <KW>1.1</KW>
  <LegacyBillId>2</LegacyBillId>
  <MarketRate>1</MarketRate>
  <MeterReadDate>2024-03-28T23:23:31.0521774+00:00</MeterReadDate>
  <PeriodEndDate>2024-03-28T23:23:31.0521774+00:00</PeriodEndDate>
  <PeriodStartDate>2024-03-28T23:23:31.0521774+00:00</PeriodStartDate>
  <PropertyId>5</PropertyId>
  <ReadType>sample string 6</ReadType>
  <SteppedRate1Max>1</SteppedRate1Max>
  <SteppedRate1Min>1</SteppedRate1Min>
  <SteppedRate1Rate>1</SteppedRate1Rate>
  <SteppedRate2Max>1</SteppedRate2Max>
  <SteppedRate2Min>1</SteppedRate2Min>
  <SteppedRate2Rate>1</SteppedRate2Rate>
  <TariffRate>1</TariffRate>
  <UpdatedBy>10</UpdatedBy>
  <UsageTotal>1.1</UsageTotal>
  <UtilityId>3</UtilityId>
  <VendorId>4</VendorId>
</VendorBill>

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

Response Information

Resource Description

VendorBill
NameDescriptionTypeAdditional information
BillId

integer

None.

LegacyBillId

integer

None.

UtilityId

integer

None.

VendorId

integer

None.

FiscalMonth

integer

None.

FiscalYear

integer

None.

PropertyId

integer

None.

BillDate

date

None.

DueDate

date

None.

MeterReadDate

date

None.

TariffRate

decimal number

None.

MarketRate

decimal number

None.

BillTotal

decimal number

None.

UsageTotal

decimal number

None.

PeriodStartDate

date

None.

PeriodEndDate

date

None.

ReadType

string

None.

CostPerUnit

decimal number

None.

SteppedRate1Min

integer

None.

SteppedRate1Max

integer

None.

SteppedRate1Rate

decimal number

None.

SteppedRate2Min

integer

None.

SteppedRate2Max

integer

None.

SteppedRate2Rate

decimal number

None.

KW

decimal number

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BillId": 1,
  "LegacyBillId": 2,
  "UtilityId": 3,
  "VendorId": 4,
  "FiscalMonth": 1,
  "FiscalYear": 1,
  "PropertyId": 5,
  "BillDate": "2024-03-28T23:23:31.0521774+00:00",
  "DueDate": "2024-03-28T23:23:31.0521774+00:00",
  "MeterReadDate": "2024-03-28T23:23:31.0521774+00:00",
  "TariffRate": 1.0,
  "MarketRate": 1.0,
  "BillTotal": 1.0,
  "UsageTotal": 1.1,
  "PeriodStartDate": "2024-03-28T23:23:31.0521774+00:00",
  "PeriodEndDate": "2024-03-28T23:23:31.0521774+00:00",
  "ReadType": "sample string 6",
  "CostPerUnit": 1.0,
  "SteppedRate1Min": 1,
  "SteppedRate1Max": 1,
  "SteppedRate1Rate": 1.0,
  "SteppedRate2Min": 1,
  "SteppedRate2Max": 1,
  "SteppedRate2Rate": 1.0,
  "KW": 1.1,
  "DateCreated": "2024-03-28T23:23:31.0521774+00:00",
  "DateUpdated": "2024-03-28T23:23:31.0521774+00:00",
  "CreatedBy": 9,
  "UpdatedBy": 10
}

application/xml, text/xml

Sample:
<VendorBill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <BillDate>2024-03-28T23:23:31.0521774+00:00</BillDate>
  <BillId>1</BillId>
  <BillTotal>1</BillTotal>
  <CostPerUnit>1</CostPerUnit>
  <CreatedBy>9</CreatedBy>
  <DateCreated>2024-03-28T23:23:31.0521774+00:00</DateCreated>
  <DateUpdated>2024-03-28T23:23:31.0521774+00:00</DateUpdated>
  <DueDate>2024-03-28T23:23:31.0521774+00:00</DueDate>
  <FiscalMonth>1</FiscalMonth>
  <FiscalYear>1</FiscalYear>
  <KW>1.1</KW>
  <LegacyBillId>2</LegacyBillId>
  <MarketRate>1</MarketRate>
  <MeterReadDate>2024-03-28T23:23:31.0521774+00:00</MeterReadDate>
  <PeriodEndDate>2024-03-28T23:23:31.0521774+00:00</PeriodEndDate>
  <PeriodStartDate>2024-03-28T23:23:31.0521774+00:00</PeriodStartDate>
  <PropertyId>5</PropertyId>
  <ReadType>sample string 6</ReadType>
  <SteppedRate1Max>1</SteppedRate1Max>
  <SteppedRate1Min>1</SteppedRate1Min>
  <SteppedRate1Rate>1</SteppedRate1Rate>
  <SteppedRate2Max>1</SteppedRate2Max>
  <SteppedRate2Min>1</SteppedRate2Min>
  <SteppedRate2Rate>1</SteppedRate2Rate>
  <TariffRate>1</TariffRate>
  <UpdatedBy>10</UpdatedBy>
  <UsageTotal>1.1</UsageTotal>
  <UtilityId>3</UtilityId>
  <VendorId>4</VendorId>
</VendorBill>