Update 'Create-Taskmap.md'
This commit is contained in:
parent
7a8420273a
commit
27d62efffb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user