diff --git a/VRANbs-API.md b/VRANbs-API.md index 32f6bd3..abc40a9 100644 --- a/VRANbs-API.md +++ b/VRANbs-API.md @@ -74,8 +74,8 @@ Response 404 Item not found ##### Using VRA Nitrogen fertilization task The VraNbs task currently supports 3 operations: * **targetn** - calculates the target nitrogen based on target yield. -* **uptake** - creates the uptake map. -* **nitrogen** - creates the fertilization appliance map. +* **uptake** - creates the nitrogen uptake map. +* **application** - creates the nitrogen fertilization application map. ###### targetn operation Create a 'vnd.farmmaps.itemtype.user.input' item to use in this operation. @@ -208,7 +208,7 @@ GET /api/v1/items/{code} ``` -###### Uptake operation +###### Uptake map operation Execute the VRANbsTask with the item code of the cropfield as parameter inside {code}. Use the input map code inside {itemCode}, specifying an inputCode for the input data item. @@ -246,19 +246,19 @@ Response 401 Not authenticated Response 403 No WRITE permissions in item Response 404 Item not found -###### Nitrogen operation +###### Application map operation Execute the VRANbsTask with the item code of the cropfield as parameter inside {code}. Use the input map code inside {itemCode}, specifying an inputCode for the input data item. {itemCode} needs the code of the data input item passed into it. ex. uploaded isaria/data data. -The resulting nitrogen appliance map will be created as a child item under the cropfield item (this can be queried). +The resulting nitrogen application map will be created as a child item under the cropfield item (this can be queried). > Request ```javascript POST /api/v1/items/{code}/tasks { "taskType": "vnd.farmmaps.task.vranbs", "attributes": { - "operation": "nitrogen", + "operation": "application", "inputCode": "{itemCode}", "plantingDate": "2020-02-01T00:00:00.000Z", "measurementDate": "2020-06-01T00:00:00.000Z",