POST api/ProductCatalogueView/PostProducts
Request Information
URI Parameters
None.
Body Parameters
ProductChangesSearchName | Description | Type | Additional information |
---|---|---|---|
Start | integer |
None. |
|
Take | integer |
None. |
|
CatalogueID | integer |
None. |
|
SupplierIDs | Collection of integer |
None. |
|
CategoryIDs | Collection of integer |
None. |
|
BrandIDs | Collection of integer |
None. |
|
Temperatures | Collection of Temperature |
None. |
|
ChangesSince | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Start": 1, "Take": 2, "CatalogueID": 3, "SupplierIDs": [ 1, 2 ], "CategoryIDs": [ 1, 2 ], "BrandIDs": [ 1, 2 ], "Temperatures": [ 0, 0 ], "ChangesSince": "2024-11-22T13:40:48.1753154+00:00" }
application/xml, text/xml
Sample:
<ProductChangesSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.Search"> <BrandIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </BrandIDs> <CatalogueID>3</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-22T13:40:48.1753154+00:00</ChangesSince> <Start>1</Start> <SupplierIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SupplierIDs> <Take>2</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> </ProductChangesSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductViewName | Description | Type | Additional 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-22T13:40:48.1753154+00:00", "Ethical": true, "FairTrade": true, "Name": "sample string 7", "Description": "sample string 8", "Organic": true, "OuterBarcode": "sample string 9", "ProductID": "a63e85e9-fd85-45d5-a300-05dad0b10fc7", "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-22T13:40:48.1753154+00:00", "Ethical": true, "FairTrade": true, "Name": "sample string 7", "Description": "sample string 8", "Organic": true, "OuterBarcode": "sample string 9", "ProductID": "a63e85e9-fd85-45d5-a300-05dad0b10fc7", "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-22T13:40:48.1753154+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>a63e85e9-fd85-45d5-a300-05dad0b10fc7</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-22T13:40:48.1753154+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>a63e85e9-fd85-45d5-a300-05dad0b10fc7</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>