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": "15808551-44dc-4e3f-a7b0-dd73000262e8",
    "ExperimentId": "52b221c7-fab3-4b29-b1e5-37896d63598a",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-01-27T11:31:52.5844046+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-01-27T11:31:52.5844046+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "077a8a90-b3f9-4cbe-a8f8-cbe57afce267",
        "ExperimentFactorId": "15808551-44dc-4e3f-a7b0-dd73000262e8",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-01-27T11:31:52.5983148+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-01-27T11:31:52.5983148+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "1ef8905a-7f7c-4c34-b511-7b312b4d75f3",
            "StripId": "83f0bc86-a94e-4406-a775-89e49abb0cea",
            "ExperimentFactorId": "15808551-44dc-4e3f-a7b0-dd73000262e8",
            "ExperimentFactorValueId": "077a8a90-b3f9-4cbe-a8f8-cbe57afce267",
            "ExperimentFactorProductId": "369e6b9b-6911-4d41-946d-a6f9c87f2eee",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-01-27T11:31:52.5983148+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-01-27T11:31:52.5983148+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": "b85059ac-c4b2-4a95-a7f2-ffef9365d735",
        "ExperimentFactorId": "15808551-44dc-4e3f-a7b0-dd73000262e8",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-01-27T11:31:52.5983148+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-01-27T11:31:52.5983148+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-01-27T11:31:52.5844046+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-01-27T11:31:52.5983148+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-01-27T11:31:52.5983148+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>15808551-44dc-4e3f-a7b0-dd73000262e8</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>369e6b9b-6911-4d41-946d-a6f9c87f2eee</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>077a8a90-b3f9-4cbe-a8f8-cbe57afce267</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-01-27T11:31:52.5983148+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>83f0bc86-a94e-4406-a775-89e49abb0cea</StripId>
                        <StripValueId>1ef8905a-7f7c-4c34-b511-7b312b4d75f3</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>15808551-44dc-4e3f-a7b0-dd73000262e8</ExperimentFactorId>
              <ExperimentFactorValueId>077a8a90-b3f9-4cbe-a8f8-cbe57afce267</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-01-27T11:31:52.5983148+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-01-27T11:31:52.5983148+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>15808551-44dc-4e3f-a7b0-dd73000262e8</ExperimentFactorId>
              <ExperimentFactorProductId>b85059ac-c4b2-4a95-a7f2-ffef9365d735</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-01-27T11:31:52.5983148+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>15808551-44dc-4e3f-a7b0-dd73000262e8</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>52b221c7-fab3-4b29-b1e5-37896d63598a</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-01-27T11:31:52.5844046+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": "8e7ab80b-a0b8-4c21-ba26-6392e41255de",
    "ExperimentId": "a1ace646-9ce4-4819-a624-6b30fca69e5b",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2026-01-27T11:31:52.6184197+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2026-01-27T11:31:52.6184197+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "d3104fd0-cf1c-4a21-ab06-bace18bad171",
        "ExperimentFactorId": "8e7ab80b-a0b8-4c21-ba26-6392e41255de",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2026-01-27T11:31:52.6184197+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2026-01-27T11:31:52.6184197+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "a9e47591-99dc-4ec5-889a-3cae172a141f",
            "StripId": "6b9a3bcd-f780-4692-bd78-875ced3c2534",
            "ExperimentFactorId": "8e7ab80b-a0b8-4c21-ba26-6392e41255de",
            "ExperimentFactorValueId": "d3104fd0-cf1c-4a21-ab06-bace18bad171",
            "ExperimentFactorProductId": "952669df-07b9-4f44-a037-74d9159ee8c2",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2026-01-27T11:31:52.6184197+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2026-01-27T11:31:52.6184197+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": "e0685c7e-e809-4147-91cd-ac4e67e027fd",
        "ExperimentFactorId": "8e7ab80b-a0b8-4c21-ba26-6392e41255de",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2026-01-27T11:31:52.6184197+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2026-01-27T11:31:52.6184197+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-01-27T11:31:52.6184197+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-01-27T11:31:52.6184197+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-01-27T11:31:52.6184197+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>8e7ab80b-a0b8-4c21-ba26-6392e41255de</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>952669df-07b9-4f44-a037-74d9159ee8c2</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>d3104fd0-cf1c-4a21-ab06-bace18bad171</ExperimentFactorValueId>
                        <LastMaintenanceDate>2026-01-27T11:31:52.6184197+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>6b9a3bcd-f780-4692-bd78-875ced3c2534</StripId>
                        <StripValueId>a9e47591-99dc-4ec5-889a-3cae172a141f</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>8e7ab80b-a0b8-4c21-ba26-6392e41255de</ExperimentFactorId>
              <ExperimentFactorValueId>d3104fd0-cf1c-4a21-ab06-bace18bad171</ExperimentFactorValueId>
              <LastMaintenanceDate>2026-01-27T11:31:52.6184197+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-01-27T11:31:52.6184197+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>8e7ab80b-a0b8-4c21-ba26-6392e41255de</ExperimentFactorId>
              <ExperimentFactorProductId>e0685c7e-e809-4147-91cd-ac4e67e027fd</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2026-01-27T11:31:52.6184197+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>8e7ab80b-a0b8-4c21-ba26-6392e41255de</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>a1ace646-9ce4-4819-a624-6b30fca69e5b</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2026-01-27T11:31:52.6184197+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>