POST api/cost/charge
Request Information
URI Parameters
None.
Body Parameters
md_cost_charge_cu| Name | Description | Type | Additional information |
|---|---|---|---|
| charge_name | string |
None. |
|
| unit | string |
None. |
|
| amount | integer |
None. |
|
| set_material | boolean |
None. |
|
| set_package | boolean |
None. |
|
| set_charges | boolean |
None. |
|
| remark | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"charge_name": "sample string 1",
"unit": "sample string 2",
"amount": 3,
"set_material": true,
"set_package": true,
"set_charges": true,
"remark": "sample string 7"
}
application/xml, text/xml
Sample:
<md_cost_charge_cu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Cost"> <amount>3</amount> <charge_name>sample string 1</charge_name> <remark>sample string 7</remark> <set_charges>true</set_charges> <set_material>true</set_material> <set_package>true</set_package> <unit>sample string 2</unit> </md_cost_charge_cu>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.