POST v2/cases/{caseId}/commonCharges
add a CommonCharge to case
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
caseId | integer |
Required |
Body Parameters
InitPro.Ida.Web.Api.Dto.V2.CaseCommonChargeCreateName | Description | Type | Additional information |
---|---|---|---|
CommonChargeKey |
Identifies a CommonCharge |
string |
Required |
PriceNet |
The Price Required for Update, Create Actions |
decimal number |
Required |
Comment |
Comment of Position |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CommonChargeKey": "sample string 1", "PriceNet": 2.0, "Comment": "sample string 3" }
application/xml, text/xml
Sample:
<CaseCommonChargeCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InitPro.Ida.Web.Api.Dto.V2"> <Comment>sample string 3</Comment> <CommonChargeKey>sample string 1</CommonChargeKey> <PriceNet>2</PriceNet> </CaseCommonChargeCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Http StatusCode / error information
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.