GET api/Product/GetProductById?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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. |
|
PricePolicyGroups | Collection of PricePolicyGroup |
None. |
|
PriceGroupPolicies | Collection of PriceGroupPolicy |
None. |
|
ItemPolicyGroups | Collection of Item_PolicyGroup |
None. |
|
ItemIngredients | Collection of ItemIngredient |
None. |
Response Formats
application/json, text/json
Sample:
{ "Products": [ { "$id": "2", "Id": 1, "SKU": "sample string 2", "Description": "sample string 3", "BrandNumber": "sample string 4", "BarCode": "sample string 5", "Price": 6.0, "PurchasePrice": 7.0, "Tax": 8.0, "BrandId": 1, "PLU": "sample string 9", "Unit": 0, "AskPrice": true, "AskWeight": true, "PriceLock": true, "ColorCode": "sample string 13", "PrinterId": 14, "SortOrder": 15, "Active": true, "Deleted": true, "PlaceHolder": true, "AskVolume": true, "NeedIngredient": true, "Created": "2024-05-17T15:04:39.2485881+02:00", "Updated": "2024-05-17T15:04:39.2485881+02:00", "Bong": true, "Sticky": 23, "Seamless": true, "ShowItemButton": true, "AccountingId": 26, "ReceiptMethod": 0, "ItemType": 0, "DiscountAllowed": true, "IngredientPopup": true, "PreparationTime": 0, "CategoryId": 29, "Campaign": { "$id": "3", "Id": 1, "BuyLimit": 2, "FreeOffer": 3, "Description": "sample string 4", "Updated": "2024-05-17T15:04:39.2485881+02:00" }, "HasPricePolicy": true, "ifExists": "sample string 31", "ItemCategory": [ { "$id": "4", "Id": 1, "ItemId": 2, "CategoryId": 3, "SortOrder": 4, "IsPrimary": true }, { "$ref": "4" } ], "ExternalId": "sample string 32" }, { "$ref": "2" } ], "Categories": [ { "$id": "5", "Id": 1, "Name": "sample string 2", "Parant": 3, "CategoryLevel": 4, "Active": true, "Deleted": true, "Created": "2024-05-17T15:04:39.2485881+02:00", "Updated": "2024-05-17T15:04:39.2485881+02:00", "ColorCode": "sample string 8", "SortOrder": 9, "IconId": 1 }, { "$ref": "5" } ], "ItemCategories": [ { "$ref": "4" }, { "$ref": "4" } ], "Accountings": [ { "$id": "6", "Id": 1, "AcNo": 2, "Name": "sample string 3", "IsDeleted": true, "TAX": 5.0, "Updated": "2024-05-17T15:04:39.2485881+02:00", "SortOrder": 7 }, { "$ref": "6" } ], "ItemCampaigns": [ { "$id": "7", "Id": 1, "ItemId": 2, "CampaignId": 3, "StartDate": "2024-05-17T15:04:39.2485881+02:00", "EndDate": "2024-05-17T15:04:39.2485881+02:00", "Active": true, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "7" } ], "ItemGroups": [ { "$id": "8", "Id": 1, "ItemId": 2, "GroupId": 3, "Price": 4.0, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "8" } ], "ProductPrices": [ { "$id": "9", "Id": 1, "ItemId": 2, "PurchasePrice": 3.0, "Price": 4.0, "OutletId": "92e89eb6-a219-4597-b3b7-aa2ae07bc733", "PriceMode": 0, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "9" } ], "PricePolicies": [ { "$id": "10", "Id": 1, "ItemId": 2, "BuyLimit": 3, "DiscountAmount": 4.0, "Active": true, "Deleted": true, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "10" } ], "ItemStocks": [ { "$id": "11", "Id": 1, "ItemId": 2, "Quantity": 3.0, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "11" } ], "PricePolicyGroups": [ { "$id": "12", "Id": 1, "BuyLimit": 2, "DiscountAmount": 3.0, "Title": "sample string 4", "Updated": "2024-05-17T15:04:39.2485881+02:00", "GroupPolicies": [ { "$id": "13", "Id": 1, "GroupId": 2, "BuyLimit": 3, "DiscountAmount": 4.0, "Updated": "2024-05-17T15:04:39.2485881+02:00" }, { "$ref": "13" } ] }, { "$ref": "12" } ], "PriceGroupPolicies": [ { "$ref": "13" }, { "$ref": "13" } ], "ItemPolicyGroups": [ { "$id": "14", "Id": 1, "ItemId": 2, "GroupId": 3, "Active": true, "Deleted": true, "Updated": "2024-05-17T15:04:39.2642263+02:00" }, { "$ref": "14" } ], "ItemIngredients": [ { "$id": "15", "Id": 1, "ItemId": 2, "IngredientId": 3, "ExcludePrice": true, "Deleted": true, "Updated": "2024-05-17T15:04:39.2642263+02:00" }, { "$ref": "15" } ] }