Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 2.21 KB

File metadata and controls

82 lines (63 loc) · 2.21 KB
title description author ms.topic ms.devlang ms.date ms.author ms.reviewer
Get items
Gets an item object in Dynamics 365 Business Central.
SusanneWindfeldPedersen
reference
al
05/31/2024
solsen
solsen

Get items

[!INCLUDEapi_v2_note]

Retrieve the properties and relationships of an item object for [!INCLUDEprod_short].

HTTP request

Replace the URL prefix for [!INCLUDEprod_short] depending on environment following the guideline.

GET businesscentralPrefix/companies({id})/items({id})

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and an items object in the response body.

Example

Request

Here is an example of the request.

GET https://graph.microsoft.com/v2.0businesscentralPrefix/companies({id})/items({id})

Response

Here is an example of the response.

Note

The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

{
    "id": "fca5738a-44e3-ea11-bb43-000d3a2feca1",
    "number": "1896-S",
    "displayName": "ATHENS Desk",
    "type": "Inventory",
    "itemCategoryId": "e21a6a90-44e3-ea11-bb43-000d3a2feca1",
    "itemCategoryCode": "TABLE",
    "blocked": false,
    "gtin": "",
    "inventory": 4,
    "unitPrice": 1000.8,
    "priceIncludesTax": false,
    "unitCost": 780.7,
    "taxGroupId": "9f196a90-44e3-ea11-bb43-000d3a2feca1",
    "taxGroupCode": "FURNITURE",
    "baseUnitOfMeasureId": "5ca6738a-44e3-ea11-bb43-000d3a2feca1",
    "baseUnitOfMeasureCode": "PCS",
    "lastModifiedDateTime": "2020-08-21T00:24:19.347Z"
}

Related information

Tips for working with the APIs
item
Delete item
Create item
Update item