POST v2/ranches/{ranchGuid}/wells.json
Adds a well to a ranch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ranchGuid | globally unique identifier |
Required |
Body Parameters
RanchWellViewModel| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "2026-11-23T11:24:24.3150103+00:00",
"LastUpdateDT": "2026-11-23T11:24:24.3150103+00: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>2026-11-23T11:24:24.3150103+00:00</CreatedDT> <LastUpdateDT>2026-11-23T11:24:24.3150103+00:00</LastUpdateDT> <Deleted>true</Deleted> </RanchWellJSON>