POST /api/erp/crm-tasks HTTP/1.1
Host: localhost:53907
Content-Type: application/json
Accept: */*
Content-Length: 6311
{
"crmTask": {
"version": "text",
"info": {},
"id": "text",
"typeRef": {
"id": "text"
},
"stateRef": {
"id": "text"
},
"priorityRef": {
"id": "text"
},
"description": "text",
"notes": "text",
"accountRef": {
"id": "text"
},
"parentRef": {
"id": 1,
"type": "TASK",
"number": "text",
"label": "text",
"description": "text",
"state": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1,
"startState": false,
"finishState": false,
"readyToBill": false,
"needsCommentOnPositiveFinish": false,
"needsCommentOnNegativeFinish": false,
"portalEnumRef": {
"id": "text",
"label": "text"
}
},
"subType": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1
}
},
"childRefs": [
{
"id": 1,
"type": "TASK",
"number": "text",
"label": "text",
"description": "text",
"state": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1,
"startState": false,
"finishState": false,
"readyToBill": false,
"needsCommentOnPositiveFinish": false,
"needsCommentOnNegativeFinish": false,
"portalEnumRef": {
"id": "text",
"label": "text"
}
},
"subType": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1
}
}
],
"tags": [
{
"version": "text",
"info": {},
"id": "text",
"type": "COMMON",
"label": "text",
"color": "text",
"editColor": "text",
"searchColor": "text",
"tagGroup": {
"id": "text",
"label": "text"
}
}
],
"salesDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"observerRefs": [
{
"id": "text"
}
],
"additionalParticipantsOfCustomer": [
{
"version": "text",
"info": {},
"id": "text",
"accountPersonRef": {
"id": "text"
},
"description": "text"
}
],
"additionalParticipantsOfContractor": [
{
"version": "text",
"info": {},
"id": "text",
"accountPersonRef": {
"id": "text"
},
"description": "text"
}
],
"assignedUserRef": {
"id": "text"
},
"assignedGroupRef": {
"id": "text"
},
"assignedByUserRef": {
"id": "text"
},
"mainResponsibleUserRef": {
"id": "text"
},
"mainResponsibleGroupRef": {
"id": "text"
},
"label": "text",
"references": [
{
"referenceType": "ARTICLE",
"reference": {
"id": "text"
}
}
],
"purchaseDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"customerOfferRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"customerOrderRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"billingDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"customField": {},
"checklist": [
{
"version": "text",
"info": {},
"id": "text",
"memo": "text",
"checked": false
}
],
"dueDateTime": "2026-02-10T14:28:06.873Z",
"reminders": [
{
"version": "text",
"info": {},
"id": "text",
"crmId": 1,
"userRef": {
"id": "text"
},
"remindAt": "2026-02-10T14:28:06.873Z",
"note": "text",
"critical": true
}
],
"effortEstimation": 1,
"effortCommissioned": 1,
"progress": 1,
"publish": true,
"billingRule": "ONLY_COMPLETE",
"billingType": "UNCLEAR",
"relatedToTaskRefs": [
{
"id": "text"
}
],
"duplicatesTaskRefs": [
{
"id": "text"
}
],
"duplicatedByTaskRefs": [
{
"id": "text"
}
],
"blocksTaskRefs": [
{
"id": "text"
}
],
"blockedByTaskRefs": [
{
"id": "text"
}
],
"responsibleCustomerPersonRef": {
"id": "text"
}
},
"createTemplateIdsWithTasks": [
{
"createTemplateId": 1,
"task": {
"version": "text",
"info": {},
"id": "text",
"typeRef": {
"id": "text"
},
"stateRef": {
"id": "text"
},
"priorityRef": {
"id": "text"
},
"description": "text",
"notes": "text",
"accountRef": {
"id": "text"
},
"parentRef": {
"id": 1,
"type": "TASK",
"number": "text",
"label": "text",
"description": "text",
"state": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1,
"startState": false,
"finishState": false,
"readyToBill": false,
"needsCommentOnPositiveFinish": false,
"needsCommentOnNegativeFinish": false,
"portalEnumRef": {
"id": "text",
"label": "text"
}
},
"subType": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1
}
},
"childRefs": [
{
"id": 1,
"type": "TASK",
"number": "text",
"label": "text",
"description": "text",
"state": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1,
"startState": false,
"finishState": false,
"readyToBill": false,
"needsCommentOnPositiveFinish": false,
"needsCommentOnNegativeFinish": false,
"portalEnumRef": {
"id": "text",
"label": "text"
}
},
"subType": {
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"sortOrder": 1
}
}
],
"tags": [
{
"version": "text",
"info": {},
"id": "text",
"type": "COMMON",
"label": "text",
"color": "text",
"editColor": "text",
"searchColor": "text",
"tagGroup": {
"id": "text",
"label": "text"
}
}
],
"salesDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"observerRefs": [
{
"id": "text"
}
],
"additionalParticipantsOfCustomer": [
{
"version": "text",
"info": {},
"id": "text",
"accountPersonRef": {
"id": "text"
},
"description": "text"
}
],
"additionalParticipantsOfContractor": [
{
"version": "text",
"info": {},
"id": "text",
"accountPersonRef": {
"id": "text"
},
"description": "text"
}
],
"assignedUserRef": {
"id": "text"
},
"assignedGroupRef": {
"id": "text"
},
"assignedByUserRef": {
"id": "text"
},
"mainResponsibleUserRef": {
"id": "text"
},
"mainResponsibleGroupRef": {
"id": "text"
},
"label": "text",
"references": [
{
"referenceType": "ARTICLE",
"reference": {
"id": "text"
}
}
],
"purchaseDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"customerOfferRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"customerOrderRef": {
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
},
"billingDocumentRefs": [
{
"id": 1,
"category": "CUSTOMER_OFFER",
"documentType": "text",
"documentState": "text",
"number": "text"
}
],
"customField": {},
"checklist": [
{
"version": "text",
"info": {},
"id": "text",
"memo": "text",
"checked": false
}
],
"dueDateTime": "2026-02-10T14:28:06.873Z",
"reminders": [
{
"version": "text",
"info": {},
"id": "text",
"crmId": 1,
"userRef": {
"id": "text"
},
"remindAt": "2026-02-10T14:28:06.873Z",
"note": "text",
"critical": true
}
],
"effortEstimation": 1,
"effortCommissioned": 1,
"progress": 1,
"publish": true,
"billingRule": "ONLY_COMPLETE",
"billingType": "UNCLEAR",
"relatedToTaskRefs": [
{
"id": "text"
}
],
"duplicatesTaskRefs": [
{
"id": "text"
}
],
"duplicatedByTaskRefs": [
{
"id": "text"
}
],
"blocksTaskRefs": [
{
"id": "text"
}
],
"blockedByTaskRefs": [
{
"id": "text"
}
],
"responsibleCustomerPersonRef": {
"id": "text"
}
}
}
],
"parameters": [
{
"key": "text",
"value": {}
}
]
}