Update page 'VRAPoten API'

master
Mark van der Wal 2020-03-10 10:58:01 +00:00
parent 4ce088ce6e
commit 6f8c049c98
1 changed files with 1 additions and 27 deletions

View File

@ -85,35 +85,9 @@ Response 403 No WRITE permissions in item
Response 404 Item not found
###### Create taskmap
The user can use the "ItemTask" API to execute the TaskmapTask with the item code from the appliancemap in {code}.
> Request
```javascript
POST /api/v1/items/{code}/tasks
{
"taskType": "vnd.farmmaps.task.taskmap"
}
```
> Response 201
```javascript
{
"code": "string",
"taskType": "vnd.farmmaps.task.workflow",
"delay": "",
"attributes": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
```
Response 400 Tasktype not found
Response 401 Not authenticated
Response 403 No WRITE permissions in item
Response 404 Item not found
###### Data downloaden
###### Download the data
In case the data is available in can be downloaded with the File API.
> Request
```javascript