PUT v2/ranches/{ranchGuid}/wells/{wellId}.json

Updates a well

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ranchGuid

globally unique identifier

Required

wellId

integer

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": 1.0,
  "NitrogenPPM": 2.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>1</ElectricalConductivity>
  <NitrogenPPM>2</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": 1.0,
  "NitrogenPPM": 4.0,
  "CreatedDT": "2025-01-25T05:19:31.8949808-08:00",
  "LastUpdateDT": "2025-01-25T05:19:31.8949808-08: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>1</ElectricalConductivity>
  <NitrogenPPM>4</NitrogenPPM>
  <CreatedDT>2025-01-25T05:19:31.8949808-08:00</CreatedDT>
  <LastUpdateDT>2025-01-25T05:19:31.8949808-08:00</LastUpdateDT>
  <Deleted>true</Deleted>
</RanchWellJSON>