POST v2/ranches/{ranchGuid}/wells.json

Adds a well to a ranch

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ranchGuid

globally unique identifier

Required

Body Parameters

RanchWellViewModel
NameDescriptionTypeAdditional information
Id

Well ID

integer

None.

Name

name

string

Required

ElectricalConductivity

electrical conductivity

decimal number

Range: inclusive between 0 and 2147483647

NitrogenPPM

nitrogen ppm

decimal number

Range: inclusive between 0 and 2147483647

Request Formats

application/json, text/json, text/html

Sample:
{
  "Id": 1,
  "Name": "sample string 1",
  "ElectricalConductivity": 2.0,
  "NitrogenPPM": 3.0
}

application/xml, text/xml

Sample:
<RanchWellViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <Name>sample string 1</Name>
  <ElectricalConductivity>2</ElectricalConductivity>
  <NitrogenPPM>3</NitrogenPPM>
</RanchWellViewModel>

Response Information

Resource Description

RanchWellJSON
NameDescriptionTypeAdditional information
Id

integer

None.

RanchId

integer

None.

Name

string

None.

ElectricalConductivity

decimal number

None.

NitrogenPPM

decimal number

None.

CreatedDT

date

None.

LastUpdateDT

date

None.

Deleted

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Id": 1,
  "RanchId": 2,
  "Name": "sample string 3",
  "ElectricalConductivity": 4.0,
  "NitrogenPPM": 5.0,
  "CreatedDT": "2024-06-24T16:26:28.037743-07:00",
  "LastUpdateDT": "2024-06-24T16:26:28.037743-07:00",
  "Deleted": true
}

application/xml, text/xml

Sample:
<RanchWellJSON xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <RanchId>2</RanchId>
  <Name>sample string 3</Name>
  <ElectricalConductivity>4</ElectricalConductivity>
  <NitrogenPPM>5</NitrogenPPM>
  <CreatedDT>2024-06-24T16:26:28.037743-07:00</CreatedDT>
  <LastUpdateDT>2024-06-24T16:26:28.037743-07:00</LastUpdateDT>
  <Deleted>true</Deleted>
</RanchWellJSON>