POST api/UtilityRateCodes

Request Information

URI Parameters

None.

Body Parameters

UtilityRateCode
NameDescriptionTypeAdditional information
RateCodeId

integer

None.

UtilityId

integer

None.

RateCode

string

Max length: 10

RateCodeDescription

string

Max length: 255

ServiceFee

decimal number

None.

DistFee

decimal number

None.

CreditCardFee

decimal number

None.

Markup

decimal number

None.

HideServiceFee

string

Max length: 1

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

UnitTypeDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RateCodeId": 1,
  "UtilityId": 2,
  "RateCode": "sample string 3",
  "RateCodeDescription": "sample string 4",
  "ServiceFee": 5.0,
  "DistFee": 6.0,
  "CreditCardFee": 7.0,
  "Markup": 8.0,
  "HideServiceFee": "sample string 9",
  "Status": "sample string 10",
  "DateCreated": "2020-02-15T20:09:33.026486+00:00",
  "DateUpdated": "2020-02-15T20:09:33.026486+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "UnitTypeDescription": "sample string 11"
}

application/xml, text/xml

Sample:
<UtilityRateCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <CreatedBy>1</CreatedBy>
  <CreditCardFee>7</CreditCardFee>
  <DateCreated>2020-02-15T20:09:33.026486+00:00</DateCreated>
  <DateUpdated>2020-02-15T20:09:33.026486+00:00</DateUpdated>
  <DistFee>6</DistFee>
  <HideServiceFee>sample string 9</HideServiceFee>
  <Markup>8</Markup>
  <RateCode>sample string 3</RateCode>
  <RateCodeDescription>sample string 4</RateCodeDescription>
  <RateCodeId>1</RateCodeId>
  <ServiceFee>5</ServiceFee>
  <Status>sample string 10</Status>
  <UnitTypeDescription>sample string 11</UnitTypeDescription>
  <UpdatedBy>1</UpdatedBy>
  <UtilityId>2</UtilityId>
</UtilityRateCode>

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

Response Information

Resource Description

UtilityRateCode
NameDescriptionTypeAdditional information
RateCodeId

integer

None.

UtilityId

integer

None.

RateCode

string

Max length: 10

RateCodeDescription

string

Max length: 255

ServiceFee

decimal number

None.

DistFee

decimal number

None.

CreditCardFee

decimal number

None.

Markup

decimal number

None.

HideServiceFee

string

Max length: 1

Status

string

Max length: 20

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

UnitTypeDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RateCodeId": 1,
  "UtilityId": 2,
  "RateCode": "sample string 3",
  "RateCodeDescription": "sample string 4",
  "ServiceFee": 5.0,
  "DistFee": 6.0,
  "CreditCardFee": 7.0,
  "Markup": 8.0,
  "HideServiceFee": "sample string 9",
  "Status": "sample string 10",
  "DateCreated": "2020-02-15T20:09:33.026486+00:00",
  "DateUpdated": "2020-02-15T20:09:33.026486+00:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "UnitTypeDescription": "sample string 11"
}

application/xml, text/xml

Sample:
<UtilityRateCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <CreatedBy>1</CreatedBy>
  <CreditCardFee>7</CreditCardFee>
  <DateCreated>2020-02-15T20:09:33.026486+00:00</DateCreated>
  <DateUpdated>2020-02-15T20:09:33.026486+00:00</DateUpdated>
  <DistFee>6</DistFee>
  <HideServiceFee>sample string 9</HideServiceFee>
  <Markup>8</Markup>
  <RateCode>sample string 3</RateCode>
  <RateCodeDescription>sample string 4</RateCodeDescription>
  <RateCodeId>1</RateCodeId>
  <ServiceFee>5</ServiceFee>
  <Status>sample string 10</Status>
  <UnitTypeDescription>sample string 11</UnitTypeDescription>
  <UpdatedBy>1</UpdatedBy>
  <UtilityId>2</UtilityId>
</UtilityRateCode>