POST IrrigationType/GetAllCachedIrrigationTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of IrrigationType
NameDescriptionTypeAdditional information
Code

integer

None.

PTWCode

string

None.

Name

string

None.

LastMaintenanceDate

date

None.

LastMaintenanceName

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Code": 1,
    "PTWCode": "sample string 2",
    "Name": "sample string 3",
    "LastMaintenanceDate": "2024-12-26T05:27:48.2998299+00:00",
    "LastMaintenanceName": "sample string 5",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIrrigationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <IrrigationType z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Code>1</Code>
    <LastMaintenanceDate>2024-12-26T05:27:48.2998299+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <Name>sample string 3</Name>
    <PTWCode>sample string 2</PTWCode>
  </IrrigationType>
  <IrrigationType z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfIrrigationType>