GET api/Price/Get?hash={hash}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hash

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Price
NameDescriptionTypeAdditional information
Id

integer

None.

ItemId

integer

None.

Name

string

None.

Code

string

None.

Stock

integer

None.

Price1

decimal number

None.

OfferPrice

decimal number

None.

ForSale

boolean

None.

Published

boolean

None.

Weight

integer

None.

RefPrice

integer

None.

CurrencyId

integer

None.

PriceListId

integer

None.

Code2

string

None.

SizeId

integer

None.

ColorId

integer

None.

PriceMode

integer

None.

SiteId

integer

None.

MinStock

integer

None.

Currency

Currency

None.

Images

Collection of Picture

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ItemId": 2,
    "Name": "sample string 3",
    "Code": "sample string 4",
    "Stock": 5,
    "Price1": 6.0,
    "OfferPrice": 7.0,
    "ForSale": true,
    "Published": true,
    "Weight": 10,
    "RefPrice": 11,
    "CurrencyId": 1,
    "PriceListId": 12,
    "Code2": "sample string 13",
    "SizeId": 14,
    "ColorId": 15,
    "PriceMode": 16,
    "SiteId": 17,
    "MinStock": 18,
    "Currency": {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "DisplayName": "sample string 4",
      "Value": 5.0,
      "IsDefault": true,
      "SiteId": 7,
      "RefId": 8
    },
    "Images": [
      {
        "Url": "sample string 1",
        "ColorId": "sample string 2",
        "Thumbnail": true
      },
      {
        "Url": "sample string 1",
        "ColorId": "sample string 2",
        "Thumbnail": true
      }
    ]
  },
  {
    "Id": 1,
    "ItemId": 2,
    "Name": "sample string 3",
    "Code": "sample string 4",
    "Stock": 5,
    "Price1": 6.0,
    "OfferPrice": 7.0,
    "ForSale": true,
    "Published": true,
    "Weight": 10,
    "RefPrice": 11,
    "CurrencyId": 1,
    "PriceListId": 12,
    "Code2": "sample string 13",
    "SizeId": 14,
    "ColorId": 15,
    "PriceMode": 16,
    "SiteId": 17,
    "MinStock": 18,
    "Currency": {
      "Id": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "DisplayName": "sample string 4",
      "Value": 5.0,
      "IsDefault": true,
      "SiteId": 7,
      "RefId": 8
    },
    "Images": [
      {
        "Url": "sample string 1",
        "ColorId": "sample string 2",
        "Thumbnail": true
      },
      {
        "Url": "sample string 1",
        "ColorId": "sample string 2",
        "Thumbnail": true
      }
    ]
  }
]

text/xml

Sample:
<ArrayOfPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications">
  <Price>
    <Code>sample string 4</Code>
    <Code2>sample string 13</Code2>
    <ColorId>15</ColorId>
    <Currency>
      <Code>sample string 3</Code>
      <DisplayName>sample string 4</DisplayName>
      <Id>1</Id>
      <IsDefault>true</IsDefault>
      <Name>sample string 2</Name>
      <RefId>8</RefId>
      <SiteId>7</SiteId>
      <Value>5</Value>
    </Currency>
    <CurrencyId>1</CurrencyId>
    <ForSale>true</ForSale>
    <Id>1</Id>
    <Images>
      <Picture xmlns="">
        <ColorId>sample string 2</ColorId>
        <Thumbnail>true</Thumbnail>
        <Url>sample string 1</Url>
      </Picture>
      <Picture xmlns="">
        <ColorId>sample string 2</ColorId>
        <Thumbnail>true</Thumbnail>
        <Url>sample string 1</Url>
      </Picture>
    </Images>
    <ItemId>2</ItemId>
    <MinStock>18</MinStock>
    <Name>sample string 3</Name>
    <OfferPrice>7</OfferPrice>
    <Price1>6</Price1>
    <PriceListId>12</PriceListId>
    <PriceMode>16</PriceMode>
    <Published>true</Published>
    <RefPrice>11</RefPrice>
    <SiteId>17</SiteId>
    <SizeId>14</SizeId>
    <Stock>5</Stock>
    <Weight>10</Weight>
  </Price>
  <Price>
    <Code>sample string 4</Code>
    <Code2>sample string 13</Code2>
    <ColorId>15</ColorId>
    <Currency>
      <Code>sample string 3</Code>
      <DisplayName>sample string 4</DisplayName>
      <Id>1</Id>
      <IsDefault>true</IsDefault>
      <Name>sample string 2</Name>
      <RefId>8</RefId>
      <SiteId>7</SiteId>
      <Value>5</Value>
    </Currency>
    <CurrencyId>1</CurrencyId>
    <ForSale>true</ForSale>
    <Id>1</Id>
    <Images>
      <Picture xmlns="">
        <ColorId>sample string 2</ColorId>
        <Thumbnail>true</Thumbnail>
        <Url>sample string 1</Url>
      </Picture>
      <Picture xmlns="">
        <ColorId>sample string 2</ColorId>
        <Thumbnail>true</Thumbnail>
        <Url>sample string 1</Url>
      </Picture>
    </Images>
    <ItemId>2</ItemId>
    <MinStock>18</MinStock>
    <Name>sample string 3</Name>
    <OfferPrice>7</OfferPrice>
    <Price1>6</Price1>
    <PriceListId>12</PriceListId>
    <PriceMode>16</PriceMode>
    <Published>true</Published>
    <RefPrice>11</RefPrice>
    <SiteId>17</SiteId>
    <SizeId>14</SizeId>
    <Stock>5</Stock>
    <Weight>10</Weight>
  </Price>
</ArrayOfPrice>