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| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionType | string |
None. |
|
| ObjectId | integer |
None. |
|
| ObjectTable | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActionType": "sample string 1",
"ObjectId": 2,
"ObjectTable": "sample string 3"
}
application/xml, text/xml
Sample:
<OneSourceTaxRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ActionType>sample string 1</ActionType> <ObjectId>2</ObjectId> <ObjectTable>sample string 3</ObjectTable> </OneSourceTaxRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>
