POST api/tax/create

Request Information

URI Parameters

None.

Body Parameters

TaxRateDataContract
NameDescriptionTypeAdditional information
Name

string

None.

TaxItems

Collection of TaxRateItemDataContract

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "TaxItems": [
    {
      "Name": "sample string 1",
      "Value": 2.0,
      "IsActive": true,
      "Id": 4
    },
    {
      "Name": "sample string 1",
      "Value": 2.0,
      "IsActive": true,
      "Id": 4
    }
  ],
  "Id": 2
}

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'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.