GET api/composites/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Composite
NameDescriptionTypeAdditional information
Id

integer

None.

Alias

string

None.

Category

string

None.

Description

string

None.

Price

decimal number

None.

DefaultPlId

integer

None.

DefaultSaleTypeId

integer

None.

ShortDescription

string

None.

PromoItem1

Retail

None.

PromoItem2

Retail

None.

PromoItem3

Retail

None.

PhotoUrl

string

None.

Components

Collection of CompositeComponent

None.

PriceListPrices

Collection of PFSPricelistPrice

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Alias": "sample string 2",
  "Category": "sample string 3",
  "Description": "sample string 4",
  "Price": 5.1,
  "DefaultPlId": 6,
  "DefaultSaleTypeId": 7,
  "ShortDescription": "sample string 8",
  "PromoItem1": {
    "Id": 1,
    "Title": "sample string 2",
    "Category": "sample string 3",
    "ShortDesription": "sample string 4",
    "Description": "sample string 5",
    "Price": 6.1,
    "Alias": "sample string 7",
    "Photo": "QEA=",
    "PhotoUrl": "sample string 8",
    "SearchKey": "sample string 9"
  },
  "PromoItem2": {
    "Id": 1,
    "Title": "sample string 2",
    "Category": "sample string 3",
    "ShortDesription": "sample string 4",
    "Description": "sample string 5",
    "Price": 6.1,
    "Alias": "sample string 7",
    "Photo": "QEA=",
    "PhotoUrl": "sample string 8",
    "SearchKey": "sample string 9"
  },
  "PromoItem3": {
    "Id": 1,
    "Title": "sample string 2",
    "Category": "sample string 3",
    "ShortDesription": "sample string 4",
    "Description": "sample string 5",
    "Price": 6.1,
    "Alias": "sample string 7",
    "Photo": "QEA=",
    "PhotoUrl": "sample string 8",
    "SearchKey": "sample string 9"
  },
  "PhotoUrl": "sample string 9",
  "Components": [
    {
      "Id": 1,
      "ProductId": 2,
      "Description": "sample string 3",
      "ProductType": 0,
      "MasterProductType": 0,
      "PriceListPrices": [
        {
          "PriceListId": 1,
          "Price": 2.1
        },
        {
          "PriceListId": 1,
          "Price": 2.1
        }
      ]
    },
    {
      "Id": 1,
      "ProductId": 2,
      "Description": "sample string 3",
      "ProductType": 0,
      "MasterProductType": 0,
      "PriceListPrices": [
        {
          "PriceListId": 1,
          "Price": 2.1
        },
        {
          "PriceListId": 1,
          "Price": 2.1
        }
      ]
    }
  ],
  "PriceListPrices": [
    {
      "PriceListId": 1,
      "Price": 2.1
    },
    {
      "PriceListId": 1,
      "Price": 2.1
    }
  ]
}

application/xml, text/xml

Sample:
<Composite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models">
  <Alias>sample string 2</Alias>
  <Category>sample string 3</Category>
  <Components>
    <CompositeComponent>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <MasterProductType>PT_THERAPY</MasterProductType>
      <PriceListPrices>
        <PFSPricelistPrice>
          <Price>2.1</Price>
          <PriceListId>1</PriceListId>
        </PFSPricelistPrice>
        <PFSPricelistPrice>
          <Price>2.1</Price>
          <PriceListId>1</PriceListId>
        </PFSPricelistPrice>
      </PriceListPrices>
      <ProductId>2</ProductId>
      <ProductType>PT_THERAPY</ProductType>
    </CompositeComponent>
    <CompositeComponent>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <MasterProductType>PT_THERAPY</MasterProductType>
      <PriceListPrices>
        <PFSPricelistPrice>
          <Price>2.1</Price>
          <PriceListId>1</PriceListId>
        </PFSPricelistPrice>
        <PFSPricelistPrice>
          <Price>2.1</Price>
          <PriceListId>1</PriceListId>
        </PFSPricelistPrice>
      </PriceListPrices>
      <ProductId>2</ProductId>
      <ProductType>PT_THERAPY</ProductType>
    </CompositeComponent>
  </Components>
  <DefaultPlId>6</DefaultPlId>
  <DefaultSaleTypeId>7</DefaultSaleTypeId>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <PhotoUrl>sample string 9</PhotoUrl>
  <Price>5.1</Price>
  <PriceListPrices>
    <PFSPricelistPrice>
      <Price>2.1</Price>
      <PriceListId>1</PriceListId>
    </PFSPricelistPrice>
    <PFSPricelistPrice>
      <Price>2.1</Price>
      <PriceListId>1</PriceListId>
    </PFSPricelistPrice>
  </PriceListPrices>
  <PromoItem1>
    <Alias>sample string 7</Alias>
    <Category>sample string 3</Category>
    <Description>sample string 5</Description>
    <Id>1</Id>
    <Photo>QEA=</Photo>
    <PhotoUrl>sample string 8</PhotoUrl>
    <Price>6.1</Price>
    <SearchKey>sample string 9</SearchKey>
    <ShortDesription>sample string 4</ShortDesription>
    <Title>sample string 2</Title>
  </PromoItem1>
  <PromoItem2>
    <Alias>sample string 7</Alias>
    <Category>sample string 3</Category>
    <Description>sample string 5</Description>
    <Id>1</Id>
    <Photo>QEA=</Photo>
    <PhotoUrl>sample string 8</PhotoUrl>
    <Price>6.1</Price>
    <SearchKey>sample string 9</SearchKey>
    <ShortDesription>sample string 4</ShortDesription>
    <Title>sample string 2</Title>
  </PromoItem2>
  <PromoItem3>
    <Alias>sample string 7</Alias>
    <Category>sample string 3</Category>
    <Description>sample string 5</Description>
    <Id>1</Id>
    <Photo>QEA=</Photo>
    <PhotoUrl>sample string 8</PhotoUrl>
    <Price>6.1</Price>
    <SearchKey>sample string 9</SearchKey>
    <ShortDesription>sample string 4</ShortDesription>
    <Title>sample string 2</Title>
  </PromoItem3>
  <ShortDescription>sample string 8</ShortDescription>
</Composite>