Redigera

Dela via


itemCategories resource type (v1.0)

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents a category for a number of items in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET itemCategories itemCategories Get an item category.
POST itemCategories itemCategories Create an item category.
PATCH itemCategories itemCategories Update an item category.
DELETE itemCategories none Delete an item category.

Properties

Property Type Description
id GUID The unique ID of the itemCategory. Non-editable.
code string The itemCategory code.
displayName string The itemCategories display name.
lastModifiedDateTime datetime The last datetime the itemCategory was modified. Read-Only.

Relationships

None

JSON representation

Here is a JSON representation of the itemCategories.

{
  "id": "GUID",
  "code": "string",
  "displayName": "string",
  "lastModifiedDateTime": "datetime"
}

Error Codes
Get Item Categories
Create Item Categories
Update Item Categories
Delete Item Categories