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": "2bd1eefa-7645-479a-bad4-ba546a33a927",
    "ExperimentId": "4d0a36e6-3d4c-45c1-a85e-76d080d49485",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2024-12-07T11:27:43.9682369+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-12-07T11:27:43.9682369+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "448e2a87-87e6-44c9-9540-9f226c091fb5",
        "ExperimentFactorId": "2bd1eefa-7645-479a-bad4-ba546a33a927",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2024-12-07T11:27:43.9788206+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2024-12-07T11:27:43.9788206+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "2a185182-e4fa-4527-9d24-1589d823a230",
            "StripId": "6e93611d-5a88-444d-b9f7-55ee54547d8f",
            "ExperimentFactorId": "2bd1eefa-7645-479a-bad4-ba546a33a927",
            "ExperimentFactorValueId": "448e2a87-87e6-44c9-9540-9f226c091fb5",
            "ExperimentFactorProductId": "96fefe5c-4801-4a5e-b149-4154039740a9",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2024-12-07T11:27:43.9788206+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2024-12-07T11:27:43.9788206+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": "17967e9a-0196-4c17-aa51-8b308194bc86",
        "ExperimentFactorId": "2bd1eefa-7645-479a-bad4-ba546a33a927",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2024-12-07T11:27:43.9788206+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2024-12-07T11:27:43.9788206+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>2024-12-07T11:27:43.9682369+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>2024-12-07T11:27:43.9788206+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>2024-12-07T11:27:43.9788206+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>2bd1eefa-7645-479a-bad4-ba546a33a927</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>96fefe5c-4801-4a5e-b149-4154039740a9</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>448e2a87-87e6-44c9-9540-9f226c091fb5</ExperimentFactorValueId>
                        <LastMaintenanceDate>2024-12-07T11:27:43.9788206+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>6e93611d-5a88-444d-b9f7-55ee54547d8f</StripId>
                        <StripValueId>2a185182-e4fa-4527-9d24-1589d823a230</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>2bd1eefa-7645-479a-bad4-ba546a33a927</ExperimentFactorId>
              <ExperimentFactorValueId>448e2a87-87e6-44c9-9540-9f226c091fb5</ExperimentFactorValueId>
              <LastMaintenanceDate>2024-12-07T11:27:43.9788206+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>2024-12-07T11:27:43.9788206+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>2bd1eefa-7645-479a-bad4-ba546a33a927</ExperimentFactorId>
              <ExperimentFactorProductId>17967e9a-0196-4c17-aa51-8b308194bc86</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2024-12-07T11:27:43.9788206+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>2bd1eefa-7645-479a-bad4-ba546a33a927</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>4d0a36e6-3d4c-45c1-a85e-76d080d49485</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2024-12-07T11:27:43.9682369+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": "3004e50f-1309-46f9-b86c-d4ec231f6af9",
    "ExperimentId": "6231b15c-97e2-4edc-92e3-ccdf0b2eed40",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2024-12-07T11:27:44.1826174+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-12-07T11:27:44.1826174+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "5f66aa67-b12f-4854-9b4b-2e681553ac3b",
        "ExperimentFactorId": "3004e50f-1309-46f9-b86c-d4ec231f6af9",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2024-12-07T11:27:44.200059+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2024-12-07T11:27:44.200059+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "1cbfa69e-b407-44ac-afe0-155b31745293",
            "StripId": "b496b7e1-8413-42ff-bfed-7bfc2f3aeae9",
            "ExperimentFactorId": "3004e50f-1309-46f9-b86c-d4ec231f6af9",
            "ExperimentFactorValueId": "5f66aa67-b12f-4854-9b4b-2e681553ac3b",
            "ExperimentFactorProductId": "ea98379e-67f0-4558-a252-67cbbb57c9ee",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2024-12-07T11:27:44.200059+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2024-12-07T11:27:44.200059+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": "f593a79d-b4f9-4661-8fa9-b9b0b26e4123",
        "ExperimentFactorId": "3004e50f-1309-46f9-b86c-d4ec231f6af9",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2024-12-07T11:27:44.200059+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2024-12-07T11:27:44.200059+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>2024-12-07T11:27:44.1826174+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>2024-12-07T11:27:44.200059+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>2024-12-07T11:27:44.200059+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>3004e50f-1309-46f9-b86c-d4ec231f6af9</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>ea98379e-67f0-4558-a252-67cbbb57c9ee</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>5f66aa67-b12f-4854-9b4b-2e681553ac3b</ExperimentFactorValueId>
                        <LastMaintenanceDate>2024-12-07T11:27:44.200059+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>b496b7e1-8413-42ff-bfed-7bfc2f3aeae9</StripId>
                        <StripValueId>1cbfa69e-b407-44ac-afe0-155b31745293</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>3004e50f-1309-46f9-b86c-d4ec231f6af9</ExperimentFactorId>
              <ExperimentFactorValueId>5f66aa67-b12f-4854-9b4b-2e681553ac3b</ExperimentFactorValueId>
              <LastMaintenanceDate>2024-12-07T11:27:44.200059+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>2024-12-07T11:27:44.200059+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>3004e50f-1309-46f9-b86c-d4ec231f6af9</ExperimentFactorId>
              <ExperimentFactorProductId>f593a79d-b4f9-4661-8fa9-b9b0b26e4123</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2024-12-07T11:27:44.200059+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>3004e50f-1309-46f9-b86c-d4ec231f6af9</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>6231b15c-97e2-4edc-92e3-ccdf0b2eed40</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2024-12-07T11:27:44.1826174+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>