Hello,
If you run this command in Postman:
api.businesscentral.dynamics.com/.../items eq '1896-S'
This is for ATHENE Tafel in demo data, you get the following:
{
"@odata.context": "<<REMOVED>>/items",
"value": [
{
"@odata.etag": "W/\"JzIwOzEyNjE3ODgwMjUzNzkzNDc1MjExMTswMDsn\"",
"id": "4d5de349-0fe2-ec11-bb45-000d3a39a433",
"number": "1896-S",
"displayName": "ATHENE Tafel",
"type": "Inventory",
"itemCategoryId": "3304de4f-0fe2-ec11-bb45-000d3a39a433",
"itemCategoryCode": "TAFEL",
"blocked": false,
"gtin": "",
"inventory": 4,
"unitPrice": 1005.8,
"priceIncludesTax": false,
"unitCost": 784.6,
"taxGroupId": "00000000-0000-0000-0000-000000000000",
"taxGroupCode": "",
"baseUnitOfMeasureId": "d05de349-0fe2-ec11-bb45-000d3a39a433",
"baseUnitOfMeasureCode": "STUKS",
"generalProductPostingGroupId": "0d02de4f-0fe2-ec11-bb45-000d3a39a433",
"generalProductPostingGroupCode": "DET.HANDEL",
"inventoryPostingGroupId": "bd5de349-0fe2-ec11-bb45-000d3a39a433",
"inventoryPostingGroupCode": "WEDERVERK",
"lastModifiedDateTime": "2022-06-16T07:08:14.613Z"
}
]
}
There is no attachment field you can use; therefore you must create a custom API.
Thanks.