GET v2/ranches/{ranchGuid}/lots.json

Returns a list of planting areas associated with a ranch

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ranchGuid

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RanchLotJSON
NameDescriptionTypeAdditional information
RanchId

integer

None.

Acres

decimal number

None.

ObstructionDepth

decimal number

None.

CreateDT

date

None.

LastUpdateDT

date

None.

Deleted

boolean

None.

Coordinates

string

None.

Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "RanchId": 1,
    "Acres": 2.0,
    "ObstructionDepth": 1.0,
    "CreateDT": "2024-06-24T15:33:01.106416-07:00",
    "LastUpdateDT": "2024-06-24T15:33:01.106416-07:00",
    "Deleted": true,
    "Coordinates": "sample string 6",
    "Id": 7,
    "Name": "sample string 8"
  },
  {
    "RanchId": 1,
    "Acres": 2.0,
    "ObstructionDepth": 1.0,
    "CreateDT": "2024-06-24T15:33:01.106416-07:00",
    "LastUpdateDT": "2024-06-24T15:33:01.106416-07:00",
    "Deleted": true,
    "Coordinates": "sample string 6",
    "Id": 7,
    "Name": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRanchLotJSON xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RanchLotJSON>
    <Id>7</Id>
    <Name>sample string 8</Name>
    <RanchId>1</RanchId>
    <Acres>2</Acres>
    <ObstructionDepth>1</ObstructionDepth>
    <CreateDT>2024-06-24T15:33:01.106416-07:00</CreateDT>
    <LastUpdateDT>2024-06-24T15:33:01.106416-07:00</LastUpdateDT>
    <Deleted>true</Deleted>
    <Coordinates>sample string 6</Coordinates>
  </RanchLotJSON>
  <RanchLotJSON>
    <Id>7</Id>
    <Name>sample string 8</Name>
    <RanchId>1</RanchId>
    <Acres>2</Acres>
    <ObstructionDepth>1</ObstructionDepth>
    <CreateDT>2024-06-24T15:33:01.106416-07:00</CreateDT>
    <LastUpdateDT>2024-06-24T15:33:01.106416-07:00</LastUpdateDT>
    <Deleted>true</Deleted>
    <Coordinates>sample string 6</Coordinates>
  </RanchLotJSON>
</ArrayOfRanchLotJSON>