POST ExperimentFactor/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

Collection of ExperimentFactor
NameDescriptionTypeAdditional information
ExperimentFactorId

globally unique identifier

None.

ExperimentId

globally unique identifier

None.

SortOrder

integer

None.

TraitId

integer

None.

FieldLayout

string

None.

AddName

string

None.

AddDate

date

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

Experiment

Experiment

None.

ExperimentFactorValue

Collection of ExperimentFactorValue

None.

ExperimentFactorProduct

Collection of ExperimentFactorProduct

None.

StripValue

Collection of StripValue

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "ExperimentFactorId": "e702c794-f3a6-4fb3-a1c2-33faf7f8e29b",
    "ExperimentId": "bd5b518f-17af-4d30-9e24-618ff651eabc",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-10-15T03:17:58.1472341+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-10-15T03:17:58.1472341+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "1b5b8b46-fc97-4f4a-a184-42a587240726",
        "ExperimentFactorId": "e702c794-f3a6-4fb3-a1c2-33faf7f8e29b",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-10-15T03:17:58.1472341+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-10-15T03:17:58.1472341+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "58d3cc2f-3ef6-488a-85cc-86aac83c9b58",
            "StripId": "f1c2b2f8-ad7c-42bf-9217-9b181addc5b6",
            "ExperimentFactorId": "e702c794-f3a6-4fb3-a1c2-33faf7f8e29b",
            "ExperimentFactorValueId": "1b5b8b46-fc97-4f4a-a184-42a587240726",
            "ExperimentFactorProductId": "002755dd-b8e4-4437-ad32-3d28ae55c051",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-10-15T03:17:58.1472341+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-10-15T03:17:58.1472341+00:00",
            "ExperimentFactorValue": {
              "$ref": "2"
            },
            "ExperimentFactor": {
              "$ref": "1"
            },
            "ChangeTracker": {
              "$id": "4",
              "State": 2,
              "ObjectsRemovedFromCollectionProperties": {},
              "OriginalValues": {},
              "ExtendedProperties": {},
              "ObjectsAddedToCollectionProperties": {}
            }
          }
        ],
        "ChangeTracker": {
          "$id": "5",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {
            "StripValue": [
              {
                "$ref": "3"
              }
            ]
          }
        }
      }
    ],
    "ExperimentFactorProduct": [
      {
        "$id": "6",
        "ExperimentFactorProductId": "f19df361-4fa3-4b35-8e85-fb4842150574",
        "ExperimentFactorId": "e702c794-f3a6-4fb3-a1c2-33faf7f8e29b",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-10-15T03:17:58.1472341+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-10-15T03:17:58.1472341+00:00",
        "SubProductCode": "sample string 10",
        "NumberReservedUnits": 1,
        "TotalNumberUnitsAllProduct": 1,
        "StripSeedLocallySourced": true,
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [],
        "ChangeTracker": {
          "$id": "7",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {}
        }
      }
    ],
    "StripValue": [
      {
        "$ref": "3"
      }
    ],
    "ChangeTracker": {
      "$id": "8",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "ExperimentFactorValue": [
          {
            "$ref": "2"
          }
        ],
        "StripValue": [
          {
            "$ref": "3"
          }
        ],
        "ExperimentFactorProduct": [
          {
            "$ref": "6"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfExperimentFactor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ExperimentFactor i:nil="true" />
  <ExperimentFactor z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AddDate>2026-10-15T03:17:58.1472341+00:00</AddDate>
    <AddName>sample string 6</AddName>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentFactorValue</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="ExperimentFactorValue">
              <AddDate>2026-10-15T03:17:58.1472341+00:00</AddDate>
              <AddName>sample string 5</AddName>
              <ChangeTracker z:Id="i4">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties>
                  <AddedObjectsForProperty>
                    <CollectionPropertyName>StripValue</CollectionPropertyName>
                    <AddedObjects>
                      <ObjectValue z:Id="i5" i:type="StripValue">
                        <AddDate>2026-10-15T03:17:58.1472341+00:00</AddDate>
                        <AddName>sample string 5</AddName>
                        <ChangeTracker z:Id="i6">
                          <ExtendedProperties />
                          <ObjectsAddedToCollectionProperties />
                          <ObjectsRemovedFromCollectionProperties />
                          <OriginalValues />
                          <State>Added</State>
                        </ChangeTracker>
                        <ExperimentFactor z:Ref="i1" />
                        <ExperimentFactorId>e702c794-f3a6-4fb3-a1c2-33faf7f8e29b</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>002755dd-b8e4-4437-ad32-3d28ae55c051</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>1b5b8b46-fc97-4f4a-a184-42a587240726</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-10-15T03:17:58.1472341+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>f1c2b2f8-ad7c-42bf-9217-9b181addc5b6</StripId>
                        <StripValueId>58d3cc2f-3ef6-488a-85cc-86aac83c9b58</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>e702c794-f3a6-4fb3-a1c2-33faf7f8e29b</ExperimentFactorId>
              <ExperimentFactorValueId>1b5b8b46-fc97-4f4a-a184-42a587240726</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-10-15T03:17:58.1472341+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 7</LastMaintenanceName>
              <ShortValue>sample string 4</ShortValue>
              <SortOrder>3</SortOrder>
              <StripValue>
                <StripValue z:Ref="i5" />
              </StripValue>
              <Value>1.1</Value>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
        <AddedObjectsForProperty>
          <CollectionPropertyName>StripValue</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Ref="i5" />
          </AddedObjects>
        </AddedObjectsForProperty>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentFactorProduct</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i7" i:type="ExperimentFactorProduct">
              <AddDate>2026-10-15T03:17:58.1472341+00:00</AddDate>
              <AddName>sample string 6</AddName>
              <Brand i:nil="true" />
              <BrandId>3</BrandId>
              <ChangeTracker z:Id="i8">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties />
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>e702c794-f3a6-4fb3-a1c2-33faf7f8e29b</ExperimentFactorId>
              <ExperimentFactorProductId>f19df361-4fa3-4b35-8e85-fb4842150574</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-10-15T03:17:58.1472341+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 8</LastMaintenanceName>
              <NumberReservedUnits>1</NumberReservedUnits>
              <SortOrder>5</SortOrder>
              <StripSeedLocallySourced>true</StripSeedLocallySourced>
              <StripValue />
              <SubProductCode>sample string 10</SubProductCode>
              <TotalNumberUnitsAllProduct>1</TotalNumberUnitsAllProduct>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Experiment i:nil="true" />
    <ExperimentFactorId>e702c794-f3a6-4fb3-a1c2-33faf7f8e29b</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>bd5b518f-17af-4d30-9e24-618ff651eabc</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-10-15T03:17:58.1472341+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ExperimentFactor
NameDescriptionTypeAdditional information
ExperimentFactorId

globally unique identifier

None.

ExperimentId

globally unique identifier

None.

SortOrder

integer

None.

TraitId

integer

None.

FieldLayout

string

None.

AddName

string

None.

AddDate

date

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

Experiment

Experiment

None.

ExperimentFactorValue

Collection of ExperimentFactorValue

None.

ExperimentFactorProduct

Collection of ExperimentFactorProduct

None.

StripValue

Collection of StripValue

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "ExperimentFactorId": "1a3c20a7-70dc-45ac-b9a7-829521e8c811",
    "ExperimentId": "92ed4325-c6e3-437e-a366-b9d29ee1434c",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-10-15T03:17:58.1784869+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-10-15T03:17:58.1784869+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "4c4fc7e2-552d-42d4-83f6-4e08c7a0e79b",
        "ExperimentFactorId": "1a3c20a7-70dc-45ac-b9a7-829521e8c811",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-10-15T03:17:58.1949233+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-10-15T03:17:58.1949233+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "95e25ff6-057e-4890-8ca0-5c05d10fca11",
            "StripId": "9d12a3f9-26fd-439e-8179-c8da5692825a",
            "ExperimentFactorId": "1a3c20a7-70dc-45ac-b9a7-829521e8c811",
            "ExperimentFactorValueId": "4c4fc7e2-552d-42d4-83f6-4e08c7a0e79b",
            "ExperimentFactorProductId": "123832a7-9df7-41cf-bfa4-cb3236d18950",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-10-15T03:17:58.1949233+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-10-15T03:17:58.1949233+00:00",
            "ExperimentFactorValue": {
              "$ref": "2"
            },
            "ExperimentFactor": {
              "$ref": "1"
            },
            "ChangeTracker": {
              "$id": "4",
              "State": 2,
              "ObjectsRemovedFromCollectionProperties": {},
              "OriginalValues": {},
              "ExtendedProperties": {},
              "ObjectsAddedToCollectionProperties": {}
            }
          }
        ],
        "ChangeTracker": {
          "$id": "5",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {
            "StripValue": [
              {
                "$ref": "3"
              }
            ]
          }
        }
      }
    ],
    "ExperimentFactorProduct": [
      {
        "$id": "6",
        "ExperimentFactorProductId": "3d89654c-1226-41ad-9438-04a1a1aceeb1",
        "ExperimentFactorId": "1a3c20a7-70dc-45ac-b9a7-829521e8c811",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-10-15T03:17:58.1949233+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-10-15T03:17:58.1949233+00:00",
        "SubProductCode": "sample string 10",
        "NumberReservedUnits": 1,
        "TotalNumberUnitsAllProduct": 1,
        "StripSeedLocallySourced": true,
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [],
        "ChangeTracker": {
          "$id": "7",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {}
        }
      }
    ],
    "StripValue": [
      {
        "$ref": "3"
      }
    ],
    "ChangeTracker": {
      "$id": "8",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "ExperimentFactorValue": [
          {
            "$ref": "2"
          }
        ],
        "StripValue": [
          {
            "$ref": "3"
          }
        ],
        "ExperimentFactorProduct": [
          {
            "$ref": "6"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfExperimentFactor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ExperimentFactor i:nil="true" />
  <ExperimentFactor z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AddDate>2026-10-15T03:17:58.1784869+00:00</AddDate>
    <AddName>sample string 6</AddName>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentFactorValue</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="ExperimentFactorValue">
              <AddDate>2026-10-15T03:17:58.1949233+00:00</AddDate>
              <AddName>sample string 5</AddName>
              <ChangeTracker z:Id="i4">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties>
                  <AddedObjectsForProperty>
                    <CollectionPropertyName>StripValue</CollectionPropertyName>
                    <AddedObjects>
                      <ObjectValue z:Id="i5" i:type="StripValue">
                        <AddDate>2026-10-15T03:17:58.1949233+00:00</AddDate>
                        <AddName>sample string 5</AddName>
                        <ChangeTracker z:Id="i6">
                          <ExtendedProperties />
                          <ObjectsAddedToCollectionProperties />
                          <ObjectsRemovedFromCollectionProperties />
                          <OriginalValues />
                          <State>Added</State>
                        </ChangeTracker>
                        <ExperimentFactor z:Ref="i1" />
                        <ExperimentFactorId>1a3c20a7-70dc-45ac-b9a7-829521e8c811</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>123832a7-9df7-41cf-bfa4-cb3236d18950</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>4c4fc7e2-552d-42d4-83f6-4e08c7a0e79b</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-10-15T03:17:58.1949233+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>9d12a3f9-26fd-439e-8179-c8da5692825a</StripId>
                        <StripValueId>95e25ff6-057e-4890-8ca0-5c05d10fca11</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>1a3c20a7-70dc-45ac-b9a7-829521e8c811</ExperimentFactorId>
              <ExperimentFactorValueId>4c4fc7e2-552d-42d4-83f6-4e08c7a0e79b</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-10-15T03:17:58.1949233+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 7</LastMaintenanceName>
              <ShortValue>sample string 4</ShortValue>
              <SortOrder>3</SortOrder>
              <StripValue>
                <StripValue z:Ref="i5" />
              </StripValue>
              <Value>1.1</Value>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
        <AddedObjectsForProperty>
          <CollectionPropertyName>StripValue</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Ref="i5" />
          </AddedObjects>
        </AddedObjectsForProperty>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentFactorProduct</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i7" i:type="ExperimentFactorProduct">
              <AddDate>2026-10-15T03:17:58.1949233+00:00</AddDate>
              <AddName>sample string 6</AddName>
              <Brand i:nil="true" />
              <BrandId>3</BrandId>
              <ChangeTracker z:Id="i8">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties />
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>1a3c20a7-70dc-45ac-b9a7-829521e8c811</ExperimentFactorId>
              <ExperimentFactorProductId>3d89654c-1226-41ad-9438-04a1a1aceeb1</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-10-15T03:17:58.1949233+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 8</LastMaintenanceName>
              <NumberReservedUnits>1</NumberReservedUnits>
              <SortOrder>5</SortOrder>
              <StripSeedLocallySourced>true</StripSeedLocallySourced>
              <StripValue />
              <SubProductCode>sample string 10</SubProductCode>
              <TotalNumberUnitsAllProduct>1</TotalNumberUnitsAllProduct>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Experiment i:nil="true" />
    <ExperimentFactorId>1a3c20a7-70dc-45ac-b9a7-829521e8c811</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>92ed4325-c6e3-437e-a366-b9d29ee1434c</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-10-15T03:17:58.1784869+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>