GET CommonCharges/Get?key={key}

Get a single Common Charge by its key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

the Common Charge key

string

Required

Body Parameters

None.

Response Information

Resource Description

a Common Charge Object or null

InitPro.Ida.Web.Api.Dto.CommonCharge
NameDescriptionTypeAdditional information
CommonChargeId

Identifier of Common Charge

integer

None.

CommonChargeKey

Identifies a CommonCharge

string

Required

Name

Name of Common Charge Required for Update, Create Actions of Base CommonCharge Not Required for Update, Create Actions of Derived Objects ManufacturerBusinessunitCommonCharge, ProductCommonCharge

string

None.

PriceNet

The Price Required for Update, Create Actions

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "CommonChargeId": 1,
  "CommonChargeKey": "sample string 2",
  "Name": "sample string 3",
  "PriceNet": 4.0
}

application/xml, text/xml

Sample:
<CommonCharge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto">
  <CommonChargeId>1</CommonChargeId>
  <CommonChargeKey>sample string 2</CommonChargeKey>
  <Name>sample string 3</Name>
  <PriceNet>4</PriceNet>
</CommonCharge>