POST v3/ranches/{ranchGuid}/lots.json

Create a new planting area

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ranchGuid

globally unique identifier

Required

Body Parameters

LotExternalModel
NameDescriptionTypeAdditional information
Name

name

string

Required

Acres

acres

decimal number

Required

Range: inclusive between 0 and 1.79769313486232E+308

Coordinates

lat/lng in string format

string

Required

ObstructionDepth

(Optional) obstruction depth (ft). If not specified, CropManage assumes there is no obstruction.

decimal number

Range: inclusive between 0 and 4

Request Formats

application/json, text/json, text/html

Sample:
{
  "Name": "sample string 1",
  "Acres": 2.0,
  "Coordinates": "sample string 3",
  "ObstructionDepth": 1.0
}

application/xml, text/xml

Sample:
<LotExternalModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <Acres>2</Acres>
  <Coordinates>sample string 3</Coordinates>
  <ObstructionDepth>1</ObstructionDepth>
</LotExternalModel>

Response Information

Resource Description

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-12-10T07:36:43.477897-08:00",
  "LastUpdateDT": "2024-12-10T07:36:43.477897-08:00",
  "Deleted": true,
  "Coordinates": "sample string 6",
  "Id": 7,
  "Name": "sample string 8"
}

application/xml, text/xml

Sample:
<RanchLotJSON xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>7</Id>
  <Name>sample string 8</Name>
  <RanchId>1</RanchId>
  <Acres>2</Acres>
  <ObstructionDepth>1</ObstructionDepth>
  <CreateDT>2024-12-10T07:36:43.477897-08:00</CreateDT>
  <LastUpdateDT>2024-12-10T07:36:43.477897-08:00</LastUpdateDT>
  <Deleted>true</Deleted>
  <Coordinates>sample string 6</Coordinates>
</RanchLotJSON>