---
search:
  tags:
    - administration
    - POST
seo:
  description: >-
    Creates a new question for… Reference for the POST
    /administration/project-components/item-details/{itemId}/questions endpoint
    in the Leadtime Public API API.
sidebar:
  badge: POST
  label: Create or update a question for a library component item
title: Create or update a question for a library component item
type: openapi-operation
---
Creates a new question for a component library item or updates an existing question if `id` is provided in the request body.

**What are Questions?**
Questions capture customer-specific requirements or project details in a structured way. They make work packages flexible and reusable by allowing later individualization in projects.

**Question Types:**
- **ShortText**: Single-line text input (name, title, keyword)
- **Editor**: Formatted multi-line text (descriptions, free text)
- **Checkbox**: Yes/No selection (can impact effort calculation)
- **Radio**: Single choice from multiple options (can impact effort)
- **Files**: Upload files (logos, documents, graphics)
- **Datepicker**: Select a date (deadlines, delivery dates)
- **Multiplier**: Dynamic calculation based on quantity (e.g., "How many pages?" × duration per page = total effort)
- **Person**: Select person(s) from project team or clients

**Key Features:**
- Answers can automatically affect effort calculation
- Questions can have conditions (shown only if other questions answered a certain way)
- Multiplier questions calculate: Answer × Duration per element = Total additional effort
- In library components, questions are defined but not answered

For Checkbox/Radio types, at least one option must be provided. Description field accepts HTML or Markdown input and returns HTML format. Only library component items (component.projectId is null) are accessible through this endpoint.

<Operation source="api-reference" id="componentitemquestionscontroller-createorupdatequestion" />
