POST api/fee/save
Save a new fee into the system
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.Accounts.Api.Fees.Command.SetFeeDataContractName | Description | Type | Additional information |
---|---|---|---|
Value | decimal number |
None. |
|
VatValue | decimal number |
None. |
|
IsPercentage | boolean |
None. |
|
Subject | string |
None. |
|
IsTaxable | boolean |
None. |
|
TaxId | integer |
None. |
|
Type | string |
None. |
|
Category | string |
None. |
|
Threshold | integer |
None. |
|
Name | string |
None. |
|
ExternalReference | integer |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Value": 1.0, "VatValue": 2.0, "IsPercentage": true, "Subject": "sample string 4", "IsTaxable": true, "TaxId": 1, "Type": "sample string 6", "Category": "sample string 7", "Threshold": 1, "Name": "sample string 8", "ExternalReference": 1, "Id": 9 }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.