POST api/FlockGrowerSupplies
Creates a new flock grower supply.
Request Information
URI Parameters
None.
Body Parameters
The flock grower supply to create.
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
{
"ID": 1,
"FlockManagementID": 2,
"GrowerSupplyID": 3,
"Quantity": 4.0,
"UniqueIdentifier": "sample string 5"
}
application/x-www-form-urlencoded
Response Information
Resource Description
A 201 created response on success, or a 403 bad request if there are issues with the grower supply data.
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. |
Response Formats
application/json, text/json
{
"ID": 1,
"FlockManagementID": 2,
"GrowerSupplyID": 3,
"Quantity": 4.0,
"UniqueIdentifier": "sample string 5"
}