POST api/Product/GetProductTaxHistory

Request Information

URI Parameters

None.

Body Parameters

ProductTaxDetailModel
NameDescriptionTypeAdditional information
ProductId

integer

None.

TaxId

integer

None.

TaxName

string

None.

EffectiveDate

string

None.

TaxPercentage

decimal number

None.

Taxes

Collection of ProductTax

None.

Prices

Collection of ProductPrice

None.

Message

APIResponse

None.

SecretKey

string

None.

Token

string

None.

EnterprisesCode

string

None.

ModeluSelection

string

None.

CallFrom

string

None.

IsAllowedRequest

boolean

None.

IsInMaintenance

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "TaxId": 2,
  "TaxName": "sample string 3",
  "EffectiveDate": "sample string 4",
  "TaxPercentage": 5.0,
  "Taxes": [
    {
      "ProductTaxId": "sample string 1",
      "TaxId": 2,
      "ProductId": 3,
      "TaxName": "sample string 4",
      "EffectiveDate": "sample string 5",
      "TaxPercentage": 6.0,
      "IsApplied": true,
      "TaxAmount": 8.0
    },
    {
      "ProductTaxId": "sample string 1",
      "TaxId": 2,
      "ProductId": 3,
      "TaxName": "sample string 4",
      "EffectiveDate": "sample string 5",
      "TaxPercentage": 6.0,
      "IsApplied": true,
      "TaxAmount": 8.0
    }
  ],
  "Prices": [
    {
      "ProductPriceListId": "sample string 1",
      "ProductId": 2,
      "PriceListId": "sample string 3",
      "PriceListName": "sample string 4",
      "EffectiveDate": "sample string 5",
      "Price": 6.0,
      "KGPrice": 7.0,
      "PKTSPrice": 8.0,
      "StateId": 9,
      "StateName": "sample string 10"
    },
    {
      "ProductPriceListId": "sample string 1",
      "ProductId": 2,
      "PriceListId": "sample string 3",
      "PriceListName": "sample string 4",
      "EffectiveDate": "sample string 5",
      "Price": 6.0,
      "KGPrice": 7.0,
      "PKTSPrice": 8.0,
      "StateId": 9,
      "StateName": "sample string 10"
    }
  ],
  "Message": {
    "ResponseCode": 1,
    "ResponseMessage": "sample string 2"
  },
  "SecretKey": "sample string 6",
  "Token": "sample string 7",
  "EnterprisesCode": "sample string 8",
  "ModeluSelection": "sample string 9",
  "CallFrom": "sample string 10",
  "IsAllowedRequest": true,
  "IsInMaintenance": true
}

application/xml, text/xml

Sample:
<ProductTaxDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZipDMSModels">
  <CallFrom>sample string 10</CallFrom>
  <EnterprisesCode>sample string 8</EnterprisesCode>
  <IsAllowedRequest>true</IsAllowedRequest>
  <IsInMaintenance>true</IsInMaintenance>
  <Message>
    <ResponseCode>1</ResponseCode>
    <ResponseMessage>sample string 2</ResponseMessage>
  </Message>
  <ModeluSelection>sample string 9</ModeluSelection>
  <SecretKey>sample string 6</SecretKey>
  <Token>sample string 7</Token>
  <EffectiveDate>sample string 4</EffectiveDate>
  <Prices>
    <ProductPrice>
      <EffectiveDate>sample string 5</EffectiveDate>
      <KGPrice>7</KGPrice>
      <PKTSPrice>8</PKTSPrice>
      <Price>6</Price>
      <PriceListId>sample string 3</PriceListId>
      <PriceListName>sample string 4</PriceListName>
      <ProductId>2</ProductId>
      <ProductPriceListId>sample string 1</ProductPriceListId>
      <StateId>9</StateId>
      <StateName>sample string 10</StateName>
    </ProductPrice>
    <ProductPrice>
      <EffectiveDate>sample string 5</EffectiveDate>
      <KGPrice>7</KGPrice>
      <PKTSPrice>8</PKTSPrice>
      <Price>6</Price>
      <PriceListId>sample string 3</PriceListId>
      <PriceListName>sample string 4</PriceListName>
      <ProductId>2</ProductId>
      <ProductPriceListId>sample string 1</ProductPriceListId>
      <StateId>9</StateId>
      <StateName>sample string 10</StateName>
    </ProductPrice>
  </Prices>
  <ProductId>1</ProductId>
  <TaxId>2</TaxId>
  <TaxName>sample string 3</TaxName>
  <TaxPercentage>5</TaxPercentage>
  <Taxes>
    <ProductTax>
      <EffectiveDate>sample string 5</EffectiveDate>
      <IsApplied>true</IsApplied>
      <ProductId>3</ProductId>
      <ProductTaxId>sample string 1</ProductTaxId>
      <TaxAmount>8</TaxAmount>
      <TaxId>2</TaxId>
      <TaxName>sample string 4</TaxName>
      <TaxPercentage>6</TaxPercentage>
    </ProductTax>
    <ProductTax>
      <EffectiveDate>sample string 5</EffectiveDate>
      <IsApplied>true</IsApplied>
      <ProductId>3</ProductId>
      <ProductTaxId>sample string 1</ProductTaxId>
      <TaxAmount>8</TaxAmount>
      <TaxId>2</TaxId>
      <TaxName>sample string 4</TaxName>
      <TaxPercentage>6</TaxPercentage>
    </ProductTax>
  </Taxes>
</ProductTaxDetailModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.