GET api/v2/StoragePoints/GetStoragePointsInfo?FarmId={FarmId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| FarmId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StoragePointsInfoContract| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalStock | decimal number |
None. |
|
| TotalCapacity | decimal number |
None. |
|
| TotalCurrentHeads | decimal number |
None. |
|
| TotalCapacityHeads | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalStock": 1.0,
"TotalCapacity": 2.0,
"TotalCurrentHeads": 3.0,
"TotalCapacityHeads": 4.0
}
application/xml, text/xml
Sample:
<StoragePointsInfoContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FPService/v2/contracts/2017/01"> <TotalCapacity>2</TotalCapacity> <TotalCapacityHeads>4</TotalCapacityHeads> <TotalCurrentHeads>3</TotalCurrentHeads> <TotalStock>1</TotalStock> </StoragePointsInfoContract>