POST https://{host}/rest/v1/{unitId}/jobs
Example of issued job
{
"type": "JOB",
"number": "",
"companyId": 30370,
"brandId": 24289,
"binderId": 26934,
"ownerId": 66,
"participantIds": [24,50],
"status": "OPEN",
"statusDate": "2021-08-25",
"category": "CATEGORY.JOB-DEFAULT",
"tags": ["tag1"],
"startDate": "2021-06-14",
"startTime": null,
"endDate": "2021-06-14",
"endTime": null,
"jobItems": [
{
"number": 0,
"id": -10,
"name": "aaa",
"category": "CATEGORY.ITEM-DEFAULT",
"comment": "comment1",
"deadline": null,
"status": null
},
{
"number": 1,
"id": -11,
"name": "aaa",
"category": "CATEGORY.ITEM-DEFAULT",
"comment": "comment2",
"deadline": null,
"status": null
}
],
"properties": {
"name": "New job created via API",
"bodyRichtext-1": "<p>This is body <strong>formatted</strong> text.</p>"
},
"acl": {}
}