# Aufgaben

CRM Aufgaben

## PUT /erp/crm-tasks/{id}/subscription/deactivate

> Entfernt eine Subscription auf dem Geschäftsobjekt für den Aufrufer

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/subscription/deactivate":{"put":{"tags":["Aufgaben"],"summary":"Entfernt eine Subscription auf dem Geschäftsobjekt für den Aufrufer","operationId":"deregisterSubscription","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"}}}}}}
```

## PUT /erp/crm-tasks/{id}/subscription/activate

> Setzt eine Subscription auf dem Geschäftsobjekt für den Aufrufer

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/subscription/activate":{"put":{"tags":["Aufgaben"],"summary":"Setzt eine Subscription auf dem Geschäftsobjekt für den Aufrufer","operationId":"registerSubscription","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"}}}}}}
```

## GET /erp/crm-tasks/{id}/reminders/{reminderId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reminders/{reminderId}":{"get":{"tags":["Aufgaben"],"operationId":"getReminder","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"reminderId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}}}}}}},"components":{"schemas":{"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## PUT /erp/crm-tasks/{id}/reminders/{reminderId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reminders/{reminderId}":{"put":{"tags":["Aufgaben"],"operationId":"updateReminder","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"reminderId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}}}}}}},"components":{"schemas":{"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## DELETE /erp/crm-tasks/{id}/reminders/{reminderId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reminders/{reminderId}":{"delete":{"tags":["Aufgaben"],"operationId":"deleteReminder","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"reminderId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}}}}}
```

## PUT /erp/crm-tasks/{id}/finish

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/finish":{"put":{"tags":["Aufgaben"],"operationId":"finish","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]}}}}
```

## GET /erp/crm-tasks/{id}

> Find an existing Resource by identifier

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}":{"get":{"tags":["Aufgaben"],"summary":"Find an existing Resource by identifier","operationId":"getById_102","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}},"404":{"description":"Resource with given ID was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}}}}}
```

## PUT /erp/crm-tasks/{id}

> Update existing Resource&#x20;

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}":{"put":{"tags":["Aufgaben"],"summary":"Update existing Resource ","operationId":"update_94","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTaskCreateOrUpdateRequest"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}},"404":{"description":"Resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}},"422":{"description":"Resource was not valid to process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTaskCreateOrUpdateRequest":{"description":"Request zur Erstellung oder Aktualisierung einer Aufgabe","properties":{"toCreateOrUpdate":{"$ref":"#/components/schemas/erp-crm-CrmTask"},"parameters":{"type":"array","description":"Zusätzliche Parameter (z.B. auch Antworten auf Entscheidungen","items":{"$ref":"#/components/schemas/common-api-AdditionalParameter"}}}},"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]},"common-api-AdditionalParameter":{"description":"Zusätzliche Parameter","properties":{"key":{"type":"string","description":"key for this parameter"},"value":{"type":"object","description":"value for this parameter"}},"required":["key"]},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}}}}}
```

## DELETE /erp/crm-tasks/{id}

> Delete an existing Resource

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}":{"delete":{"tags":["Aufgaben"],"summary":"Delete an existing Resource","operationId":"delete_85","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}},"404":{"description":"Resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}},"409":{"description":"unable to delete Resource, due to constraints, existing references or internal state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"}}}}
```

## PATCH /erp/crm-tasks/{id}

> Patch existing Resource&#x20;

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}":{"patch":{"tags":["Aufgaben"],"summary":"Patch existing Resource ","operationId":"partialUpdate","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}},"404":{"description":"Resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}},"422":{"description":"Resource was not valid to process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}}}}}
```

## GET /erp/crm-tasks/parent/{childId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/parent/{childId}":{"get":{"tags":["Aufgaben"],"operationId":"getParent","parameters":[{"name":"childId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}}}}}}}},"components":{"schemas":{"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}}}}}
```

## PUT /erp/crm-tasks/parent/{childId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/parent/{childId}":{"put":{"tags":["Aufgaben"],"operationId":"updateParent","parameters":[{"name":"childId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmUpdateParentRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"erp-crm-CrmUpdateParentRequest":{"description":"Request zur aktualisierung vom CRM-Parent","properties":{"parentId":{"type":"integer","format":"int64","description":"ID vom neuen Parent"},"parentType":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]}},"required":["parentId","parentType"]},"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}}}}}
```

## DELETE /erp/crm-tasks/parent/{childId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/parent/{childId}":{"delete":{"tags":["Aufgaben"],"operationId":"removeParent","parameters":[{"name":"childId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}}}}}
```

## GET /erp/crm-tasks/children/{parentId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/children/{parentId}":{"get":{"tags":["Aufgaben"],"operationId":"getChildren","parameters":[{"name":"parentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}}}}}}}}},"components":{"schemas":{"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}}}}}
```

## PUT /erp/crm-tasks/children/{parentId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/children/{parentId}":{"put":{"tags":["Aufgaben"],"operationId":"updateChildren","parameters":[{"name":"parentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmUpdateChildrenRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}}}}}}}}},"components":{"schemas":{"erp-crm-CrmUpdateChildrenRequest":{"description":"Request zur aktualisierung vom CRM-Parent","properties":{"children":{"type":"array","description":"Die abhängigen Objekte","items":{"$ref":"#/components/schemas/erp-crm-CrmUpdateChildrenRequest.Child"}}},"required":["children"]},"erp-crm-CrmUpdateChildrenRequest.Child":{"description":"Ein abhängiges Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]}},"required":["id","type"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}}}}}
```

## DELETE /erp/crm-tasks/children/{parentId}

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/children/{parentId}":{"delete":{"tags":["Aufgaben"],"operationId":"removeChildren","parameters":[{"name":"parentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}}}}}
```

## POST /erp/crm-tasks/{id}/reminders/

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reminders/":{"post":{"tags":["Aufgaben"],"operationId":"createReminder","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}}}}}}},"components":{"schemas":{"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## POST /erp/crm-tasks/{id}/reactivate

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reactivate":{"post":{"tags":["Aufgaben"],"operationId":"reactivate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]}}}}
```

## POST /erp/crm-tasks/{id}/perform-billing

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/perform-billing":{"post":{"tags":["Aufgaben"],"operationId":"performBilling_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"direct-order-to-invoice","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTask"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]}}}}
```

## POST /erp/crm-tasks/perform-billing

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/perform-billing":{"post":{"tags":["Aufgaben"],"operationId":"performBilling_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CrmTaskPerformBillingRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"erp-crm-CrmTaskPerformBillingRequest":{"description":"Request zur Durchführung der Abrechnung von Aufgaben","properties":{"variables":{"$ref":"#/components/schemas/common-cunit-QueryPresetVariableSubstitutionList"},"queryPredicate":{"$ref":"#/components/schemas/common-cunit-QueryPresetPredicate"},"crmTaskIdsToIgnore":{"type":"array","description":"IDs von Aufgaben, die nicht abgerechnet werden sollen","items":{"type":"integer","format":"int64","description":"IDs von Aufgaben, die nicht abgerechnet werden sollen"}},"crmTaskIdsToBill":{"type":"array","description":"IDs von Aufgaben, die abgerechnet werden sollen","items":{"type":"integer","format":"int64","description":"IDs von Aufgaben, die abgerechnet werden sollen"}},"createCollectiveInvoicePerAccount":{"type":"boolean","default":false,"description":"Sammelrechnung pro Account erstellen"}}},"common-cunit-QueryPresetVariableSubstitutionList":{"description":"Werte von Variablen","properties":{"variableSubstitutions":{"type":"array","description":"Die Variablenbelegungen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetVariableSubstitution"}}}},"common-cunit-QueryPresetVariableSubstitution":{"description":"Die Variablenbelegungen","properties":{"variable":{"$ref":"#/components/schemas/common-cunit-QueryPresetVariable"},"values":{"type":"array","description":"Die einzusetzenden Werte","items":{"type":"string","description":"Die einzusetzenden Werte"}}}},"common-cunit-QueryPresetVariable":{"description":"Die zu ersetzende Variable","properties":{"path":{"type":"string","description":"Der pfad, der dieses Attribut eindeutig beschreibt"},"definition":{"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuAttribute"},{"$ref":"#/components/schemas/core-cunit-CuMeta"}],"readOnly":true},"mandatory":{"type":"boolean","description":"Ob die Variable ein Pflichtfeld ist oder nicht"},"variableName":{"type":"string","description":"Name der Variablen"},"visible":{"type":"boolean","default":true,"description":"Handelt es sich um eine sichtbare Variable?"},"alignX":{"type":"integer","format":"int32","description":"Anordnung im UI - X-Koordinate"},"alignY":{"type":"integer","format":"int32","description":"Anordnung im UI - Y-Koordinate"},"alignWidth":{"type":"integer","format":"int32","description":"Anordnung im UI - Breite"},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"allowDialogMultipleChoice":{"type":"boolean","default":false,"description":"Kann eine Mehrfachauswahl erfolgen?"}}},"core-cunit-CuAttribute":{"allOf":[{"$ref":"#/components/schemas/core-cunit-MetaContent"},{"type":"object","properties":{"attribute":{"type":"string","description":"name des attributes der das ergebnis enthält"},"path":{"type":"string","description":"der pfad, der dieses attribut eindeutig beschreibt"},"displayName":{"type":"string","description":"der Name dieses Feldes"},"displayNameOverride":{"type":"boolean","default":false,"description":"der Name dieses Feldes wurde überschrieben (alias oder funktion)"},"groupDisplayName":{"type":"string","description":"der Name der Gruppe, dieses Feldes"},"parentDisplayName":{"type":"string","description":"der Name des Referenzierenden Feldes"},"resultable":{"type":"boolean","default":true,"description":"kann dieses Feld ein Ergebnisfeld sein"},"filterable":{"type":"boolean","default":true,"description":"kann nach diesem feld gefiltert werden"},"sortable":{"type":"boolean","default":true,"description":"ist dieses Feld sortierbar"},"visible":{"type":"boolean","default":true,"description":"soll dieses Feld angezeigt werden"},"functions":{"type":"array","description":"angewendete funktionen (wenn das als Result MetaData verwendet wird)","items":{"type":"string","description":"angewendete funktionen (wenn das als Result MetaData verwendet wird)"}},"sortDirection":{"type":"string","description":"Info, wie diese spalte sortiert worden ist"},"constraint":{"$ref":"#/components/schemas/core-cunit-CuAttributeConstraint"},"dataType":{"$ref":"#/components/schemas/core-cunit-CuAttributeDataType"},"dataTypeIdentifier":{"type":"string","description":"data-type-identifier für dieses Attribut (falls dataType leer ist)","readOnly":true},"modelType":{"type":"string","description":"Attribut gehört zum Modelltyp 'statisch' oder 'dynamisch'","enum":["STATIC","DYNAMIC"],"readOnly":true},"headers":{"type":"array","description":"bei einem gruppierten Header (e.g. CrossTable) werden hier die einzelnen gruppen beschrieben","items":{"$ref":"#/components/schemas/core-cunit-CuAttribute.HeaderGroup"},"readOnly":true}}}]},"core-cunit-MetaContent":{"description":"Definition dieser Variable","discriminator":{"propertyName":"_type"},"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuMeta"},{"$ref":"#/components/schemas/core-cunit-CuAttribute"}],"properties":{"_type":{"type":"string"}},"required":["_type"]},"core-cunit-CuMeta":{"allOf":[{"$ref":"#/components/schemas/core-cunit-MetaContent"},{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/core-cunit-CuAttribute"},"value":{"type":"array","description":"spaltenbeschreibung dieser zelle (bei verschachtelung)","items":{"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuAttribute"},{"$ref":"#/components/schemas/core-cunit-CuMeta"}]}}}},{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/core-cunit-CuAttribute"}}}]},"core-cunit-CuAttributeConstraint":{"description":"constraints für dieses Attribut","properties":{"minLength":{"type":"integer","format":"int32","description":"Minimal-Länge (von Zeichenketten oder Arrays)","readOnly":true},"maxLength":{"type":"integer","format":"int32","description":"Maximal-Länge (von Zeichenketten oder Arrays)","readOnly":true},"minValue":{"type":"integer","format":"int64","description":"minimaler Wert","readOnly":true},"includeMinValue":{"type":"boolean","description":"ist der minimale Wert inklusive?","readOnly":true},"maxValue":{"type":"integer","format":"int64","description":"maximaler Wert","readOnly":true},"includeMaxValue":{"type":"boolean","description":"ist der maximale Wert inklusive?","readOnly":true},"notNull":{"type":"boolean","default":false,"description":"ist der Wert 'null' verboten?","readOnly":true},"notBlank":{"type":"boolean","description":"Bei Strings: ist ein String nur aus Whitespace verboten?","readOnly":true}}},"core-cunit-CuAttributeDataType":{"description":"data-type für dieses Attribut (falls dataTypeIdentifier leer ist)","properties":{"identifier":{"type":"string","description":"Datentyp-identifier","readOnly":true},"jsType":{"type":"string","description":"welcher Typ ist es","readOnly":true},"objectRefIdentifier":{"type":"string","description":"bei Object_Ref: welcher Typ ist es genau","readOnly":true},"filterOptions":{"$ref":"#/components/schemas/core-cunit-CuAttributeFilterOptions"},"functions":{"type":"array","description":"welche Funktionen sind erlaubt?","items":{"type":"string","description":"welche Funktionen sind erlaubt?"},"readOnly":true},"predicateOperations":{"type":"array","description":"welche Operations sind erlaubt?","items":{"type":"string","description":"welche Operations sind erlaubt?","enum":["AND","OR","EQUALS","NOT_EQUALS","LIKE","NOT_LIKE","STARTS_WITH","ENDS_WITH","CONTAINS","NOT_CONTAINS","GREATER_THAN","GREATER_THAN_EQUALS","LESS_THAN","LESS_THAN_EQUALS","IN","NOT_IN","RANGE","NOT_RANGE","IS_NULL","IS_NOT_NULL","IS_NULL_OR_EQUALS","EXISTS","NOT_EXISTS"]},"readOnly":true}}},"core-cunit-CuAttributeFilterOptions":{"description":"CUnit Attribut Filter Optionen","properties":{"filterValues":{"type":"array","description":"Mögliche Filterwerte","items":{"type":"string","description":"Mögliche Filterwerte"}},"filterDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"multipleChoice":{"type":"boolean","default":false,"description":"Kann eine Mehrfachauswahl erfolgen?"}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"core-cunit-CuAttribute.HeaderGroup":{"description":"bei einem gruppierten Header (e.g. CrossTable) werden hier die einzelnen gruppen beschrieben","properties":{"displayName":{"type":"string","description":"der Name dieses Feldes"},"displayNameOverride":{"type":"boolean","default":false,"description":"der Name dieses Feldes wurde überschrieben (alias oder funktion)"},"dataType":{"$ref":"#/components/schemas/core-cunit-CuAttributeDataType"},"dataTypeIdentifier":{"type":"string","description":"data-type-identifier für dieses Attribut (falls dataType leer ist)","readOnly":true},"groupDisplayName":{"type":"string","description":"der Name der Gruppe, dieses Feldes"},"data":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}}},"common-cunit-QueryPresetPredicate":{"description":"Bedingungen zur Selektion von Lagerplätzen","properties":{"type":{"type":"string","description":"die Operation für diesen Filter","enum":["JUNCTION","FILTER"]},"operator":{"type":"string","description":"operator","enum":["AND","OR","EQUALS","NOT_EQUALS","LIKE","NOT_LIKE","STARTS_WITH","ENDS_WITH","CONTAINS","NOT_CONTAINS","GREATER_THAN","GREATER_THAN_EQUALS","LESS_THAN","LESS_THAN_EQUALS","IN","NOT_IN","RANGE","NOT_RANGE","IS_NULL","IS_NOT_NULL","IS_NULL_OR_EQUALS","EXISTS","NOT_EXISTS"]},"children":{"type":"array","description":"(bei junction) child-definitionen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetPredicate"}},"property":{"type":"string","description":"filter property"},"values":{"type":"array","description":"filter werte","items":{"type":"string","description":"filter werte"}},"visible":{"type":"boolean","default":true,"description":"Sichtbarkeit bei Variablen"},"functions":{"type":"array","description":"Eine SQL-Funktion, die im Predicate angewendet wird","items":{"type":"string","description":"Eine SQL-Funktion, die im Predicate angewendet wird"}}},"required":["operator","type"]},"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}}}}}
```

## POST /erp/crm-tasks

> Neue Aufgabe(n) erzeugen

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks":{"post":{"tags":["Aufgaben"],"summary":"Neue Aufgabe(n) erzeugen","operationId":"createTasksByTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CreateCrmTaskRequest"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-crm-CreateCrmTaskResponse"}}}},"422":{"description":"Resource was not valid to process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-crm-CreateCrmTaskRequest":{"properties":{"crmTask":{"$ref":"#/components/schemas/erp-crm-CrmTask"},"createTemplateIdsWithTasks":{"type":"array","description":"IDs von Vorlagen mit ggf. (teilweise) gefüllten Aufgaben","items":{"$ref":"#/components/schemas/erp-crm-CreateCrmTaskRequest.CreateTemplateIdWithTask"}},"parameters":{"type":"array","description":"Zusätzliche Parameter (z.B. auch Antworten auf Entscheidungen","items":{"$ref":"#/components/schemas/common-api-AdditionalParameter"}}}},"erp-crm-CrmTask":{"description":"CRM Aufgaben","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"typeRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"stateRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"priorityRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"number":{"type":"string","description":"Aufgaben-Nummer","readOnly":true},"description":{"type":"string","description":"Notiz/Beschreibung"},"notes":{"type":"string","description":"Notizen"},"accountRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"parentRef":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"},"childRefs":{"type":"array","description":"Untergeordnete CRM-Objekt","items":{"$ref":"#/components/schemas/erp-crm-CrmObjectRef"}},"tags":{"type":"array","description":"Tags","items":{"$ref":"#/components/schemas/common-tag-TagDto"}},"salesDocumentRefs":{"type":"array","description":"Verkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"observerRefs":{"type":"array","description":"Beobachter","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"processedByWorkflow":{"type":"boolean","description":"In Workflow-Verarbeitung?","readOnly":true},"assignedUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"assignedByUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleGroupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"mainResponsibleParticipantRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"label":{"type":"string","description":"Aufgabentitel"},"references":{"type":"array","description":"Referenzen","items":{"$ref":"#/components/schemas/erp-crm-CrmReference"}},"purchaseDocumentRefs":{"type":"array","description":"Einkaufsbelege","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customerOfferRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"customerOrderRef":{"$ref":"#/components/schemas/erp-document-DocumentRef"},"billingDocumentRefs":{"type":"array","description":"Abrechnungen","items":{"$ref":"#/components/schemas/erp-document-DocumentRef"}},"customField":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"checklist":{"type":"array","description":"Checkliste: Memo + Checked","items":{"$ref":"#/components/schemas/erp-crm-CrmChecklistItem"}},"dueDateTime":{"type":"string","format":"date-time","description":"Zu erledigen "},"toBeDoneStartingFrom":{"type":"string","format":"date-time","description":"Zu erledigen ab"},"reminders":{"type":"array","description":"Liste von Erinnerungen","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}},"effortEstimation":{"type":"integer","format":"int32","description":"Aufwandsschätzung in Sekunden"},"effortCommissioned":{"type":"integer","format":"int32","description":"Beauftragte Zeit in Sekunden"},"internalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (intern)","readOnly":true},"externalRecordedTimes":{"type":"integer","format":"int32","description":"Erfasste Zeiten in Sekunden (extern)","readOnly":true},"internalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (intern)","readOnly":true},"externalBilledTimes":{"type":"integer","format":"int32","description":"Abgerechnete Zeiten in Sekunden (extern)","readOnly":true},"progress":{"type":"integer","format":"int32","description":"Fortschritt in Prozent","maximum":100,"minimum":0},"publish":{"type":"boolean","description":"Soll die Aufgabe veröffentlicht werden?"},"billingRule":{"type":"string","default":"ONLY_COMPLETE","description":"Abrechnungsregel","enum":["ONLY_COMPLETE","ONLY_BILL_WITH_PARENT_TASK","ALLOW_ACTIVITIES_INDIVIDUALLY"]},"billingType":{"type":"string","description":"Abrechnungsart von CRM-Aufgaben","enum":["UNCLEAR","CUSTOMER","INTERNAL"]},"relatedToTaskRefs":{"type":"array","description":"Steht mit diesen Aufgaben im Zusammenhang","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatesTaskRefs":{"type":"array","description":"Duplizierte Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"duplicatedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben dupliziert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blocksTaskRefs":{"type":"array","description":"Blockiert diese Aufgaben","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"blockedByTaskRefs":{"type":"array","description":"Wird von diesen Aufgaben blockiert","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"responsibleCustomerPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"kanbanSortOrder":{"type":"integer","format":"int32","description":"Kanban-Sortierreihenfolge"},"additionalParticipantsOfCustomer":{"type":"array","description":"Weitere Teilnehmer vom Auftraggeber","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}},"additionalParticipantsOfContractor":{"type":"array","description":"Weitere Teilnehmer vom Auftragnehmer","items":{"$ref":"#/components/schemas/erp-crm-CrmTaskParticipant"}}},"required":["billingRule","billingType","label","priorityRef","typeRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"erp-crm-CrmObjectRef":{"description":"Referenz auf ein CRM-Objekt","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"type":{"type":"string","description":"Möglich CRM-Typen","enum":["TASK","DEAL","PROJECT"]},"number":{"type":"string","description":"Nummer"},"label":{"type":"string","description":"Bezeichung"},"description":{"type":"string","description":"Beschreibung"},"state":{"$ref":"#/components/schemas/erp-crm-CrmState"},"subType":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"required":["id","type"]},"erp-crm-CrmState":{"description":"Status eines CRM-Objekts","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"crmSubTypes":{"type":"array","description":"Typ zu dem dieser Status gehört","items":{"$ref":"#/components/schemas/erp-crm-CrmSubType"}},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"startState":{"type":"boolean","default":false,"description":"Handelt es sich um einen Anfang-Status"},"finishState":{"type":"boolean","default":false,"description":"Handelt es sich um einen End-Status"},"readyToBill":{"type":"boolean","default":false,"description":"Handelt es sich um einen \"Bereit zur Abrechnung\"-Status"},"needsCommentOnPositiveFinish":{"type":"boolean","default":false,"description":"Kommentar bei positivem Abschluß erforderlich"},"needsCommentOnNegativeFinish":{"type":"boolean","default":false,"description":"Kommentar bei negativem Abschluß erforderlich"},"active":{"type":"boolean","description":"active","readOnly":true},"portalEnumRef":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["crmSubTypes","label","sortOrder"]},"erp-crm-CrmSubType":{"description":"Spezialisierter Typ einer CRM-Objekt-Implementierung","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"label":{"type":"string","description":"Bezeichnung"},"description":{"type":"string","description":"Beschreibung"},"sortOrder":{"type":"integer","format":"int32","description":"Sortierreihenfolge"},"active":{"type":"boolean","description":"aktiv","readOnly":true}},"required":["label","sortOrder"]},"core-api-ApiCreatableReference":{"description":"Relation type","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label"},"description":{"type":"string","description":"a short description","readOnly":true}}},"common-tag-TagDto":{"description":"List of tags","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"type":{"type":"string","description":"Tag-Typen","enum":["COMMON","ACCOUNT","PRODUCT","DOCUMENT","OPEN_ITEM","CRM_COMMON","CRM_TASK","CRM_DEAL","CRM_PROJECT","DMS_SHELF_DOCUMENT"]},"label":{"type":"string","description":"Beschriftung des Tags"},"color":{"type":"string","description":"Farbe für die Anzeige des Tags"},"editColor":{"type":"string","description":"Farbe in Verwaltungs-GUI"},"searchColor":{"type":"string","description":"Farbe in Such-GUI"},"tagGroup":{"$ref":"#/components/schemas/core-api-ApiCreatableReference"}},"required":["label","type"]},"erp-document-DocumentRef":{"description":"Referenz auf ein Document","properties":{"id":{"type":"integer","format":"int64","description":"ID"},"category":{"type":"string","description":"Dokumenttypen","enum":["CUSTOMER_OFFER","CUSTOMER_ORDER","CUSTOMER_DELIVERY_DOCUMENT","CUSTOMER_INVOICE","CUSTOMER_PROFORMA_INVOICE","CUSTOMER_DELIVERY_INVOICE","CUSTOMER_PROGRESS_INVOICE","CUSTOMER_FINAL_INVOICE","CUSTOMER_PARTIAL_INVOICE","CUSTOMER_INVOICE_CANCELLATION","CUSTOMER_DELIVERY_INVOICE_CANCELLATION","CUSTOMER_PROGRESS_INVOICE_CANCELLATION","CUSTOMER_FINAL_INVOICE_CANCELLATION","CUSTOMER_PARTIAL_INVOICE_CANCELLATION","CUSTOMER_DEPOSIT_INVOICE","CUSTOMER_DEPOSIT_INVOICE_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK","CUSTOMER_CREDIT_NOTE_WITHOUT_STOCK_CANCELLATION","CUSTOMER_CREDIT_NOTE_WITH_STOCK_CANCELLATION","SUPPLIER_PRICE_REQUEST","SUPPLIER_ORDER","SUPPLIER_DELIVERY_DOCUMENT","SUPPLIER_INVOICE","SUPPLIER_DELIVERY_INVOICE","SUPPLIER_CREDIT_NOTE_WITH_STOCK","SUPPLIER_CREDIT_NOTE_WITHOUT_STOCK","SUPPLIER_DEPOSIT_INVOICE","SUPPLIER_PROGRESS_INVOICE","SUPPLIER_PARTIAL_INVOICE","SUPPLIER_FINAL_INVOICE","COMMISSION_SETTLEMENT","COMMISSION_SETTLEMENT_CANCELLATION","SUPPLIER_COMMISSION_CREDIT_NOTE","SUPPLIER_COMMISSION_CREDIT_NOTE_CANCELLATION","CUSTOMER_SUBSCRIPTION_CONTRACT","POS_CASH_JOURNAL_OPENING","POS_CASH_RECEIPT","POS_RETURN_CASH_RECEIPT","POS_CASH_JOURNAL_DEPOSIT","POS_CASH_JOURNAL_EXPENSE","POS_CASH_JOURNAL_CLOSING","FABRICATION_ORDER"]},"documentType":{"type":"string","description":"Belegart"},"documentState":{"type":"string","description":"Belegstatus"},"number":{"type":"string","description":"Belegnummer"}},"required":["id"]},"erp-crm-CrmReference":{"description":"Referenzen zu CRM-Objekten","properties":{"referenceType":{"type":"string","description":"Mögliche Typen von Referenzen zu CRM-Objekten","enum":["ARTICLE","DOCUMENT_LINE","OPEN_ITEM"]},"reference":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["reference","referenceType"]},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"erp-crm-CrmChecklistItem":{"description":"Element einer Checkliste im CRM","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"memo":{"type":"string","description":"Text des Checklisten-Elements"},"checked":{"type":"boolean","default":false,"description":"Ist das Element \"angehakt\"?"}}},"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"erp-crm-CrmTaskParticipant":{"description":"Teilnehmer/Ansprechpartner in einer Aufgabe","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"accountPersonRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"description":{"type":"string","description":"Beschreibung","maxLength":255,"minLength":0},"vote":{"type":"boolean","description":"Abstimmung"},"voteComment":{"type":"string","description":"Kommentar zur Abstimmung"},"observer":{"type":"boolean","default":false,"description":"Beobachter"}},"required":["accountPersonRef"]},"erp-crm-CreateCrmTaskRequest.CreateTemplateIdWithTask":{"description":"ID einer Vorlage mit einer (teilweise) gefüllten Aufgabe","properties":{"createTemplateId":{"type":"integer","format":"int64","description":"ID einer Vorlage"},"task":{"$ref":"#/components/schemas/erp-crm-CrmTask"}},"required":["createTemplateId"]},"common-api-AdditionalParameter":{"description":"Zusätzliche Parameter","properties":{"key":{"type":"string","description":"key for this parameter"},"value":{"type":"object","description":"value for this parameter"}},"required":["key"]},"erp-crm-CreateCrmTaskResponse":{"description":"Antwort auf die Anfrage, Aufgaben zu erstellen","properties":{"createdCrmTasks":{"type":"array","description":"Die erstellten CRM-Tasks","items":{"$ref":"#/components/schemas/erp-crm-CrmTask"}},"warningsByTemplateRef":{"type":"object","additionalProperties":{"type":"array","description":"Ggf. vorhandene Probleme","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"uniqueItems":true},"description":"Ggf. vorhandene Probleme"}}},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}}}}}
```

## GET /erp/crm-tasks/{refId}/workflow-state

> Liefert den Status der aktuellen Workflow-Instanz zu der gegebenen Referenz

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{refId}/workflow-state":{"get":{"tags":["Aufgaben"],"summary":"Liefert den Status der aktuellen Workflow-Instanz zu der gegebenen Referenz","operationId":"getWorkflowState_4","parameters":[{"name":"refId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Workflow-Instanz gefunden","content":{"application/json":{"schema":{"type":"string","description":"Status einer Workflow-Instanz","enum":["CREATED","IN_PROCESS","COMPLETED_SUCCESSFULLY","COMPLETED_WITH_FAILURE","ERRONEOUS","ABORTED_CRASHED","ABORTED_MANUALLY","CRASHED","WAITING","INTERRUPTED"]}}}},"404":{"description":"Es existiert noch keine Workflow-Instanz","content":{"application/json":{"schema":{"type":"string","description":"Status einer Workflow-Instanz","enum":["CREATED","IN_PROCESS","COMPLETED_SUCCESSFULLY","COMPLETED_WITH_FAILURE","ERRONEOUS","ABORTED_CRASHED","ABORTED_MANUALLY","CRASHED","WAITING","INTERRUPTED"]}}}}}}}}}
```

## GET /erp/crm-tasks/{refId}/workflow-instances-preset

> Liefert ein Query-Preset zur Selektion aller Workflow-Instanzen zu der gegebenen Referenz

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{refId}/workflow-instances-preset":{"get":{"tags":["Aufgaben"],"summary":"Liefert ein Query-Preset zur Selektion aller Workflow-Instanzen zu der gegebenen Referenz","operationId":"getWorkflowInstancesPreset_4","parameters":[{"name":"refId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Workflow-Instanz gefunden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/common-cunit-QueryPreset"}}}}}}}},"components":{"schemas":{"common-cunit-QueryPreset":{"description":"Adhoc Preset","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"mode":{"type":"string","default":"QUERY","description":"Was kann mit diesem Preset abgebildet werden QUERY oder STATEMENT","enum":["QUERY","STATEMENT"]},"templateId":{"type":"string","description":"template dem dieser filter zugeordnet worden ist."},"templateGroupKey":{"type":"string","description":"templateGroupKey dem dieser filter zugeordnet worden ist."},"label":{"type":"string","description":"label für diesen filter"},"uiPayload":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"variables":{"type":"array","description":"Variablen für dieses Preset","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetVariable"}},"queryStatement":{"type":"string","description":"bei mode == STATEMENT, das vql-query"},"queryPredicate":{"$ref":"#/components/schemas/common-cunit-QueryPresetPredicate"},"results":{"type":"array","description":"ergebnisse","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetResult"}},"sortAndOrders":{"type":"array","description":"sortierung","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetSortOrder"}},"pageable":{"$ref":"#/components/schemas/common-cunit-QueryPresetPageable"},"option":{"$ref":"#/components/schemas/common-cunit-QueryPresetOption"},"transformations":{"type":"array","description":"zusätzliche konfigurationen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetTransformation"}},"arithmeticQueryTerms":{"type":"array","description":"Arithmetische Terme - hier kommt die tatsächliche Berechnung rein","items":{"$ref":"#/components/schemas/common-cunit-ArithmeticQueryTerm"}},"definition":{"type":"array","description":"spaltenbeschreibung dieser zelle (bei verschachtelung)","items":{"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuAttribute"},{"$ref":"#/components/schemas/core-cunit-CuMeta"}]},"readOnly":true},"permissionAggregation":{"$ref":"#/components/schemas/common-user-ObjectSpecificPermissionAggregation"},"forWorkflow":{"type":"boolean","default":false,"description":"für Workflows vorgesehen"},"userOptions":{"$ref":"#/components/schemas/common-cunit-QueryPresetUserOptions"}},"required":["forWorkflow","label","mode","permissionAggregation","templateGroupKey","templateId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"},"common-cunit-QueryPresetVariable":{"description":"Die zu ersetzende Variable","properties":{"path":{"type":"string","description":"Der pfad, der dieses Attribut eindeutig beschreibt"},"definition":{"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuAttribute"},{"$ref":"#/components/schemas/core-cunit-CuMeta"}],"readOnly":true},"mandatory":{"type":"boolean","description":"Ob die Variable ein Pflichtfeld ist oder nicht"},"variableName":{"type":"string","description":"Name der Variablen"},"visible":{"type":"boolean","default":true,"description":"Handelt es sich um eine sichtbare Variable?"},"alignX":{"type":"integer","format":"int32","description":"Anordnung im UI - X-Koordinate"},"alignY":{"type":"integer","format":"int32","description":"Anordnung im UI - Y-Koordinate"},"alignWidth":{"type":"integer","format":"int32","description":"Anordnung im UI - Breite"},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"allowDialogMultipleChoice":{"type":"boolean","default":false,"description":"Kann eine Mehrfachauswahl erfolgen?"}}},"core-cunit-CuAttribute":{"allOf":[{"$ref":"#/components/schemas/core-cunit-MetaContent"},{"type":"object","properties":{"attribute":{"type":"string","description":"name des attributes der das ergebnis enthält"},"path":{"type":"string","description":"der pfad, der dieses attribut eindeutig beschreibt"},"displayName":{"type":"string","description":"der Name dieses Feldes"},"displayNameOverride":{"type":"boolean","default":false,"description":"der Name dieses Feldes wurde überschrieben (alias oder funktion)"},"groupDisplayName":{"type":"string","description":"der Name der Gruppe, dieses Feldes"},"parentDisplayName":{"type":"string","description":"der Name des Referenzierenden Feldes"},"resultable":{"type":"boolean","default":true,"description":"kann dieses Feld ein Ergebnisfeld sein"},"filterable":{"type":"boolean","default":true,"description":"kann nach diesem feld gefiltert werden"},"sortable":{"type":"boolean","default":true,"description":"ist dieses Feld sortierbar"},"visible":{"type":"boolean","default":true,"description":"soll dieses Feld angezeigt werden"},"functions":{"type":"array","description":"angewendete funktionen (wenn das als Result MetaData verwendet wird)","items":{"type":"string","description":"angewendete funktionen (wenn das als Result MetaData verwendet wird)"}},"sortDirection":{"type":"string","description":"Info, wie diese spalte sortiert worden ist"},"constraint":{"$ref":"#/components/schemas/core-cunit-CuAttributeConstraint"},"dataType":{"$ref":"#/components/schemas/core-cunit-CuAttributeDataType"},"dataTypeIdentifier":{"type":"string","description":"data-type-identifier für dieses Attribut (falls dataType leer ist)","readOnly":true},"modelType":{"type":"string","description":"Attribut gehört zum Modelltyp 'statisch' oder 'dynamisch'","enum":["STATIC","DYNAMIC"],"readOnly":true},"headers":{"type":"array","description":"bei einem gruppierten Header (e.g. CrossTable) werden hier die einzelnen gruppen beschrieben","items":{"$ref":"#/components/schemas/core-cunit-CuAttribute.HeaderGroup"},"readOnly":true}}}]},"core-cunit-MetaContent":{"description":"Definition dieser Variable","discriminator":{"propertyName":"_type"},"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuMeta"},{"$ref":"#/components/schemas/core-cunit-CuAttribute"}],"properties":{"_type":{"type":"string"}},"required":["_type"]},"core-cunit-CuMeta":{"allOf":[{"$ref":"#/components/schemas/core-cunit-MetaContent"},{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/core-cunit-CuAttribute"},"value":{"type":"array","description":"spaltenbeschreibung dieser zelle (bei verschachtelung)","items":{"oneOf":[{"$ref":"#/components/schemas/core-cunit-CuAttribute"},{"$ref":"#/components/schemas/core-cunit-CuMeta"}]}}}},{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/core-cunit-CuAttribute"}}}]},"core-cunit-CuAttributeConstraint":{"description":"constraints für dieses Attribut","properties":{"minLength":{"type":"integer","format":"int32","description":"Minimal-Länge (von Zeichenketten oder Arrays)","readOnly":true},"maxLength":{"type":"integer","format":"int32","description":"Maximal-Länge (von Zeichenketten oder Arrays)","readOnly":true},"minValue":{"type":"integer","format":"int64","description":"minimaler Wert","readOnly":true},"includeMinValue":{"type":"boolean","description":"ist der minimale Wert inklusive?","readOnly":true},"maxValue":{"type":"integer","format":"int64","description":"maximaler Wert","readOnly":true},"includeMaxValue":{"type":"boolean","description":"ist der maximale Wert inklusive?","readOnly":true},"notNull":{"type":"boolean","default":false,"description":"ist der Wert 'null' verboten?","readOnly":true},"notBlank":{"type":"boolean","description":"Bei Strings: ist ein String nur aus Whitespace verboten?","readOnly":true}}},"core-cunit-CuAttributeDataType":{"description":"data-type für dieses Attribut (falls dataTypeIdentifier leer ist)","properties":{"identifier":{"type":"string","description":"Datentyp-identifier","readOnly":true},"jsType":{"type":"string","description":"welcher Typ ist es","readOnly":true},"objectRefIdentifier":{"type":"string","description":"bei Object_Ref: welcher Typ ist es genau","readOnly":true},"filterOptions":{"$ref":"#/components/schemas/core-cunit-CuAttributeFilterOptions"},"functions":{"type":"array","description":"welche Funktionen sind erlaubt?","items":{"type":"string","description":"welche Funktionen sind erlaubt?"},"readOnly":true},"predicateOperations":{"type":"array","description":"welche Operations sind erlaubt?","items":{"type":"string","description":"welche Operations sind erlaubt?","enum":["AND","OR","EQUALS","NOT_EQUALS","LIKE","NOT_LIKE","STARTS_WITH","ENDS_WITH","CONTAINS","NOT_CONTAINS","GREATER_THAN","GREATER_THAN_EQUALS","LESS_THAN","LESS_THAN_EQUALS","IN","NOT_IN","RANGE","NOT_RANGE","IS_NULL","IS_NOT_NULL","IS_NULL_OR_EQUALS","EXISTS","NOT_EXISTS"]},"readOnly":true}}},"core-cunit-CuAttributeFilterOptions":{"description":"CUnit Attribut Filter Optionen","properties":{"filterValues":{"type":"array","description":"Mögliche Filterwerte","items":{"type":"string","description":"Mögliche Filterwerte"}},"filterDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"multipleChoice":{"type":"boolean","default":false,"description":"Kann eine Mehrfachauswahl erfolgen?"}}},"core-cunit-CuAttribute.HeaderGroup":{"description":"bei einem gruppierten Header (e.g. CrossTable) werden hier die einzelnen gruppen beschrieben","properties":{"displayName":{"type":"string","description":"der Name dieses Feldes"},"displayNameOverride":{"type":"boolean","default":false,"description":"der Name dieses Feldes wurde überschrieben (alias oder funktion)"},"dataType":{"$ref":"#/components/schemas/core-cunit-CuAttributeDataType"},"dataTypeIdentifier":{"type":"string","description":"data-type-identifier für dieses Attribut (falls dataType leer ist)","readOnly":true},"groupDisplayName":{"type":"string","description":"der Name der Gruppe, dieses Feldes"},"data":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}}},"common-cunit-QueryPresetPredicate":{"description":"Bedingungen zur Selektion von Lagerplätzen","properties":{"type":{"type":"string","description":"die Operation für diesen Filter","enum":["JUNCTION","FILTER"]},"operator":{"type":"string","description":"operator","enum":["AND","OR","EQUALS","NOT_EQUALS","LIKE","NOT_LIKE","STARTS_WITH","ENDS_WITH","CONTAINS","NOT_CONTAINS","GREATER_THAN","GREATER_THAN_EQUALS","LESS_THAN","LESS_THAN_EQUALS","IN","NOT_IN","RANGE","NOT_RANGE","IS_NULL","IS_NOT_NULL","IS_NULL_OR_EQUALS","EXISTS","NOT_EXISTS"]},"children":{"type":"array","description":"(bei junction) child-definitionen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetPredicate"}},"property":{"type":"string","description":"filter property"},"values":{"type":"array","description":"filter werte","items":{"type":"string","description":"filter werte"}},"visible":{"type":"boolean","default":true,"description":"Sichtbarkeit bei Variablen"},"functions":{"type":"array","description":"Eine SQL-Funktion, die im Predicate angewendet wird","items":{"type":"string","description":"Eine SQL-Funktion, die im Predicate angewendet wird"}}},"required":["operator","type"]},"common-cunit-QueryPresetResult":{"description":"Ergebnisse","properties":{"property":{"type":"string","description":"property"},"displayName":{"type":"string","description":"title dieser spalte"},"functions":{"type":"array","description":"funktionen","items":{"type":"string","description":"funktionen"}},"visible":{"type":"boolean","default":true,"description":"sichtbare Ergebnisspalte"}},"required":["property"]},"common-cunit-QueryPresetSortOrder":{"description":"sort and order anweisungen","properties":{"property":{"type":"string","description":"property"},"functions":{"type":"array","description":"Functions","items":{"type":"string","description":"Functions"}},"direction":{"type":"string","description":"sort order","enum":["ASC","DESC"]}},"required":["direction","property"]},"common-cunit-QueryPresetPageable":{"description":"pageable","properties":{"limit":{"type":"integer","format":"int64","description":"das Limit (MaxRecordCount) für diesen Query"}}},"common-cunit-QueryPresetOption":{"description":"options","properties":{"distinctResult":{"type":"boolean","description":"soll der Query mit einem Distinct durchgeführt werden"}}},"common-cunit-QueryPresetTransformation":{"description":"zusätzliche konfigurationen","properties":{"crossTable":{"$ref":"#/components/schemas/common-cunit-QueryPresetCrossTableTransformation"}}},"common-cunit-QueryPresetCrossTableTransformation":{"description":"enthält die felder, die in einer cross-table für die reihenbildung verantwortlich sind (im grunde -> der group-key)","properties":{"rowSpecs":{"type":"array","description":"enthält die felder, die in einer cross-table für die reihenbildung verantwortlich sind (im grunde -> der group-key)","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetResult"}},"columnSpecs":{"type":"array","description":"enthält die felder, die in der cross-table als dynamische spalten erstellt werden sollen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetResult"}},"results":{"type":"array","description":"enthält die felder, die pro rowSpec-Kombination je nach Spaltenausprägung ermittelt werden sollen","items":{"$ref":"#/components/schemas/common-cunit-QueryPresetCrossTableTransformation.QueryPresetCrossTableCell"}}},"required":["columnSpecs","results","rowSpecs"]},"common-cunit-QueryPresetCrossTableTransformation.QueryPresetCrossTableCell":{"description":"enthält die felder, die pro rowSpec-Kombination je nach Spaltenausprägung ermittelt werden sollen","properties":{"result":{"$ref":"#/components/schemas/common-cunit-QueryPresetResult"},"cellView":{"type":"string","description":"darstellung der werte","enum":["AS_IS","PERCENT_COL"]},"sumColumn":{"type":"boolean","default":false,"description":"soll eine spaltensumme erzeugt werden"},"rowMode":{"type":"string","description":"soll eine zeilensumme erzeugt werden","enum":["DATA","DATA_AND_TOTAL","TOTAL"]},"aggregateFunction":{"type":"string","description":"die funktion mit der die werte der Zelle aggregiert werden"}}},"common-cunit-ArithmeticQueryTerm":{"description":"Arithmetische Terme - hier kommt die tatsächliche Berechnung rein","properties":{"termName":{"type":"string","description":"Der Name des Terms für die Verarbeitung und Darstellung"},"terms":{"type":"array","description":"Die inneren Terme - entweder Verweise auf Attribute oder weitere Verschachtelungen der Berechnung","items":{"$ref":"#/components/schemas/common-cunit-ArithmeticQueryTermInner"}},"operations":{"type":"array","description":"Die Operationen, die ausgeführt werden sollen mit den Termen","items":{"type":"string","description":"Die Operationen, die ausgeführt werden sollen mit den Termen","enum":["PLUS","MINUS","MULTIPLY","DIVIDE"]}}}},"common-cunit-ArithmeticQueryTermInner":{"description":"Die inneren Terme - entweder Verweise auf Attribute oder weitere Verschachtelungen der Berechnung","properties":{"fragment":{"$ref":"#/components/schemas/common-cunit-ArithmeticQueryTermFragment"},"attribute":{"type":"string","description":"Ein echtes Attribut aus dem Template"},"fixedValue":{"type":"number","description":"Ein Fixwert"}}},"common-cunit-ArithmeticQueryTermFragment":{"description":"Das Termfragment - eine weitere Verschachtelung mit eigenen Operationen","properties":{"operations":{"type":"array","description":"Die Operationen, die ausgeführt werden sollen mit den Termen","items":{"type":"string","description":"Die Operationen, die ausgeführt werden sollen mit den Termen","enum":["PLUS","MINUS","MULTIPLY","DIVIDE"]}}}},"common-user-ObjectSpecificPermissionAggregation":{"description":"alle Nutzer-/Gruppen-Berechtigungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"userPermissions":{"type":"array","description":"Nutzer-Berechtigungen","items":{"$ref":"#/components/schemas/common-user-ObjectSpecificUserPermission"}},"groupPermissions":{"type":"array","description":"Gruppen-Berechtigungen","items":{"$ref":"#/components/schemas/common-user-ObjectSpecificGroupPermission"}},"operationForAllUsers":{"type":"string","description":"Zugriffsrechte für alle Nutzer","enum":["READ_ONLY","READ_AND_EDIT"]}}},"common-user-ObjectSpecificUserPermission":{"description":"Nutzer-Berechtigungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"operation":{"type":"string","description":"Berechtigung","enum":["READ_ONLY","READ_AND_EDIT"]}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"common-user-ObjectSpecificGroupPermission":{"description":"Gruppen-Berechtigungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"groupRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"operation":{"type":"string","description":"Berechtigung","enum":["READ_ONLY","READ_AND_EDIT"]}}},"common-cunit-QueryPresetUserOptions":{"description":"nutzerbezogene Einstellungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"pinned":{"type":"boolean","default":false,"description":"angepinnt?"}},"required":["pinned"]}}}}
```

## GET /erp/crm-tasks/{refId}/latest-workflow-instance

> Liefert die neuste Workflow-Instanz zu der gegebenen Referenz

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{refId}/latest-workflow-instance":{"get":{"tags":["Aufgaben"],"summary":"Liefert die neuste Workflow-Instanz zu der gegebenen Referenz","operationId":"getLatestWorkflowInstance_4","parameters":[{"name":"refId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Workflow-Instanz gefunden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/common-workflow-WorkflowInstance"}}}},"404":{"description":"Es existiert noch keine Workflow-Instanz","content":{"application/json":{"schema":{"$ref":"#/components/schemas/common-workflow-WorkflowInstance"}}}}}}}},"components":{"schemas":{"common-workflow-WorkflowInstance":{"properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"state":{"type":"string","description":"Status einer Workflow-Instanz","enum":["CREATED","IN_PROCESS","COMPLETED_SUCCESSFULLY","COMPLETED_WITH_FAILURE","ERRONEOUS","ABORTED_CRASHED","ABORTED_MANUALLY","CRASHED","WAITING","INTERRUPTED"]},"workflowRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"workItems":{"type":"array","description":"Schritte des Workflows","items":{"$ref":"#/components/schemas/common-workflow-WorkItem"}},"logEntries":{"type":"array","description":"Logging-Einträge chronologisch sortiert","items":{"$ref":"#/components/schemas/common-workflow-WorkflowInstanceLogLine"}}}},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]},"common-workflow-WorkItem":{"description":"Schritte des Workflows","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"state":{"type":"string","description":"Bearbeitungszustand eines Work-Items","enum":["OPEN","IN_PROCESS","COMPLETED","ERRONEOUS","ABORTED"]},"workflowElementRef":{"type":"integer","format":"int64","description":"Workflow-Element, das abgebildet wird"},"parentWorkItemRef":{"type":"integer","format":"int64","description":"Work-Item im übergeordneten Workflow, wenn es sich um einen Unter-Workflow handelt"},"responsibleUserRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"logEntries":{"type":"array","description":"Logging-Einträge chronologisch sortiert","items":{"$ref":"#/components/schemas/common-workflow-WorkflowInstanceLogLine"}},"splitResult":{"type":"string","description":"Für Split-Gateways: mit welchem Ergebnis wurde dieses Work-Item ausgeführt"}}},"common-workflow-WorkflowInstanceLogLine":{"description":"Logging-Einträge chronologisch sortiert","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"workflowInstanceId":{"type":"integer","format":"int64","description":"ID der Workflow-Instanz"},"workItemId":{"type":"integer","format":"int64","description":"ID des Work-Items"},"logTime":{"type":"string","format":"date-time","description":"Zeitstempel"},"origin":{"type":"string","description":"Wodurch wurde dieser Eintrag ausgelöst","enum":["DEBUG","INFO","WARNING","ERROR","CONSOLE","STACKTRACE"]},"message":{"type":"string","description":"Nachricht"},"messageKey":{"type":"string","description":"I18n-Key"},"propertyPath":{"type":"string","description":"Pfad"},"messageParameter":{"type":"object","additionalProperties":{"type":"object","description":"Parameter für die I18n-Nachricht"},"description":"Parameter für die I18n-Nachricht"}}}}}}
```

## GET /erp/crm-tasks/{id}/subscription

> Liefert alle Subscription auf dem Geschäftsobjekt

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/subscription":{"get":{"tags":["Aufgaben"],"summary":"Liefert alle Subscription auf dem Geschäftsobjekt","operationId":"getSubscriber","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}}}}}}}}},"components":{"schemas":{"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## GET /erp/crm-tasks/{id}/reminders

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/{id}/reminders":{"get":{"tags":["Aufgaben"],"operationId":"getReminders","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}}}}}}}},"components":{"schemas":{"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## GET /erp/crm-tasks/reminders

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.20.4"},"tags":[{"name":"Aufgaben","description":"CRM Aufgaben"}],"servers":[{"url":"http://10.102.25.252:32790/api","description":"Generated server url"}],"paths":{"/erp/crm-tasks/reminders":{"get":{"tags":["Aufgaben"],"operationId":"getAllReminders","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/erp-crm-CrmReminder"}}}}}}}}},"components":{"schemas":{"erp-crm-CrmReminder":{"description":"CRM Erinnerungen","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"crmId":{"type":"integer","format":"int64","description":"ID des CRM Objekts"},"userRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"},"remindAt":{"type":"string","format":"date-time","description":"Erinnerungszeitpunkt"},"note":{"type":"string","description":"Notiz zur Erinnerung"},"critical":{"type":"boolean","description":"Kritische Erinnerung?"}},"required":["crmId","remindAt","userRef"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.vario-software.de/api-reference/aufgaben.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
