POST pos/tax/avalara/get
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiAvalaraRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Discount | decimal number |
None. |
|
StaticTaxRate | decimal number |
None. |
|
ShippingAddress | ApiAvalaraRequestShippingAddress |
None. |
|
Items | Collection of ApiAvalaraRequestItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "313ff4fd-93be-4b41-b9e7-5c065be59b2b", "Discount": 2.0, "StaticTaxRate": 1.0, "ShippingAddress": { "Address1": "sample string 1", "Address2": "sample string 2", "City": "sample string 3", "Country": "sample string 4", "State": "sample string 5", "Zip": "sample string 6" }, "Items": [ { "Id": 1, "ShippingOption": 2, "Sku": "sample string 3", "Quantity": 4.0, "Price": 5.0, "Discount": 6.0, "IndividualDiscount": 7.0, "Tax": 8.0 }, { "Id": 1, "ShippingOption": 2, "Sku": "sample string 3", "Quantity": 4.0, "Price": 5.0, "Discount": 6.0, "IndividualDiscount": 7.0, "Tax": 8.0 } ] }
application/xml, text/xml
Sample:
<ApiAvalaraRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Discount>2</Discount> <Id>313ff4fd-93be-4b41-b9e7-5c065be59b2b</Id> <Items> <ApiAvalaraRequestItem> <Discount>6</Discount> <Id>1</Id> <IndividualDiscount>7</IndividualDiscount> <Price>5</Price> <Quantity>4</Quantity> <ShippingOption>2</ShippingOption> <Sku>sample string 3</Sku> <Tax>8</Tax> </ApiAvalaraRequestItem> <ApiAvalaraRequestItem> <Discount>6</Discount> <Id>1</Id> <IndividualDiscount>7</IndividualDiscount> <Price>5</Price> <Quantity>4</Quantity> <ShippingOption>2</ShippingOption> <Sku>sample string 3</Sku> <Tax>8</Tax> </ApiAvalaraRequestItem> </Items> <ShippingAddress> <Address1>sample string 1</Address1> <Address2>sample string 2</Address2> <City>sample string 3</City> <Country>sample string 4</Country> <State>sample string 5</State> <Zip>sample string 6</Zip> </ShippingAddress> <StaticTaxRate>1</StaticTaxRate> </ApiAvalaraRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |