GET Product/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | integer | Required | 
Body Parameters
None.
Response Information
Resource Description
ProductView| Name | Description | Type | Additional information | 
|---|---|---|---|
| ProductId | integer | None. | |
| Name | string | None. | |
| FullName | string | None. | |
| MinPrice | decimal number | None. | |
| Sort | integer | None. | |
| Category | CategoryView | None. | |
| Characteristics | Collection of CharacteristicView | None. | |
| Colors | Collection of ColorOfferView | None. | |
| IsDeleted | boolean | None. | |
| Description | string | None. | |
| ImageUrl | string | None. | |
| Images | Collection of ProductImageView | None. | |
| SourceCode | string | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "ProductId": 1,
  "Name": "sample string 2",
  "FullName": "sample string 3",
  "MinPrice": 1.0,
  "Sort": 4,
  "Category": {
    "CategoryId": 1,
    "Name": "sample string 2",
    "IsDeleted": true,
    "Description": "sample string 3",
    "ImageUrl": "sample string 4",
    "Images": [
      "sample string 1",
      "sample string 2"
    ],
    "ShortDescription": "sample string 5",
    "Sort": "sample string 6",
    "ShowInProductPage": true,
    "ShowInMainMenu": true,
    "SourceCode": "sample string 9"
  },
  "Characteristics": [
    {
      "CharacteristicId": 1,
      "CharacteristicType": {
        "CharacteristicTypeId": 1,
        "SourceCode": "sample string 2"
      },
      "Value": "sample string 2",
      "Measure": {
        "MeasureId": 1,
        "SourceCode": "sample string 2"
      }
    },
    {
      "CharacteristicId": 1,
      "CharacteristicType": {
        "CharacteristicTypeId": 1,
        "SourceCode": "sample string 2"
      },
      "Value": "sample string 2",
      "Measure": {
        "MeasureId": 1,
        "SourceCode": "sample string 2"
      }
    }
  ],
  "Colors": [
    {
      "ColorId": 1,
      "SourceCode": "sample string 2",
      "Offers": [
        {
          "OfferId": 1,
          "Balance": 2,
          "ReserveBalance": 1,
          "Prices": [
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            },
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            }
          ]
        },
        {
          "OfferId": 1,
          "Balance": 2,
          "ReserveBalance": 1,
          "Prices": [
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            },
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            }
          ]
        }
      ]
    },
    {
      "ColorId": 1,
      "SourceCode": "sample string 2",
      "Offers": [
        {
          "OfferId": 1,
          "Balance": 2,
          "ReserveBalance": 1,
          "Prices": [
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            },
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            }
          ]
        },
        {
          "OfferId": 1,
          "Balance": 2,
          "ReserveBalance": 1,
          "Prices": [
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            },
            {
              "PriceId": 1,
              "ProductId": 2,
              "Value": 3.0,
              "Border": 4,
              "CurrencyId": 1,
              "Currency": {
                "CurrencyId": 1,
                "SourceCode": "sample string 2"
              }
            }
          ]
        }
      ]
    }
  ],
  "IsDeleted": true,
  "Description": "sample string 5",
  "ImageUrl": "sample string 6",
  "Images": [
    {
      "ColorId": 1,
      "Description": "sample string 1",
      "ImageUrl": "sample string 2"
    },
    {
      "ColorId": 1,
      "Description": "sample string 1",
      "ImageUrl": "sample string 2"
    }
  ],
  "SourceCode": "sample string 7"
}
        application/xml, text/xml
            Sample:
<ProductView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.View">
  <SourceCode>sample string 7</SourceCode>
  <Category>
    <SourceCode>sample string 9</SourceCode>
    <CategoryId>1</CategoryId>
    <Description>sample string 3</Description>
    <ImageUrl>sample string 4</ImageUrl>
    <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Images>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 2</Name>
    <ShortDescription>sample string 5</ShortDescription>
    <ShowInMainMenu>true</ShowInMainMenu>
    <ShowInProductPage>true</ShowInProductPage>
    <Sort>sample string 6</Sort>
  </Category>
  <Characteristics>
    <CharacteristicView>
      <CharacteristicId>1</CharacteristicId>
      <CharacteristicType>
        <SourceCode>sample string 2</SourceCode>
        <CharacteristicTypeId>1</CharacteristicTypeId>
      </CharacteristicType>
      <Measure>
        <SourceCode>sample string 2</SourceCode>
        <MeasureId>1</MeasureId>
      </Measure>
      <Value>sample string 2</Value>
    </CharacteristicView>
    <CharacteristicView>
      <CharacteristicId>1</CharacteristicId>
      <CharacteristicType>
        <SourceCode>sample string 2</SourceCode>
        <CharacteristicTypeId>1</CharacteristicTypeId>
      </CharacteristicType>
      <Measure>
        <SourceCode>sample string 2</SourceCode>
        <MeasureId>1</MeasureId>
      </Measure>
      <Value>sample string 2</Value>
    </CharacteristicView>
  </Characteristics>
  <Colors>
    <ColorOfferView>
      <ColorId>1</ColorId>
      <Offers>
        <OfferView>
          <Balance>2</Balance>
          <OfferId>1</OfferId>
          <Prices>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
          </Prices>
          <ReserveBalance>1</ReserveBalance>
        </OfferView>
        <OfferView>
          <Balance>2</Balance>
          <OfferId>1</OfferId>
          <Prices>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
          </Prices>
          <ReserveBalance>1</ReserveBalance>
        </OfferView>
      </Offers>
      <SourceCode>sample string 2</SourceCode>
    </ColorOfferView>
    <ColorOfferView>
      <ColorId>1</ColorId>
      <Offers>
        <OfferView>
          <Balance>2</Balance>
          <OfferId>1</OfferId>
          <Prices>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
          </Prices>
          <ReserveBalance>1</ReserveBalance>
        </OfferView>
        <OfferView>
          <Balance>2</Balance>
          <OfferId>1</OfferId>
          <Prices>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
            <PriceView>
              <Border>4</Border>
              <Currency>
                <SourceCode>sample string 2</SourceCode>
                <CurrencyId>1</CurrencyId>
              </Currency>
              <CurrencyId>1</CurrencyId>
              <PriceId>1</PriceId>
              <ProductId>2</ProductId>
              <Value>3</Value>
            </PriceView>
          </Prices>
          <ReserveBalance>1</ReserveBalance>
        </OfferView>
      </Offers>
      <SourceCode>sample string 2</SourceCode>
    </ColorOfferView>
  </Colors>
  <Description>sample string 5</Description>
  <FullName>sample string 3</FullName>
  <ImageUrl>sample string 6</ImageUrl>
  <Images>
    <ProductImageView>
      <ColorId>1</ColorId>
      <Description>sample string 1</Description>
      <ImageUrl>sample string 2</ImageUrl>
    </ProductImageView>
    <ProductImageView>
      <ColorId>1</ColorId>
      <Description>sample string 1</Description>
      <ImageUrl>sample string 2</ImageUrl>
    </ProductImageView>
  </Images>
  <IsDeleted>true</IsDeleted>
  <MinPrice>1</MinPrice>
  <Name>sample string 2</Name>
  <ProductId>1</ProductId>
  <Sort>4</Sort>
</ProductView>