Link document to item
glpi_create_document_itemLinks a document to a GLPI item such as a Ticket or KnowbaseItem by attaching the document ID to the target item type and item ID.
Instructions
Create a link between a document and an item (Ticket, KnowbaseItem, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items_id | Yes | Target item ID | |
| itemtype | Yes | Target item type, e.g. Ticket, KnowbaseItem | |
| documents_id | Yes | Document ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| replayed | No | True when an identical recent create was returned instead of repeated |