POST api/tax/create
Create a new tax rate for the system Processes this tax API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The tax rate data contract supplied with the request.
TaxRateDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name value. |
string |
None. |
| TaxItems |
The collection of tax items. |
Collection of TaxRateItemDataContract |
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:
{
"Name": "sample string 1",
"TaxItems": [
{
"Name": "sample string 1",
"Value": 2.0,
"IsActive": true,
"RelatedEnumId": 4,
"Id": 5
},
{
"Name": "sample string 1",
"Value": 2.0,
"IsActive": true,
"RelatedEnumId": 4,
"Id": 5
}
],
"Id": 2
}
Response Information
Resource Description
The response returned after the operation completes.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.