POST api/Product/GetProductDetailsByProductId

Request Information

URI Parameters

None.

Body Parameters

ProductViewModel
NameDescriptionTypeAdditional information
PID

string

None.

SortOrders

integer

None.

ProductId

integer

None.

FG_PRODUCT_GROUP

string

None.

FG_VARIETY

string

None.

FG_PSIZE

decimal number

None.

FG_PUNIT

string

None.

PRODUCTCD

string

None.

PRODUCT_DESCRIPTION

string

None.

ShortDescription

string

None.

HSNCODE

string

None.

Remarks

string

None.

Discount

string

None.

IsAdditionalDiscountEligible

boolean

None.

IsPartyDiscountEligible

boolean

None.

IsBatchRequired

boolean

None.

IsTaxExempte

boolean

None.

TaxExempted

integer

None.

BatchRequired

integer

None.

Photo

string

None.

ExternalLink

string

None.

TaxEffectiveDate

string

None.

PriceListEffectiveDate

string

None.

RequestType

integer

None.

IsActive

boolean

None.

HasImage

boolean

None.

AutoCompleteRequest

boolean

None.

ProductTaxTable

string

None.

ProductPriceListTable

string

None.

photoImage

HttpPostedFileBase

None.

BrandId

integer

None.

BrandName

string

None.

PackTypesID

integer

None.

PackTypesName

string

None.

PackSizeID

integer

None.

PackSizeName

string

None.

ProductTypeId

integer

None.

ProductTypeName

string

None.

PackGroupId

integer

None.

PackGroupName

string

None.

ProductCategoriesID

integer

None.

ProductCategoriesName

string

None.

MarketSegmentsID

integer

None.

MarketSegmentsName

string

None.

ProductRegionId

integer

None.

ProductRegionName

string

None.

VarietyId

integer

None.

VarietyName

string

None.

ProductVariantId

integer

None.

ProductVariantName

string

None.

ProductBrandId

integer

None.

ProductBrand

string

None.

PackSize

decimal number

None.

PackUnitName

string

None.

PackUnitId

integer

None.

MRPPerKG

decimal number

None.

FirstRec

integer

None.

LastRec

integer

None.

SortColumn

string

None.

SortOrder

string

None.

UseInInvoice

integer

None.

GroupId

integer

None.

GroupList

Collection of SelectListItem

None.

UnitId

integer

None.

UnitName

string

None.

IsAllowDistributor

boolean

None.

Taxes

Collection of ProductTax

None.

Prices

Collection of ProductPrice

None.

Bandhas

Collection of ProductBandha

None.

PricesListJson

string

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:
{
  "PID": "sample string 1",
  "SortOrders": 2,
  "ProductId": 3,
  "FG_PRODUCT_GROUP": "sample string 4",
  "FG_VARIETY": "sample string 5",
  "FG_PSIZE": 6.0,
  "FG_PUNIT": "sample string 7",
  "PRODUCTCD": "sample string 8",
  "PRODUCT_DESCRIPTION": "sample string 9",
  "ShortDescription": "sample string 10",
  "HSNCODE": "sample string 11",
  "Remarks": "sample string 12",
  "Discount": "sample string 13",
  "IsAdditionalDiscountEligible": true,
  "IsPartyDiscountEligible": true,
  "IsBatchRequired": true,
  "IsTaxExempte": true,
  "TaxExempted": 18,
  "BatchRequired": 19,
  "Photo": "sample string 20",
  "ExternalLink": "sample string 21",
  "TaxEffectiveDate": "sample string 22",
  "PriceListEffectiveDate": "sample string 23",
  "RequestType": 24,
  "IsActive": true,
  "HasImage": true,
  "AutoCompleteRequest": true,
  "ProductTaxTable": "sample string 28",
  "ProductPriceListTable": "sample string 29",
  "photoImage": null,
  "BrandId": 30,
  "BrandName": "sample string 31",
  "PackTypesID": 32,
  "PackTypesName": "sample string 33",
  "PackSizeID": 34,
  "PackSizeName": "sample string 35",
  "ProductTypeId": 36,
  "ProductTypeName": "sample string 37",
  "PackGroupId": 38,
  "PackGroupName": "sample string 39",
  "ProductCategoriesID": 40,
  "ProductCategoriesName": "sample string 41",
  "MarketSegmentsID": 42,
  "MarketSegmentsName": "sample string 43",
  "ProductRegionId": 44,
  "ProductRegionName": "sample string 45",
  "VarietyId": 46,
  "VarietyName": "sample string 47",
  "ProductVariantId": 48,
  "ProductVariantName": "sample string 49",
  "ProductBrandId": 50,
  "ProductBrand": "sample string 51",
  "PackSize": 52.0,
  "PackUnitName": "sample string 53",
  "PackUnitId": 54,
  "MRPPerKG": 55.0,
  "FirstRec": 56,
  "LastRec": 57,
  "SortColumn": "sample string 58",
  "SortOrder": "sample string 59",
  "UseInInvoice": 60,
  "GroupId": 61,
  "GroupList": [
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    },
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    }
  ],
  "UnitId": 62,
  "UnitName": "sample string 63",
  "IsAllowDistributor": true,
  "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"
    }
  ],
  "Bandhas": [
    {
      "ProductId": 1,
      "PriceListId": "sample string 2",
      "PriceListName": "sample string 3",
      "BandhaSize": 4.0,
      "StandardPackSize": 5.0,
      "StateId": 6,
      "UnitId": 7,
      "StateName": "sample string 8"
    },
    {
      "ProductId": 1,
      "PriceListId": "sample string 2",
      "PriceListName": "sample string 3",
      "BandhaSize": 4.0,
      "StandardPackSize": 5.0,
      "StateId": 6,
      "UnitId": 7,
      "StateName": "sample string 8"
    }
  ],
  "PricesListJson": "sample string 65",
  "Message": {
    "ResponseCode": 1,
    "ResponseMessage": "sample string 2"
  },
  "SecretKey": "sample string 66",
  "Token": "sample string 67",
  "EnterprisesCode": "sample string 68",
  "ModeluSelection": "sample string 69",
  "CallFrom": "sample string 70",
  "IsAllowedRequest": true,
  "IsInMaintenance": true
}

application/xml, text/xml

Sample:
<ProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZipDMSModels">
  <CallFrom>sample string 70</CallFrom>
  <EnterprisesCode>sample string 68</EnterprisesCode>
  <IsAllowedRequest>true</IsAllowedRequest>
  <IsInMaintenance>true</IsInMaintenance>
  <Message>
    <ResponseCode>1</ResponseCode>
    <ResponseMessage>sample string 2</ResponseMessage>
  </Message>
  <ModeluSelection>sample string 69</ModeluSelection>
  <SecretKey>sample string 66</SecretKey>
  <Token>sample string 67</Token>
  <AutoCompleteRequest>true</AutoCompleteRequest>
  <Bandhas>
    <ProductBandha>
      <BandhaSize>4</BandhaSize>
      <PriceListId>sample string 2</PriceListId>
      <PriceListName>sample string 3</PriceListName>
      <ProductId>1</ProductId>
      <StandardPackSize>5</StandardPackSize>
      <StateId>6</StateId>
      <StateName>sample string 8</StateName>
      <UnitId>7</UnitId>
    </ProductBandha>
    <ProductBandha>
      <BandhaSize>4</BandhaSize>
      <PriceListId>sample string 2</PriceListId>
      <PriceListName>sample string 3</PriceListName>
      <ProductId>1</ProductId>
      <StandardPackSize>5</StandardPackSize>
      <StateId>6</StateId>
      <StateName>sample string 8</StateName>
      <UnitId>7</UnitId>
    </ProductBandha>
  </Bandhas>
  <BatchRequired>19</BatchRequired>
  <BrandId>30</BrandId>
  <BrandName>sample string 31</BrandName>
  <Discount>sample string 13</Discount>
  <ExternalLink>sample string 21</ExternalLink>
  <FG_PRODUCT_GROUP>sample string 4</FG_PRODUCT_GROUP>
  <FG_PSIZE>6</FG_PSIZE>
  <FG_PUNIT>sample string 7</FG_PUNIT>
  <FG_VARIETY>sample string 5</FG_VARIETY>
  <FirstRec>56</FirstRec>
  <GroupId>61</GroupId>
  <GroupList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
  </GroupList>
  <HSNCODE>sample string 11</HSNCODE>
  <HasImage>true</HasImage>
  <IsActive>true</IsActive>
  <IsAdditionalDiscountEligible>true</IsAdditionalDiscountEligible>
  <IsAllowDistributor>true</IsAllowDistributor>
  <IsBatchRequired>true</IsBatchRequired>
  <IsPartyDiscountEligible>true</IsPartyDiscountEligible>
  <IsTaxExempte>true</IsTaxExempte>
  <LastRec>57</LastRec>
  <MRPPerKG>55</MRPPerKG>
  <MarketSegmentsID>42</MarketSegmentsID>
  <MarketSegmentsName>sample string 43</MarketSegmentsName>
  <PID>sample string 1</PID>
  <PRODUCTCD>sample string 8</PRODUCTCD>
  <PRODUCT_DESCRIPTION>sample string 9</PRODUCT_DESCRIPTION>
  <PackGroupId>38</PackGroupId>
  <PackGroupName>sample string 39</PackGroupName>
  <PackSize>52</PackSize>
  <PackSizeID>34</PackSizeID>
  <PackSizeName>sample string 35</PackSizeName>
  <PackTypesID>32</PackTypesID>
  <PackTypesName>sample string 33</PackTypesName>
  <PackUnitId>54</PackUnitId>
  <PackUnitName>sample string 53</PackUnitName>
  <Photo>sample string 20</Photo>
  <PriceListEffectiveDate>sample string 23</PriceListEffectiveDate>
  <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>
  <PricesListJson>sample string 65</PricesListJson>
  <ProductBrand>sample string 51</ProductBrand>
  <ProductBrandId>50</ProductBrandId>
  <ProductCategoriesID>40</ProductCategoriesID>
  <ProductCategoriesName>sample string 41</ProductCategoriesName>
  <ProductId>3</ProductId>
  <ProductPriceListTable>sample string 29</ProductPriceListTable>
  <ProductRegionId>44</ProductRegionId>
  <ProductRegionName>sample string 45</ProductRegionName>
  <ProductTaxTable>sample string 28</ProductTaxTable>
  <ProductTypeId>36</ProductTypeId>
  <ProductTypeName>sample string 37</ProductTypeName>
  <ProductVariantId>48</ProductVariantId>
  <ProductVariantName>sample string 49</ProductVariantName>
  <Remarks>sample string 12</Remarks>
  <RequestType>24</RequestType>
  <ShortDescription>sample string 10</ShortDescription>
  <SortColumn>sample string 58</SortColumn>
  <SortOrder>sample string 59</SortOrder>
  <SortOrders>2</SortOrders>
  <TaxEffectiveDate>sample string 22</TaxEffectiveDate>
  <TaxExempted>18</TaxExempted>
  <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>
  <UnitId>62</UnitId>
  <UnitName>sample string 63</UnitName>
  <UseInInvoice>60</UseInInvoice>
  <VarietyId>46</VarietyId>
  <VarietyName>sample string 47</VarietyName>
  <photoImage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
</ProductViewModel>

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.