POST api/LogSingleIrrig?iotServiceProviderID={iotServiceProviderID}&apiPassword={apiPassword}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
iotServiceProviderID

integer

Required

apiPassword

string

Required

Body Parameters

IrrigLogPLC
NameDescriptionTypeAdditional information
LuFertTankMixID

integer

None.

FieldID

integer

None.

StartTimeUTC

date

None.

EndTimeUTC

date

None.

IrrigRunTm_Min

integer

None.

IrrigVolTot_M3ZFld

decimal number

None.

IrrigFlowRate_M3_Hr

decimal number

None.

IrrigEnrichEcMicroSZCm

integer

None.

TankMix

Collection of TankMix

None.

Request Formats

application/json, text/json

Sample:
{
  "LuFertTankMixID": 1,
  "FieldID": 2,
  "StartTimeUTC": "2026-03-06T00:28:53.7910007+02:00",
  "EndTimeUTC": "2026-03-06T00:28:53.7910007+02:00",
  "IrrigRunTm_Min": 5,
  "IrrigVolTot_M3ZFld": 6.0,
  "IrrigFlowRate_M3_Hr": 7.0,
  "IrrigEnrichEcMicroSZCm": 8,
  "TankMix": [
    {
      "FertTankID": 1,
      "FertTankLZM3": 2.0,
      "FertTankL": 3.0,
      "FertTankpc": 4.0,
      "FertTankEC_MicroSZCm": 5
    },
    {
      "FertTankID": 1,
      "FertTankLZM3": 2.0,
      "FertTankL": 3.0,
      "FertTankpc": 4.0,
      "FertTankEC_MicroSZCm": 5
    }
  ]
}

application/xml, text/xml

Sample:
<DtMd.IrrigLogPLC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgriwizAPI.Models">
  <EndTimeUTC>2026-03-06T00:28:53.7910007+02:00</EndTimeUTC>
  <FieldID>2</FieldID>
  <IrrigEnrichEcMicroSZCm>8</IrrigEnrichEcMicroSZCm>
  <IrrigFlowRate_M3_Hr>7</IrrigFlowRate_M3_Hr>
  <IrrigRunTm_Min>5</IrrigRunTm_Min>
  <IrrigVolTot_M3ZFld>6</IrrigVolTot_M3ZFld>
  <LuFertTankMixID>1</LuFertTankMixID>
  <StartTimeUTC>2026-03-06T00:28:53.7910007+02:00</StartTimeUTC>
  <TankMix>
    <DtMd.TankMix>
      <FertTankEC_MicroSZCm>5</FertTankEC_MicroSZCm>
      <FertTankID>1</FertTankID>
      <FertTankL>3</FertTankL>
      <FertTankLZM3>2</FertTankLZM3>
      <FertTankpc>4</FertTankpc>
    </DtMd.TankMix>
    <DtMd.TankMix>
      <FertTankEC_MicroSZCm>5</FertTankEC_MicroSZCm>
      <FertTankID>1</FertTankID>
      <FertTankL>3</FertTankL>
      <FertTankLZM3>2</FertTankLZM3>
      <FertTankpc>4</FertTankpc>
    </DtMd.TankMix>
  </TankMix>
</DtMd.IrrigLogPLC>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.