GET v2/ranches/{ranchGuid}.json
Returns basic ranch information.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ranchGuid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
RanchBasicInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RanchName |
ranch name |
string |
Required |
| Acres |
acres |
decimal number |
Range: inclusive between 0 and 2147483647 |
| Coordinates |
ranch coordinates |
string |
Required |
| RanchOwner |
ranch owner userID |
string |
None. |
| RanchOwnerFullName |
ranch owner full name |
string |
None. |
| RanchOwnerEmail |
ranch owner email address |
string |
None. |
| UseSpatialCIMIS |
if true, use spatial CIMIS. If false, use weather stations |
boolean |
None. |
| UseCIMISAverageMode |
if true, average weather station data. If false, pull weather station data in sequential mode |
boolean |
None. |
| SpatialETAvailable |
Tracks whether or not a ranch is in an area where spatial ET service is available |
boolean |
None. |
| WeatherAPI_Id |
Weather Service API Id associated with a ranch, depending on coordinates |
integer |
None. |
Response Formats
application/json, text/json, text/html
{
"RanchName": "sample string 1",
"Acres": 1.0,
"Coordinates": "sample string 2",
"RanchOwner": "sample string 3",
"RanchOwnerFullName": "sample string 4",
"RanchOwnerEmail": "sample string 5",
"UseSpatialCIMIS": true,
"UseCIMISAverageMode": true,
"SpatialETAvailable": true,
"WeatherAPI_Id": 1
}
application/xml, text/xml
<RanchBasicInfoViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RanchName>sample string 1</RanchName> <Acres>1</Acres> <Coordinates>sample string 2</Coordinates> <RanchOwner>sample string 3</RanchOwner> <RanchOwnerFullName>sample string 4</RanchOwnerFullName> <RanchOwnerEmail>sample string 5</RanchOwnerEmail> <UseSpatialCIMIS>true</UseSpatialCIMIS> <UseCIMISAverageMode>true</UseCIMISAverageMode> <SpatialETAvailable>true</SpatialETAvailable> <WeatherAPI_Id>1</WeatherAPI_Id> </RanchBasicInfoViewModel>