| PUT | /growplans_boxes/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| GrowplansUsersId | body | long | Yes | |
| Name | body | string | No | |
| XAxis | body | int | Yes | |
| YAxis | body | int | Yes | |
| GrowplansOutcomesId | body | long | Yes | |
| Months | body | int | Yes | |
| StartDate | body | DateTime? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| GrowplansUsersId | form | long | No | |
| Name | form | string | No | |
| XAxis | form | int | No | |
| YAxis | form | int | No | |
| GrowplansOutcomesId | form | long | No | |
| Months | form | int | No | |
| StartDate | form | DateTime? | 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_boxes/{Id} HTTP/1.1
Host: api.sfgtec.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":0,"growplansUsersId":0,"name":"String","xAxis":0,"yAxis":0,"growplansOutcomesId":0,"months":0,"startDate":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":0,"growplansUsersId":0,"name":"String","xAxis":0,"yAxis":0,"growplansOutcomesId":0,"months":0,"startDate":"\/Date(-62135596800000-0000)\/","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}