POST v1/OneSourceTax/OneSourceCalculateTax

Call Thomson Reuters OneSource REST API for calculating and committing tax and applying to Midnight estimates/orders

Request Information

URI Parameters

None.

Body Parameters

OneSourceTaxRequest
NameDescriptionTypeAdditional information
ServerName

string

None.

DatabaseName

string

None.

ActionType

string

None.

ObjectId

integer

None.

ObjectTable

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServerName": "sample string 1",
  "DatabaseName": "sample string 2",
  "ActionType": "sample string 3",
  "ObjectId": 4,
  "ObjectTable": "sample string 5"
}

application/xml, text/xml

Sample:
<OneSourceTaxRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ServerName>sample string 1</ServerName>
  <DatabaseName>sample string 2</DatabaseName>
  <ActionType>sample string 3</ActionType>
  <ObjectId>4</ObjectId>
  <ObjectTable>sample string 5</ObjectTable>
</OneSourceTaxRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>