Update page 'VRAHerbicide API'
This commit is contained in:
parent
abab9a6fdd
commit
69c4eb6ded
@ -64,7 +64,7 @@ Response 403 No WRITE permissions in item
|
|||||||
Response 404 Item not found
|
Response 404 Item not found
|
||||||
|
|
||||||
###### Querying predefined herbicide agents.
|
###### Querying predefined herbicide agents.
|
||||||
A list of herbicide agents can be requested by finding the "vnd.farmmaps.package.vra.herbicide" items, taking the first item found and reading it's data field content.
|
A list of herbicide agents can be requested by finding the "vnd.farmmaps.package.vra.herbicide" items, taking the first item found and reading it's data field 'agents' array content.
|
||||||
> Request
|
> Request
|
||||||
```javascript
|
```javascript
|
||||||
GET /api/v1/items/?it=vnd.farmmaps.package.vra.herbicide
|
GET /api/v1/items/?it=vnd.farmmaps.package.vra.herbicide
|
||||||
@ -73,7 +73,8 @@ GET /api/v1/items/?it=vnd.farmmaps.package.vra.herbicide
|
|||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
"code": "....",
|
"code": "....",
|
||||||
"data": [
|
"data": {
|
||||||
|
"agents": [
|
||||||
{
|
{
|
||||||
"name": "Liberator",
|
"name": "Liberator",
|
||||||
"SoilType": "Dalgrond",
|
"SoilType": "Dalgrond",
|
||||||
@ -89,6 +90,7 @@ GET /api/v1/items/?it=vnd.farmmaps.package.vra.herbicide
|
|||||||
"Crop": "Zetmeelaardappelen"
|
"Crop": "Zetmeelaardappelen"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user