PUT api/FlockGrowerSupplies/{id}
Updates an existing flock grower supply record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the grower supply record to update. |
integer |
Required |
Body Parameters
The grower supply data that will be used to update the record.
FlockGrowerSupply| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the flock grower supply record. |
integer |
None. |
| FlockManagementID |
The ID of the flock management record. |
integer |
None. |
| GrowerSupplyID |
The ID of the grower supply record. |
integer |
None. |
| Quantity |
The quantity of the supply that was given for the flock. |
decimal number |
None. |
| UniqueIdentifier |
Uniquely identifies this record. This ID is assigned by the individual tablets using the farm tech app. That way, records created from the tablets have a 100% globally unique identifier that allows them to determine if a record on their device already exists on the server. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"FlockManagementID": 2,
"GrowerSupplyID": 3,
"Quantity": 4.0,
"UniqueIdentifier": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
An empty response body with a 204 response on success.
None.