---
updatedAt: 2025-02-19T21:55:01.000Z
agentTools:
  projectIndex: https://readme.teamogy.com/llms.txt
---

# Examples

POST https\://\{host}/rest/v1/\{unitId}/tasks

Example of issued task

```json
{
  "type": "TASK",
  "number": "",
  "binderId": 123,
  "jobItemId": 12345,
  "ownerId": 1,
  "assigneeId": 1,
  "reporterId": 1,
  "participantIds": [2, 3, 4],
  "category": "CATEGORY.JOB-DEFAULT",
  "name": "First task",
  "status": "OPEN",
  "statusDate": "2021-12-31",
  "tags": ["tag1","tag2"],
  "startDate": "2021-12-01",
  "startTime": "08:00:00",
  "endDate": "2021-12-30",
  "endTime": "10:30:00",
  "allocation": 7200,
  "acl": {},
  "properties": {
    "bodyRichtext-1": "<p>This is body <strong>formatted</strong> text.</p>"
  }
}
```