POST api/LogIrrigationType1?iotServiceProviderID={iotServiceProviderID}&clientID={clientID}&apiPassword={apiPassword}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| iotServiceProviderID | integer |
Required |
|
| clientID | string |
Required |
|
| apiPassword | string |
Required |
Body Parameters
IrrigLogPLCType1| Name | Description | Type | Additional information |
|---|---|---|---|
| AverageMainLineFlowRateM3_H | decimal number |
None. |
|
| AverageMainLinePressure | decimal number |
None. |
|
| BlockID | integer |
None. |
|
| RuntimeMins | integer |
None. |
|
| TimeStamp | date |
None. |
|
| TotalMainLineFlowM3 | decimal number |
None. |
|
| TotalValveFlowM3 | decimal number |
None. |
|
| ValveID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AverageMainLineFlowRateM3_H": 1.0,
"AverageMainLinePressure": 2.0,
"BlockID": 3,
"RuntimeMins": 4,
"TimeStamp": "2026-03-06T00:29:51.7432447+02:00",
"TotalMainLineFlowM3": 6.0,
"TotalValveFlowM3": 7.0,
"ValveID": 8
}
application/xml, text/xml
Sample:
<DtMd.IrrigLogPLCType1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgriwizAPI.Models"> <AverageMainLineFlowRateM3_H>1</AverageMainLineFlowRateM3_H> <AverageMainLinePressure>2</AverageMainLinePressure> <BlockID>3</BlockID> <RuntimeMins>4</RuntimeMins> <TimeStamp>2026-03-06T00:29:51.7432447+02:00</TimeStamp> <TotalMainLineFlowM3>6</TotalMainLineFlowM3> <TotalValveFlowM3>7</TotalValveFlowM3> <ValveID>8</ValveID> </DtMd.IrrigLogPLCType1>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |