GET tryk/products

Retrieves a list of all available Tryk products for each brand associated with the site.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The list of all available Tryk products.

Collection of BrandTrykProducts
NameDescriptionTypeAdditional information
BrandId

Gets or sets the unique identifier for the brand.

integer

None.

Products

Gets or sets a list of all available Tryk products for the brand.

Collection of TrykProduct

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "brandId": 1,
    "products": [
      {
        "productId": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "customerFulfilled": true,
        "isDefault": true,
        "enableScaleModification": true,
        "frames": [
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          },
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          }
        ]
      },
      {
        "productId": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "customerFulfilled": true,
        "isDefault": true,
        "enableScaleModification": true,
        "frames": [
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          },
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          }
        ]
      }
    ]
  },
  {
    "brandId": 1,
    "products": [
      {
        "productId": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "customerFulfilled": true,
        "isDefault": true,
        "enableScaleModification": true,
        "frames": [
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          },
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          }
        ]
      },
      {
        "productId": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "customerFulfilled": true,
        "isDefault": true,
        "enableScaleModification": true,
        "frames": [
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          },
          {
            "productFrameId": 1,
            "productId": 2,
            "frame": 3,
            "frameContentTypeId": 4,
            "frameContentType": "sample string 5",
            "width": 6.0,
            "height": 7.0,
            "offsetX": 8.0,
            "offsetY": 9.0
          }
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBrandTrykProducts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tricycle.Studio.Api.Catalog.Models">
  <BrandTrykProducts>
    <BrandId>1</BrandId>
    <Products>
      <TrykProduct>
        <CustomerFulfilled>true</CustomerFulfilled>
        <Description>sample string 3</Description>
        <EnableScaleModification>true</EnableScaleModification>
        <Frames>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
        </Frames>
        <IsDefault>true</IsDefault>
        <Name>sample string 2</Name>
        <ProductId>1</ProductId>
      </TrykProduct>
      <TrykProduct>
        <CustomerFulfilled>true</CustomerFulfilled>
        <Description>sample string 3</Description>
        <EnableScaleModification>true</EnableScaleModification>
        <Frames>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
        </Frames>
        <IsDefault>true</IsDefault>
        <Name>sample string 2</Name>
        <ProductId>1</ProductId>
      </TrykProduct>
    </Products>
  </BrandTrykProducts>
  <BrandTrykProducts>
    <BrandId>1</BrandId>
    <Products>
      <TrykProduct>
        <CustomerFulfilled>true</CustomerFulfilled>
        <Description>sample string 3</Description>
        <EnableScaleModification>true</EnableScaleModification>
        <Frames>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
        </Frames>
        <IsDefault>true</IsDefault>
        <Name>sample string 2</Name>
        <ProductId>1</ProductId>
      </TrykProduct>
      <TrykProduct>
        <CustomerFulfilled>true</CustomerFulfilled>
        <Description>sample string 3</Description>
        <EnableScaleModification>true</EnableScaleModification>
        <Frames>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
          <TrykProductFrame>
            <Frame>3</Frame>
            <FrameContentType>sample string 5</FrameContentType>
            <FrameContentTypeId>4</FrameContentTypeId>
            <Height>7</Height>
            <OffsetX>8</OffsetX>
            <OffsetY>9</OffsetY>
            <ProductFrameId>1</ProductFrameId>
            <ProductId>2</ProductId>
            <Width>6</Width>
          </TrykProductFrame>
        </Frames>
        <IsDefault>true</IsDefault>
        <Name>sample string 2</Name>
        <ProductId>1</ProductId>
      </TrykProduct>
    </Products>
  </BrandTrykProducts>
</ArrayOfBrandTrykProducts>