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": "f673562d-510e-4bc1-abbe-54af6840a846",
    "ExperimentId": "cdaa452d-ffd7-4cfd-952a-a0659a624a43",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-11-22T06:07:25.0238979+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-11-22T06:07:25.0238979+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "b94e9811-a79a-4344-803c-12b42af7a37c",
        "ExperimentFactorId": "f673562d-510e-4bc1-abbe-54af6840a846",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-11-22T06:07:25.033882+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-11-22T06:07:25.033882+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "4f195f2c-4040-4199-a22b-153398e4f19b",
            "StripId": "68efcf32-3640-498e-98c5-25ab431a581c",
            "ExperimentFactorId": "f673562d-510e-4bc1-abbe-54af6840a846",
            "ExperimentFactorValueId": "b94e9811-a79a-4344-803c-12b42af7a37c",
            "ExperimentFactorProductId": "dc98c0ed-52c5-4e50-b79f-c37b8b75b9bf",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-11-22T06:07:25.033882+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-11-22T06:07:25.033882+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": "67fdb5da-51ce-4bc8-8150-7534834333df",
        "ExperimentFactorId": "f673562d-510e-4bc1-abbe-54af6840a846",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-11-22T06:07:25.033882+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-11-22T06:07:25.033882+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-11-22T06:07:25.0238979+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-11-22T06:07:25.033882+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-11-22T06:07:25.033882+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>f673562d-510e-4bc1-abbe-54af6840a846</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>dc98c0ed-52c5-4e50-b79f-c37b8b75b9bf</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>b94e9811-a79a-4344-803c-12b42af7a37c</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-11-22T06:07:25.033882+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>68efcf32-3640-498e-98c5-25ab431a581c</StripId>
                        <StripValueId>4f195f2c-4040-4199-a22b-153398e4f19b</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>f673562d-510e-4bc1-abbe-54af6840a846</ExperimentFactorId>
              <ExperimentFactorValueId>b94e9811-a79a-4344-803c-12b42af7a37c</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-11-22T06:07:25.033882+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-11-22T06:07:25.033882+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>f673562d-510e-4bc1-abbe-54af6840a846</ExperimentFactorId>
              <ExperimentFactorProductId>67fdb5da-51ce-4bc8-8150-7534834333df</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-11-22T06:07:25.033882+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>f673562d-510e-4bc1-abbe-54af6840a846</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>cdaa452d-ffd7-4cfd-952a-a0659a624a43</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-11-22T06:07:25.0238979+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": "8952831c-ffb3-4282-8ac5-728f5d550113",
    "ExperimentId": "4c64f39d-b2d0-4248-9a40-f7bce38908a4",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-11-22T06:07:25.0539532+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-11-22T06:07:25.0539532+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "d3c488be-d57a-4d45-999f-033766ce12c2",
        "ExperimentFactorId": "8952831c-ffb3-4282-8ac5-728f5d550113",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-11-22T06:07:25.0644818+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-11-22T06:07:25.0644818+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "e8b004b1-f5e0-420e-a890-fffd513f026c",
            "StripId": "14d83b89-e5d8-46ff-a240-93c2bc590f39",
            "ExperimentFactorId": "8952831c-ffb3-4282-8ac5-728f5d550113",
            "ExperimentFactorValueId": "d3c488be-d57a-4d45-999f-033766ce12c2",
            "ExperimentFactorProductId": "4acf5084-28bc-4c9d-85a2-333b48f2cac2",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-11-22T06:07:25.0644818+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-11-22T06:07:25.0644818+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": "f63cff88-e28f-4f8e-be68-7c5c3ef577aa",
        "ExperimentFactorId": "8952831c-ffb3-4282-8ac5-728f5d550113",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-11-22T06:07:25.0644818+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-11-22T06:07:25.0644818+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-11-22T06:07:25.0539532+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-11-22T06:07:25.0644818+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-11-22T06:07:25.0644818+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>8952831c-ffb3-4282-8ac5-728f5d550113</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>4acf5084-28bc-4c9d-85a2-333b48f2cac2</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>d3c488be-d57a-4d45-999f-033766ce12c2</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-11-22T06:07:25.0644818+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>14d83b89-e5d8-46ff-a240-93c2bc590f39</StripId>
                        <StripValueId>e8b004b1-f5e0-420e-a890-fffd513f026c</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>8952831c-ffb3-4282-8ac5-728f5d550113</ExperimentFactorId>
              <ExperimentFactorValueId>d3c488be-d57a-4d45-999f-033766ce12c2</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-11-22T06:07:25.0644818+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-11-22T06:07:25.0644818+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>8952831c-ffb3-4282-8ac5-728f5d550113</ExperimentFactorId>
              <ExperimentFactorProductId>f63cff88-e28f-4f8e-be68-7c5c3ef577aa</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-11-22T06:07:25.0644818+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>8952831c-ffb3-4282-8ac5-728f5d550113</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>4c64f39d-b2d0-4248-9a40-f7bce38908a4</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-11-22T06:07:25.0539532+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>