Update 'Create-Taskmap.md'

This commit is contained in:
Mark van der Wal 2021-02-10 20:29:52 +00:00
parent 7a8420273a
commit 27d62efffb

View File

@ -9,13 +9,6 @@ The user can use the "ItemTask" API to execute the TaskmapTask with the cropfiel
```javascript
POST /api/v1/items/{code}/tasks
{
"taskType": "vnd.farmmaps.task.taskmap"
}
```
> Response 201
```javascript
{
"code": "string",
"taskType": "vnd.farmmaps.task.taskmap",
"attributes": {
"inputCode" "{itemCode}"
@ -36,6 +29,15 @@ POST /api/v1/items/{code}/tasks
* geojson is expected in WGS84, 4326 projection.
* endPoint is optional but angle or endPoint is needed!
> Response 201
```javascript
{
"code": "string",
"taskType": "vnd.farmmaps.task.taskmap"
}
```
Response 400 Tasktype not found
Response 401 Not authenticated
Response 403 No WRITE permissions in item