POST api/fee/save

Save a new fee into the system Processes this fee API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The set fee data contract supplied with the request.

SetFeeDataContract
NameDescriptionTypeAdditional information
Value

The value represented by this field.

decimal number

None.

VatValue

The vat value value.

decimal number

None.

IsPercentage

Indicates whether this item is percentage.

boolean

None.

Subject

The subject value.

string

None.

IsTaxable

Indicates whether this item is taxable.

boolean

None.

TaxId

The unique identifier of the related tax resource.

integer

None.

Type

The type value.

string

None.

Category

The category value.

string

None.

Threshold

The threshold value.

integer

None.

Name

The name value.

string

None.

ExternalReference

The external reference value.

integer

None.

Id

The unique identifier of this resource.

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

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.