POST api/TaxThreshold/Save

Request Information

URI Parameters

None.

Body Parameters

Collection of StateTaxThresholdViewModel
NameDescriptionTypeAdditional information
state

string

Required

code

string

Required

threshold

decimal number

Required

enabled

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "state": "sample string 1",
    "code": "sample string 2",
    "threshold": 1.0,
    "enabled": true
  },
  {
    "state": "sample string 1",
    "code": "sample string 2",
    "threshold": 1.0,
    "enabled": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfStateTaxThresholdViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ncdc.api.ViewModels">
  <StateTaxThresholdViewModel>
    <Code>sample string 2</Code>
    <IsEnabled>true</IsEnabled>
    <State>sample string 1</State>
    <Threshold>1</Threshold>
  </StateTaxThresholdViewModel>
  <StateTaxThresholdViewModel>
    <Code>sample string 2</Code>
    <IsEnabled>true</IsEnabled>
    <State>sample string 1</State>
    <Threshold>1</Threshold>
  </StateTaxThresholdViewModel>
</ArrayOfStateTaxThresholdViewModel>

multipart/form-data

Sample:
<ArrayOfStateTaxThresholdViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ncdc.api.ViewModels"><StateTaxThresholdViewModel><Code>sample string 2</Code><IsEnabled>true</IsEnabled><State>sample string 1</State><Threshold>1</Threshold></StateTaxThresholdViewModel><StateTaxThresholdViewModel><Code>sample string 2</Code><IsEnabled>true</IsEnabled><State>sample string 1</State><Threshold>1</Threshold></StateTaxThresholdViewModel></ArrayOfStateTaxThresholdViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.