POST api/Taxes/PostTax

Request Information

URI Parameters

None.

Body Parameters

Tax
NameDescriptionTypeAdditional information
Name

string

Required

String length: inclusive between 0 and 50

Rate

decimal number

Required

TaxID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Rate": 2.0,
  "TaxID": 3
}

application/xml, text/xml

Sample:
<Tax xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models">
  <Name>sample string 1</Name>
  <Rate>2</Rate>
  <TaxID>3</TaxID>
</Tax>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Tax
NameDescriptionTypeAdditional information
Name

string

Required

String length: inclusive between 0 and 50

Rate

decimal number

Required

TaxID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Rate": 2.0,
  "TaxID": 3
}

application/xml, text/xml

Sample:
<Tax xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models">
  <Name>sample string 1</Name>
  <Rate>2</Rate>
  <TaxID>3</TaxID>
</Tax>