| PUT | /growplans_results/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| GrowplansBoxesId | body | long | Yes | |
| PlantDate | body | DateTime? | No | |
| Grid | body | string | No | |
| Height | body | double? | No | |
| PlantPerSquare | body | double? | No | |
| CropsCylindersId | body | long | Yes | |
| Age | body | int | No | |
| MaxAge | body | int | No | |
| GrowplansVarietiesId | body | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| GrowplansBoxesId | form | long | No | |
| PlantDate | form | DateTime? | No | |
| Grid | form | string | No | |
| Height | form | double? | No | |
| PlantPerSquare | form | double? | No | |
| CropsCylindersId | form | long | No | |
| Age | form | int | No | |
| MaxAge | form | int | No | |
| GrowplansVarietiesId | form | long | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /growplans_results/{Id} HTTP/1.1
Host: sfgboxapi.dev.scadsoftware.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":0,"growplansBoxesId":0,"plantDate":"\/Date(-62135596800000-0000)\/","grid":"String","height":0,"plantPerSquare":0,"cropsCylindersId":0,"age":0,"maxAge":0,"growplansVarietiesId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":0,"growplansBoxesId":0,"plantDate":"\/Date(-62135596800000-0000)\/","grid":"String","height":0,"plantPerSquare":0,"cropsCylindersId":0,"age":0,"maxAge":0,"growplansVarietiesId":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}