POST CommonCharges/Update

Update a Common Charge

Request Information

URI Parameters

None.

Body Parameters

Common Charge

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.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Statuscode 200 when ok Statuscode 400 when not ok

System.Web.Http.IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.