Update page 'VRAPoten API'
This commit is contained in:
parent
4ce088ce6e
commit
6f8c049c98
@ -85,35 +85,9 @@ Response 403 No WRITE permissions in item
|
|||||||
Response 404 Item not found
|
Response 404 Item not found
|
||||||
|
|
||||||
###### Create taskmap
|
###### 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
|
###### Download the data
|
||||||
Response 401 Not authenticated
|
|
||||||
Response 403 No WRITE permissions in item
|
|
||||||
Response 404 Item not found
|
|
||||||
|
|
||||||
###### Data downloaden
|
|
||||||
In case the data is available in can be downloaded with the File API.
|
In case the data is available in can be downloaded with the File API.
|
||||||
> Request
|
> Request
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user