POST api/tax/create

Create a new tax rate for the system

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.Accounts.Financial.Query.Tax.TaxRateDataContract
NameDescriptionTypeAdditional information
Name

string

None.

TaxItems

Collection of Dezrez.Core.DataContracts.Accounts.Financial.Query.Tax.TaxRateItemDataContract

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaxRateDataContract'.

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

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.