Items
An Item is an entity to define items in the system, items in standard BC are used to indicate sellable entities such as televisions and radios.
Wisefish has extended the item table to be able to define three other types of items within the system indicated by the field ItemType that defines if the item is a standard BC item, Raw Material, Work in Progress (WIP) or a Product.
An item GET request URL looks like this: https://api.businesscentral.dynamics.com/v2.0/{TenantId}/{Environment}/api/wisefish/wiFiEP/v1.0/companies({CompanyId})/items
This endpoint only supports GET so no updates or inserts are allowed.
Items can be filtered by most of the values in the response by using ?$filter for OData.
Item Response Example
{
"@odata.context": "https://api.businesscentral.dynamics.com/v2.0/b9559d9b-8fc8-4233-b617-00a14ef0a761/SalesAndConsulting/api/wisefish/wiFiEP/v1.0/$metadata#companies(1f98360c-1b96-ef11-8a6d-0022489ea62d)/items",
"value": [
{
"@odata.etag": "W/\"JzIwOzEwODEwNjYyMDc1Mjg5MTE5OTg3MTswMDsn\"",
"systemId": "e03341e8-92c7-eb11-9b49-cac838905ae8",
"no": "210-111450",
"no2": "5-6",
"description": "HOG 5-6kg (3) Chilled Atlantic Salmon",
"description2": "HOG 5-6kg (3) Chilled Atlantic Salmon",
"baseUnitOfMeasure": "KG",
"type": "Inventory",
"unitPrice": 0,
"grossWeight": 1,
"netWeight": 1,
"blocked": false,
"lastDateTimeModified": "2022-04-13T13:41:18.067Z",
"countryRegionOfOriginCode": "",
"gtin": "",
"wfItemType": "Product",
"tiUnitOfMeasure": "BOX",
"irregularTradeItem": true,
"weightUnitOfMeasure": "KG",
"processingMethodCode": "HOG",
"palletUnitOfMeasure": "PALLET",
"gtinTI": "09311435114509",
"gtinOuter": "",
"palletMixing": " ",
"latinLanguageCode": "",
"latinDescription": "",
"expirationUnit": 14,
"expirationType": "Years",
"packageDescriptionType": "Trade Item",
"packageDescription": "1 x 16",
"defaultPieceCount": 0,
"minimumPieces": 0,
"maximumPieces": 0,
"minimumWeight": 0,
"maximumWeight": 0,
"tradeItemPackingMethod": "Default (TIs as recorded)",
"tradeItemTareType": "On Scale",
"tradeItemTareWeight": 0,
"tradeItemWeight": 0,
"noOfTradeItemLabels": 0,
"targetIceGlazing": 0,
"palletNetWeight": 0,
"palletGrossWeight": 0,
"bestBeforeVsUseBy": "Best before",
"barcodeLabelDetailsCode": "",
"minMaxTaraProfile": "",
"innerTareWeight": 0,
"innerMaximumWeight": 0,
"innerMinimumWeight": 0,
"innerLabel": "",
"tradeItemLabel": "",
"outerLabel": "",
"labelImage1": "",
"labelImage2": "",
"tradeItemNetWeightKg": 16,
"tradeItemNetWeightLb": 35.2739619495804129,
"productSizeGrade": "",
"sizeGradeDescription": "",
"productQualityGrade": "",
"qualityGradeDescription": "",
"defaultRawMaterialState": "",
"cutCode": "",
"lastModified": "2022-04-13T13:41:18.067Z"
},
{
"@odata.etag": "W/\"JzE5OzkxNDk5MDU2NTg2OTQwMjQ2OTYxOzAwOyc=\"",
"systemId": "e13341e8-92c7-eb11-9b49-cac838905ae8",
"no": "210-111460",
"no2": "6-7",
"description": "HOG 6-7kg Chilled Atlantic Salmon",
"description2": "HOG 6-7kg Chilled Atlantic Salmon",
"baseUnitOfMeasure": "KG",
... ...