GET api/PurchaseAddons/TestCalculateTaxForProducts

Used to get the order amount for shipping

Request Information

URI Parameters

None.

Body Parameters

ShippingTaxCalculation
NameDescriptionTypeAdditional information
OrderId

integer

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

StateId

integer

None.

Zip

string

None.

CountryId

integer

None.

CompanyName

string

None.

FirstName

string

None.

LastName

string

None.

MiddleName

string

None.

ProductPrice

decimal number

None.

TaxAmount

decimal number

None.

EntryServer

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "AddressLine1": "sample string 2",
  "AddressLine2": "sample string 3",
  "City": "sample string 4",
  "StateId": 5,
  "Zip": "sample string 6",
  "CountryId": 7,
  "CompanyName": "sample string 8",
  "FirstName": "sample string 9",
  "LastName": "sample string 10",
  "MiddleName": "sample string 11",
  "ProductPrice": 12.1,
  "TaxAmount": 13.1,
  "EntryServer": true
}

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

Response Information

Resource Description

JsonResultOfResponse
NameDescriptionTypeAdditional information
Content

Response

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.