GET api/Product/GetAllProducts
Get all products with their categories detail
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
All products and their categories information
ProductDataName | Description | Type | Additional information |
---|---|---|---|
Products | Collection of Product |
None. |
|
Categories | Collection of Category |
None. |
|
ItemCategories | Collection of ItemCategory |
None. |
|
Accountings | Collection of Accounting |
None. |
|
ItemCampaigns | Collection of ItemCampaign |
None. |
|
ItemGroups | Collection of ItemGroup |
None. |
|
ProductPrices | Collection of ProductPrice |
None. |
|
PricePolicies | Collection of Item_PricePolicy |
None. |
|
ItemStocks | Collection of ItemStock |
None. |
|
PolicyGroups | Collection of PolicyGroup |
None. |
|
PriceGroupPolicies | Collection of PriceGroupPolicy |
None. |
|
ItemPolicyGroups | Collection of Item_PolicyGroup |
None. |
|
ItemIngredients | Collection of ItemIngredient |
None. |
|
ItemConfigurations | Collection of ItemConfiguration |
None. |
|
ItemDiscountedPrices | Collection of ItemDiscountedPrice |
None. |
|
ItemInventories | Collection of ItemInventory |
None. |
|
CampaignPriceLists | Collection of CampaignPriceList |
None. |
|
ServeTypes | Collection of ServeType |
None. |
|
ServeFlows | Collection of ServeFlow |
None. |
|
ServeFlowTypes | Collection of ServeFlowType |
None. |
|
ItemPrinters | Collection of ItemPrinter |
None. |
|
PriceLists | Collection of PriceList |
None. |
|
ItemPriceLists | Collection of ItemPriceList |
None. |
|
CampaignMasters | Collection of CampaignMaster |
None. |
|
CampaignPriceDetails | Collection of CampaignPriceDetail |
None. |
|
ProductCampaigns | Collection of ProductCampaign |
None. |
|
CategoryItemGroups | Collection of CategoryItemGroup |
None. |
|
ItemOptionGroups | Collection of ItemOptionGroup |
None. |
|
ItemOptions | Collection of ItemOption |
None. |
|
ItemOptionGroupOptions | Collection of ItemOptionGroupOption |
None. |
|
ItemOutletStatuses | Collection of ItemOutletStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "Products": [ { "$id": "2", "Id": "d3292f95-10e2-4e10-b54c-030991c5843e", "SKU": "sample string 2", "Name": "sample string 3", "Description": "sample string 4", "LongDescription": "sample string 5", "BarCode": "sample string 6", "Price": 7.0, "PurchasePrice": 8.0, "Tax": 9.0, "BrandId": 10, "PLU": "sample string 11", "Unit": 0, "AskPrice": true, "AskWeight": true, "PriceLock": true, "ColorCode": "sample string 15", "PrinterId": 16, "PlaceHolder": true, "AskVolume": true, "NeedIngredient": true, "Bong": true, "Sticky": 21, "Seamless": true, "ShowItemButton": true, "ShowGroupItem": true, "AccountingId": 25, "ReceiptMethod": 0, "ItemType": 0, "DiscountAllowed": true, "PreparationTime": 0, "IngredientPopup": true, "DefaultCartQty": 28.0, "SortOrder": 29, "IconId": 30, "Active": true, "Deleted": true, "Weight": 33.0, "Availability": true, "TextColor": "sample string 35", "ServeType": 64, "BongTitle": "sample string 37", "Synced": true, "DemandIdControl": true, "Discontinued": true, "AskPLU": true, "SupplierId": "9c1f3ac9-7ca8-4074-b7ee-2ec5ad84f5cb", "SupplierSKU": "sample string 44", "DefaultUnit": 0, "ManageStock": 45, "PriceRek": 46.0, "CommentsRequired": true, "TicketQty": 48, "MinCartQty": 49.0, "MinQtyAlert": 50.0, "GroupId": "f146419a-6d1c-45f9-9c73-6110a49e1075", "ComissionPercent": 51.0, "PantPrice": 52.0, "TrackAmount": true, "SaleUnitSuffix": "sample string 54", "QtyPerSaleUnit": 55.0, "Created": "2024-05-16T22:30:48.175622+02:00", "Updated": "2024-05-16T22:30:48.175622+02:00", "UpdatedBy": "65b74f57-c9f2-42bf-8eca-4510940a5390", "CategoryId": 58, "Campaign": { "$id": "3", "Id": "b5f0c66e-5553-468c-b5aa-057ed553b7ee", "CampaignType": 0, "DiscountBy": 0, "BuyLimit": 2, "FreeOffer": 3, "Price": 4.0, "DiscountQtyIncrement": 5, "Description": "sample string 6", "StartDate": "2024-05-16T22:30:48.175622+02:00", "EndDate": "2024-05-16T22:30:48.175622+02:00", "Deleted": true, "Updated": "2024-05-16T22:30:48.175622+02:00", "CampaignPriceDetails": [ { "$id": "4", "Id": "e92262b7-2c98-4386-8c1a-a16f93bf8af2", "CampaignId": "07432c77-c01c-4900-a6d0-99a1bab2139b", "Quantity": 3, "PayPrice": 4.0, "Deleted": true, "Updated": "2024-05-16T22:30:48.175622+02:00" }, { "$ref": "4" } ] }, "HasPricePolicy": true, "ItemCategory": [ { "$id": "5", "Id": 1, "ItemId": "a823acf4-c416-482f-b6bb-d82b323cb865", "CategoryId": 3, "SortOrder": 4, "IsPrimary": true }, { "$ref": "5" } ], "ItemIdex": 60, "PolicyGroupId": 61, "HasCampaign": true, "Products": [ { "$ref": "2" }, { "$ref": "2" } ], "ColorName": "sample string 62", "Type": 63, "ImagePath": "sample string 64", "ImageVisibility": true, "ifExists": "sample string 66", "ProductPrices": [ { "$id": "6", "Id": 1, "ItemId": "ec560b21-998f-41c0-bc76-d5ad539a4d66", "PurchasePrice": 3.0, "Price": 4.0, "OutletId": "a2cbadcd-fc65-47c1-a465-db24fb80f616", "PriceMode": 0, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "6" } ], "Ingredients": [ { "$ref": "2" }, { "$ref": "2" } ], "Variants": [ { "$id": "7", "Id": 1, "ConfigurationId": "2870390b-18a5-443e-ab80-83ea3124a5eb", "ItemId": "7a2ddbc4-490c-46c0-9e88-5ef7dcc73143", "SortOrder": 4, "Deleted": true, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "7" } ], "ItemOption": [ { "$id": "8", "Id": "34e81a55-2d5f-47e1-aa0b-7af89c7cd651", "ItemOptionGroupId": "5d91a7bf-422b-4863-b183-828f0a82053b", "ItemId": "e52c5659-1700-40c7-9dd8-373ad46dbb59", "CategoryId": 4, "Active": true, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "8" } ], "ShowOnReceipt": true, "QuickAdd": true, "HasIngredients": true, "CategoryItemGroups": [ { "$id": "9", "Id": "7d677e29-21c9-48d4-88b6-6bba809b72a0", "CategoryId": 2, "GroupId": "0726a405-4bd8-4d77-b122-4e32a7832033", "Qty": 4.0, "Price": 5.0, "Deleted": true, "SortOrder": 7, "Updated": "2024-05-16T22:30:48.1766366+02:00", "Description": "sample string 9" }, { "$ref": "9" } ], "ItemPricePolicies": [ { "$id": "10", "Id": 1, "ItemId": "d91d6bfe-b1a5-4139-9b4c-f613a7099542", "BuyLimit": 3, "DiscountAmount": 4.0, "Active": true, "Deleted": true, "Updated": "2024-05-16T22:30:48.1766366+02:00", "PolicyId": 8 }, { "$ref": "10" } ], "PriceGroupPolicies": [ { "$id": "11", "Id": 1, "GroupId": 2, "BuyLimit": 3, "MaxLimit": 4, "DiscountAmount": 5.0, "TotalAmount": 6.0, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "11" } ], "Photo": "QEA=", "GroupPrice": 69.0, "ExternalId": "sample string 70", "IngredientQty": 71.0, "StockQty": 72.0, "StockInitialCount": 73.0, "Selected": true, "ShowWarhouseStock": true, "ShowStockQty": true, "HideStockQty": false, "IsRUT": true, "NotSelected": true, "IsInActive": true, "CreatedBy": "sample string 79", "TerminalId": "18aaa0d9-145c-4347-ba3c-ed53e6cc2bd3", "CategoryName": "sample string 80", "ShowCategoryName": true, "DiscountedPrice": 81.0, "Qty": 82.0, "ConfigurationId": 83, "ItemOptionId": "18232776-0bc7-493a-aaab-f6b014745170", "PriceAdd": 85.0, "PriceRemove": 86.0, "FreeQty": 87.0, "PLUNumeric": 0, "ScalePrice": 88.0, "PriceExlTax": 7.63 }, { "$ref": "2" } ], "Categories": [ { "$id": "12", "Id": 1, "Name": "sample string 2", "Parant": 3, "CategoryLevel": 4, "Type": 0, "Active": true, "Deleted": true, "Created": "2024-05-16T22:30:48.1766366+02:00", "Updated": "2024-05-16T22:30:48.1766366+02:00", "ColorCode": "sample string 8", "TextColorCode": "sample string 9", "ItemColorCode": "sample string 10", "ApplyItemColor": true, "SortOrder": 12, "IconId": 13, "ReportOrder": 14, "AccountingId": 15, "SortItemByName": true, "ComissionPercent": 17.0, "ShowButton": true, "SubCategories": [ { "$ref": "12" }, { "$ref": "12" } ], "Children": [ { "$ref": "12" }, { "$ref": "12" } ], "Photo": "QEA=", "ImageURL": "sample string 19", "IsPrimary": true, "IsParent": true, "IsSelected": true }, { "$ref": "12" } ], "ItemCategories": [ { "$ref": "5" }, { "$ref": "5" } ], "Accountings": [ { "$id": "13", "Id": 1, "AcNo": 2, "Name": "sample string 3", "IsDeleted": true, "TAX": 5.0, "AccountType": 0, "Updated": "2024-05-16T22:30:48.1766366+02:00", "SortOrder": 7 }, { "$ref": "13" } ], "ItemCampaigns": [ { "$id": "14", "Id": 1, "ItemId": "ef0851d9-df10-46c0-85c5-7f1f11aaa549", "CampaignId": 3, "StartDate": "2024-05-16T22:30:48.1766366+02:00", "EndDate": "2024-05-16T22:30:48.1766366+02:00", "Active": true, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "14" } ], "ItemGroups": [ { "$id": "15", "Id": 1, "ItemId": "af452be0-82fc-460d-8643-d69aa823f468", "GroupId": "a6b9b8e0-fcac-43b5-bf41-6881387a86d8", "Qty": 4.0, "Price": 5.0, "Deleted": true, "Updated": "2024-05-16T22:30:48.1766366+02:00", "Description": "sample string 8", "Bong": true, "PrinterId": 10, "ItemType": 0, "ServeType": 64, "Tax": 12.0, "DiscountAllowed": true }, { "$ref": "15" } ], "ProductPrices": [ { "$ref": "6" }, { "$ref": "6" } ], "PricePolicies": [ { "$ref": "10" }, { "$ref": "10" } ], "ItemStocks": [ { "$id": "16", "Id": 1, "ItemId": "8b15556a-0850-46af-99d0-607262762144", "Quantity": 3.0, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "16" } ], "PolicyGroups": [ { "$id": "17", "Id": 1, "Title": "sample string 2", "Updated": "2024-05-16T22:30:48.1766366+02:00", "GroupPolicies": [ { "$ref": "11" }, { "$ref": "11" } ] }, { "$ref": "17" } ], "PriceGroupPolicies": [ { "$ref": "11" }, { "$ref": "11" } ], "ItemPolicyGroups": [ { "$id": "18", "Id": 1, "ItemId": "bafbb7ed-4374-4f8e-8521-75b4e2a1f42e", "GroupId": 3, "Active": true, "Deleted": true, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "18" } ], "ItemIngredients": [ { "$id": "19", "Id": 1, "ItemId": "f60c294f-3483-4923-a9fa-6552131a6c9c", "IngredientId": "b331ac5b-c07e-4c68-b201-b54a92591faa", "ShowOnReceipt": true, "QuickAdd": true, "Qty": 6.0, "Unit": 0, "Price": 7.0, "SortOrder": 8, "Deleted": true, "Updated": "2024-05-16T22:30:48.1766366+02:00" }, { "$ref": "19" } ], "ItemConfigurations": [ { "$ref": "7" }, { "$ref": "7" } ], "ItemDiscountedPrices": [ { "$id": "20", "Id": 1, "ItemId": "a959b63b-7073-4cb9-ad37-04a0a6b8b8ea", "Price": 3.0, "StartDate": "2024-05-16T22:30:48.1776274+02:00", "EndDate": "2024-05-16T22:30:48.1776274+02:00", "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "20" } ], "ItemInventories": [ { "$id": "21", "ItemInventoryID": "df1a88d8-8f76-4a21-845d-8ff640784259", "ItemId": "07991c69-f635-4216-97c1-f0b02283a961", "WarehouseID": "c3f3385a-1935-4f48-a4dc-ced46634c1f1", "WarehouseLocationID": "7841b6cf-f91a-4add-8629-6236b10e59a7", "StockCount": 5.0, "StockReservations": 6.0, "Synced": true, "Updated": "2024-05-16T22:30:48.1776274+02:00", "Direction": 9 }, { "$ref": "21" } ], "CampaignPriceLists": [ { "$id": "22", "Id": 1, "CampaignId": 2, "Quantity": 3, "PayPrice": 4.0, "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "22" } ], "ServeTypes": [ { "$id": "23", "Id": 64, "Name": "sample string 2", "SortOrder": 3, "ColorCode": "sample string 4", "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "23" } ], "ServeFlows": [ { "$id": "24", "Id": 64, "Name": "sample string 2", "StartAutomatically": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "24" } ], "ServeFlowTypes": [ { "$id": "25", "Id": 1, "FlowId": 64, "ServeTypeId": 64, "SortOrder": 4, "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "25" } ], "ItemPrinters": [ { "$id": "26", "Id": "56e78d59-a29e-4abc-8b8c-f3efe386e47a", "ItemId": "59e84bea-5770-49b8-896d-753659565ad0", "OutletId": "3003b4b9-7156-44b9-b4ce-8614a6a33b9a", "TerminalId": "79ad6926-1d83-4e8e-a1d7-3fc3c2ca495f", "PrinterId": 5, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "26" } ], "PriceLists": [ { "$id": "27", "Id": "76df86bc-ce0d-48e7-b99e-7ccc11e90eb0", "Code": "sample string 2", "Name": "sample string 3", "Comment": "sample string 4", "IsDefault": true, "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "27" } ], "ItemPriceLists": [ { "$id": "28", "Id": "07ca2b1a-09dd-46a6-9a7c-d22ba78f911d", "PriceListId": "56dfafcc-0f1e-48c1-adbe-198220b97364", "ItemId": "543c2199-01dc-4a53-889d-de12aa7e8b4a", "Price": 4.0, "Quantity": 5.0, "ValidFrom": "2024-05-16T22:30:48.1776274+02:00", "ValidTo": "2024-05-16T22:30:48.1776274+02:00", "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00", "Code": "sample string 10", "Name": "sample string 11" }, { "$ref": "28" } ], "CampaignMasters": [ { "$ref": "3" }, { "$ref": "3" } ], "CampaignPriceDetails": [ { "$ref": "4" }, { "$ref": "4" } ], "ProductCampaigns": [ { "$id": "29", "Id": "501946a7-a4c3-456d-b1ef-dd486dc67643", "ItemId": "a676f4db-a5b5-4dd5-b20c-2f928637cbf2", "CampaignId": "9d6495cf-da7e-4c62-8d44-84171026088a", "StartDate": "2024-05-16T22:30:48.1776274+02:00", "EndDate": "2024-05-16T22:30:48.1776274+02:00", "Active": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "29" } ], "CategoryItemGroups": [ { "$ref": "9" }, { "$ref": "9" } ], "ItemOptionGroups": [ { "$id": "30", "Id": "b00a7baf-7724-4bf1-8a56-436f7eba0447", "Name": "sample string 2", "Description": "sample string 3", "FreeQty": 4.0, "PriceAdd": 5.0, "PriceRemove": 6.0, "Placement": 0, "Deleted": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "30" } ], "ItemOptions": [ { "$ref": "8" }, { "$ref": "8" } ], "ItemOptionGroupOptions": [ { "$id": "31", "Id": "65531754-904b-4e4d-979e-cdbb2f9608de", "ItemOptionGroupId": "ad535745-5195-4de1-85d9-dab8785a45f0", "ItemId": "3b560a1c-a930-4800-aba7-10998dd6d5aa", "UsePriceFromGroup": true, "PriceAdd": 5.0, "PriceRemove": 6.0, "Active": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "31" } ], "ItemOutletStatuses": [ { "$id": "32", "Id": "b59584f0-8f9e-421e-90bf-e3f7b9c526b8", "ItemId": "d0d957d5-6baf-4459-80d6-78942e3e9d23", "OutletId": "0785a3d7-318c-4093-bd5b-501c357b8617", "Active": true, "Updated": "2024-05-16T22:30:48.1776274+02:00" }, { "$ref": "32" } ] }