POST ExperimentGrouping/Base/Delete

Request Information

URI Parameters

None.

Body Parameters

ExperimentGrouping
NameDescriptionTypeAdditional information
ExperimentId

globally unique identifier

None.

ExperimentGroupId

globally unique identifier

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

Experiment

Experiment

None.

ExperimentGroup

ExperimentGroup

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
{
  "ExperimentId": "acaacfdb-73b5-4769-964b-87e7c2b80fd7",
  "ExperimentGroupId": "a56052f1-a2dd-4c02-bf3f-5bc35658a5aa",
  "LastMaintenanceName": "sample string 3",
  "LastMaintenanceDate": "2024-12-10T16:54:25.9553244+00:00",
  "ExperimentGroup": {
    "$id": "2",
    "ExperimentGroupId": "a56052f1-a2dd-4c02-bf3f-5bc35658a5aa",
    "GroupName": "sample string 2",
    "Year": 3,
    "CropId": 1,
    "AddName": "sample string 5",
    "AddDate": "2024-12-10T16:54:25.9553244+00:00",
    "LastMaintenanceName": "sample string 7",
    "LastMaintenanceDate": "2024-12-10T16:54:25.9553244+00:00",
    "Crop": {
      "$id": "3",
      "CropId": 1,
      "Name": "sample string 2",
      "ProductLineCode": "sample string 3",
      "Genus": "sample string 4",
      "Code": "sample string 5",
      "TrackingCode": "sample string 6",
      "LastMaintenanceName": "sample string 7",
      "LastMaintenanceDate": "2024-12-10T16:54:25.9553244+00:00",
      "IsOnlySourcedLocally": true,
      "ExperimentGroup": [
        {
          "$ref": "2"
        }
      ],
      "Experiment": [],
      "ChangeTracker": {
        "$id": "4",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {
          "ExperimentGroup": [
            {
              "$ref": "2"
            }
          ]
        }
      }
    },
    "ExperimentGrouping": [
      {
        "$ref": "1"
      }
    ],
    "ChangeTracker": {
      "$id": "5",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "ExperimentGrouping": [
          {
            "$ref": "1"
          }
        ]
      }
    }
  },
  "ChangeTracker": {
    "$id": "6",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<ExperimentGrouping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ChangeTracker z:Id="i2">
    <ExtendedProperties />
    <ObjectsAddedToCollectionProperties />
    <ObjectsRemovedFromCollectionProperties />
    <OriginalValues />
    <State>Added</State>
  </ChangeTracker>
  <Experiment i:nil="true" />
  <ExperimentGroup z:Id="i3">
    <AddDate>2024-12-10T16:54:25.9553244+00:00</AddDate>
    <AddName>sample string 5</AddName>
    <ChangeTracker z:Id="i4">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentGrouping</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Ref="i1" />
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Crop z:Id="i5">
      <ChangeTracker z:Id="i6">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties>
          <AddedObjectsForProperty>
            <CollectionPropertyName>ExperimentGroup</CollectionPropertyName>
            <AddedObjects>
              <ObjectValue z:Ref="i3" />
            </AddedObjects>
          </AddedObjectsForProperty>
        </ObjectsAddedToCollectionProperties>
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <Code>sample string 5</Code>
      <CropId>1</CropId>
      <Experiment />
      <ExperimentGroup>
        <ExperimentGroup z:Ref="i3" />
      </ExperimentGroup>
      <Genus>sample string 4</Genus>
      <IsOnlySourcedLocally>true</IsOnlySourcedLocally>
      <LastMaintenanceDate>2024-12-10T16:54:25.9553244+00:00</LastMaintenanceDate>
      <LastMaintenanceName>sample string 7</LastMaintenanceName>
      <Name>sample string 2</Name>
      <ProductLineCode>sample string 3</ProductLineCode>
      <TrackingCode>sample string 6</TrackingCode>
    </Crop>
    <CropId>1</CropId>
    <ExperimentGroupId>a56052f1-a2dd-4c02-bf3f-5bc35658a5aa</ExperimentGroupId>
    <ExperimentGrouping>
      <ExperimentGrouping z:Ref="i1" />
    </ExperimentGrouping>
    <GroupName>sample string 2</GroupName>
    <LastMaintenanceDate>2024-12-10T16:54:25.9553244+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 7</LastMaintenanceName>
    <Year>3</Year>
  </ExperimentGroup>
  <ExperimentGroupId>a56052f1-a2dd-4c02-bf3f-5bc35658a5aa</ExperimentGroupId>
  <ExperimentId>acaacfdb-73b5-4769-964b-87e7c2b80fd7</ExperimentId>
  <LastMaintenanceDate>2024-12-10T16:54:25.9553244+00:00</LastMaintenanceDate>
  <LastMaintenanceName>sample string 3</LastMaintenanceName>
</ExperimentGrouping>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.