POST Formula/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Formula
NameDescriptionTypeAdditional information
FormulaId

integer

None.

CropId

integer

None.

Formula1

string

None.

LastMaintenanceDate

date

None.

LastMaintenanceName

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "FormulaId": 1,
    "CropId": 2,
    "Formula1": "sample string 3",
    "LastMaintenanceDate": "2024-12-10T19:16:07.7329391+00:00",
    "LastMaintenanceName": "sample string 5",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFormula xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <Formula z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <CropId>2</CropId>
    <Formula1>sample string 3</Formula1>
    <FormulaId>1</FormulaId>
    <LastMaintenanceDate>2024-12-10T19:16:07.7329391+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
  </Formula>
  <Formula z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfFormula>