POST api/PreviousCrop/BaseGetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PreviousCrop
NameDescriptionTypeAdditional information
Code

string

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": "sample string 1",
    "PTWCode": "sample string 2",
    "Name": "sample string 3",
    "LastMaintenanceDate": "2024-12-08T13:57:36.2702629+00:00",
    "LastMaintenanceName": "sample string 5",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPreviousCrop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <PreviousCrop 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>sample string 1</Code>
    <LastMaintenanceDate>2024-12-08T13:57:36.2702629+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <Name>sample string 3</Name>
    <PTWCode>sample string 2</PTWCode>
  </PreviousCrop>
  <PreviousCrop z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfPreviousCrop>