POST api/LiveProductsView/GetLiveProducts

Request Information

URI Parameters

None.

Body Parameters

ProductsViewArguments
NameDescriptionTypeAdditional information
ProductCacheName

string

None.

Credentials

ProxyCredentialArguments

None.

CatalogueId

integer

None.

ChangesSince

date

None.

Temperatures

Collection of Temperature

None.

Start

integer

None.

Take

integer

None.

CategoryIDs

Collection of integer

None.

Barcode

string

None.

SupplierCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCacheName": "BlakmoreProducts:C1:Usample string 2:Dsample string 3:T4:S3",
  "Credentials": {
    "APIVersion": 1,
    "Division": "sample string 2",
    "Username": "sample string 3",
    "Password": "sample string 4",
    "SiteCode": 5,
    "CatalogueId": 6
  },
  "CatalogueId": 1,
  "ChangesSince": "2024-11-23T15:59:47.9803934+00:00",
  "Temperatures": [
    0,
    0
  ],
  "Start": 3,
  "Take": 4,
  "CategoryIDs": [
    1,
    2
  ],
  "Barcode": "sample string 5",
  "SupplierCode": "sample string 6"
}

application/xml, text/xml

Sample:
<ProxyAPI.ProductsViewArguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common">
  <Barcode>sample string 5</Barcode>
  <CatalogueId>1</CatalogueId>
  <CategoryIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CategoryIDs>
  <ChangesSince>2024-11-23T15:59:47.9803934+00:00</ChangesSince>
  <Credentials>
    <APIVersion>1</APIVersion>
    <CatalogueId>6</CatalogueId>
    <Division>sample string 2</Division>
    <Password>sample string 4</Password>
    <SiteCode>5</SiteCode>
    <Username>sample string 3</Username>
  </Credentials>
  <Start>3</Start>
  <SupplierCode>sample string 6</SupplierCode>
  <Take>4</Take>
  <Temperatures xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models">
    <d2p1:Temperature>Any</d2p1:Temperature>
    <d2p1:Temperature>Any</d2p1:Temperature>
  </Temperatures>
</ProxyAPI.ProductsViewArguments>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ProductView
NameDescriptionTypeAdditional information
Barcode

string

String length: inclusive between 0 and 18

BrandID

integer

None.

BrandName

string

None.

CategoryID

integer

None.

CategoryName

string

None.

ParentCategoryID

integer

None.

ParentCategoryName

string

None.

DateAvailable

date

None.

Ethical

boolean

None.

FairTrade

boolean

None.

Name

string

Required

String length: inclusive between 0 and 128

Description

string

Required

Organic

boolean

None.

OuterBarcode

string

Required

String length: inclusive between 0 and 32

ProductID

globally unique identifier

None.

SKUCostPrice

decimal number

Data type: Currency

SKUID

integer

None.

SKUName

string

None.

SKUSellingPrice

decimal number

Data type: Currency

SKUSize

decimal number

None.

Status

eProductStatus

None.

SupplierID

integer

None.

SupplierName

string

None.

SupplierProductCode

string

Required

String length: inclusive between 0 and 64

TaxID

integer

None.

TaxRate

decimal number

None.

UnitCostPrice

decimal number

Data type: Currency

UnitSellingPrice

decimal number

Data type: Currency

CatalogueID

integer

None.

Temperature

Temperature

None.

Chilled

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Barcode": "sample string 1",
    "BrandID": 1,
    "BrandName": "sample string 2",
    "CategoryID": 3,
    "CategoryName": "sample string 4",
    "ParentCategoryID": 5,
    "ParentCategoryName": "sample string 6",
    "DateAvailable": "2024-11-23T15:59:48.0606304+00:00",
    "Ethical": true,
    "FairTrade": true,
    "Name": "sample string 7",
    "Description": "sample string 8",
    "Organic": true,
    "OuterBarcode": "sample string 9",
    "ProductID": "427ccfac-822b-4129-8981-1746ccd20a6d",
    "SKUCostPrice": 11.0,
    "SKUID": 12,
    "SKUName": "sample string 13",
    "SKUSellingPrice": 14.0,
    "SKUSize": 15.0,
    "Status": 0,
    "SupplierID": 16,
    "SupplierName": "sample string 17",
    "SupplierProductCode": "sample string 18",
    "TaxID": 19,
    "TaxRate": 20.1,
    "UnitCostPrice": 21.0,
    "UnitSellingPrice": 22.0,
    "CatalogueID": 23,
    "Temperature": 0,
    "Chilled": true
  },
  {
    "Barcode": "sample string 1",
    "BrandID": 1,
    "BrandName": "sample string 2",
    "CategoryID": 3,
    "CategoryName": "sample string 4",
    "ParentCategoryID": 5,
    "ParentCategoryName": "sample string 6",
    "DateAvailable": "2024-11-23T15:59:48.0606304+00:00",
    "Ethical": true,
    "FairTrade": true,
    "Name": "sample string 7",
    "Description": "sample string 8",
    "Organic": true,
    "OuterBarcode": "sample string 9",
    "ProductID": "427ccfac-822b-4129-8981-1746ccd20a6d",
    "SKUCostPrice": 11.0,
    "SKUID": 12,
    "SKUName": "sample string 13",
    "SKUSellingPrice": 14.0,
    "SKUSize": 15.0,
    "Status": 0,
    "SupplierID": 16,
    "SupplierName": "sample string 17",
    "SupplierProductCode": "sample string 18",
    "TaxID": 19,
    "TaxRate": 20.1,
    "UnitCostPrice": 21.0,
    "UnitSellingPrice": 22.0,
    "CatalogueID": 23,
    "Temperature": 0,
    "Chilled": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.TotalControlPremier">
  <ProductView>
    <Barcode>sample string 1</Barcode>
    <BrandID>1</BrandID>
    <BrandName>sample string 2</BrandName>
    <CatalogueID>23</CatalogueID>
    <CategoryID>3</CategoryID>
    <CategoryName>sample string 4</CategoryName>
    <Chilled>true</Chilled>
    <DateAvailable>2024-11-23T15:59:48.0606304+00:00</DateAvailable>
    <Description>sample string 8</Description>
    <Ethical>true</Ethical>
    <FairTrade>true</FairTrade>
    <Name>sample string 7</Name>
    <Organic>true</Organic>
    <OuterBarcode>sample string 9</OuterBarcode>
    <ParentCategoryID>5</ParentCategoryID>
    <ParentCategoryName>sample string 6</ParentCategoryName>
    <ProductID>427ccfac-822b-4129-8981-1746ccd20a6d</ProductID>
    <SKUCostPrice>11</SKUCostPrice>
    <SKUID>12</SKUID>
    <SKUName>sample string 13</SKUName>
    <SKUSellingPrice>14</SKUSellingPrice>
    <SKUSize>15</SKUSize>
    <Status>Importing</Status>
    <SupplierID>16</SupplierID>
    <SupplierName>sample string 17</SupplierName>
    <SupplierProductCode>sample string 18</SupplierProductCode>
    <TaxID>19</TaxID>
    <TaxRate>20.1</TaxRate>
    <Temperature>Any</Temperature>
    <UnitCostPrice>21</UnitCostPrice>
    <UnitSellingPrice>22</UnitSellingPrice>
  </ProductView>
  <ProductView>
    <Barcode>sample string 1</Barcode>
    <BrandID>1</BrandID>
    <BrandName>sample string 2</BrandName>
    <CatalogueID>23</CatalogueID>
    <CategoryID>3</CategoryID>
    <CategoryName>sample string 4</CategoryName>
    <Chilled>true</Chilled>
    <DateAvailable>2024-11-23T15:59:48.0606304+00:00</DateAvailable>
    <Description>sample string 8</Description>
    <Ethical>true</Ethical>
    <FairTrade>true</FairTrade>
    <Name>sample string 7</Name>
    <Organic>true</Organic>
    <OuterBarcode>sample string 9</OuterBarcode>
    <ParentCategoryID>5</ParentCategoryID>
    <ParentCategoryName>sample string 6</ParentCategoryName>
    <ProductID>427ccfac-822b-4129-8981-1746ccd20a6d</ProductID>
    <SKUCostPrice>11</SKUCostPrice>
    <SKUID>12</SKUID>
    <SKUName>sample string 13</SKUName>
    <SKUSellingPrice>14</SKUSellingPrice>
    <SKUSize>15</SKUSize>
    <Status>Importing</Status>
    <SupplierID>16</SupplierID>
    <SupplierName>sample string 17</SupplierName>
    <SupplierProductCode>sample string 18</SupplierProductCode>
    <TaxID>19</TaxID>
    <TaxRate>20.1</TaxRate>
    <Temperature>Any</Temperature>
    <UnitCostPrice>21</UnitCostPrice>
    <UnitSellingPrice>22</UnitSellingPrice>
  </ProductView>
</ArrayOfProductView>