POST ExperimentFactor/GetByExperimentIdIncludingValues/{experimentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
experimentId

globally unique identifier

Required

Body Parameters

None.

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": "7af7873d-d3c5-475e-9a72-8c7229b14c58",
    "ExperimentId": "87478a87-abac-4413-8fa8-226167fa7895",
    "SortOrder": 3,
    "TraitId": 4,
    "FieldLayout": "sample string 5",
    "AddName": "sample string 6",
    "AddDate": "2024-09-12T15:26:54.0287309+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-09-12T15:26:54.0287309+00:00",
    "ExperimentFactorValue": [
      {
        "$id": "2",
        "ExperimentFactorValueId": "fe938f3e-6a4f-423a-ac61-03b7fff8eeb7",
        "ExperimentFactorId": "7af7873d-d3c5-475e-9a72-8c7229b14c58",
        "SortOrder": 3,
        "Value": 1.1,
        "ShortValue": "sample string 4",
        "AddName": "sample string 5",
        "AddDate": "2024-09-12T15:26:54.0756059+00:00",
        "LastMaintenanceName": "sample string 7",
        "LastMaintenanceDate": "2024-09-12T15:26:54.0756059+00:00",
        "ExperimentFactor": {
          "$ref": "1"
        },
        "StripValue": [
          {
            "$id": "3",
            "StripValueId": "e9fbb01c-d2bf-4f24-bce1-0f34326e3159",
            "StripId": "cb3e3242-3b15-44a4-9c44-1721d6e79c40",
            "ExperimentFactorId": "7af7873d-d3c5-475e-9a72-8c7229b14c58",
            "ExperimentFactorValueId": "fe938f3e-6a4f-423a-ac61-03b7fff8eeb7",
            "ExperimentFactorProductId": "ec761c42-6eb1-42d6-9df2-4587c08edc2a",
            "SortOrder": 4,
            "AddName": "sample string 5",
            "AddDate": "2024-09-12T15:26:54.0756059+00:00",
            "LastMaintenanceName": "sample string 7",
            "LastMaintenanceDate": "2024-09-12T15:26:54.0756059+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": "8b92c63f-642d-4273-a1e6-141f4595ace0",
        "ExperimentFactorId": "7af7873d-d3c5-475e-9a72-8c7229b14c58",
        "BrandId": 3.0,
        "GEId": 4.0,
        "SortOrder": 5,
        "AddName": "sample string 6",
        "AddDate": "2024-09-12T15:26:54.0756059+00:00",
        "LastMaintenanceName": "sample string 8",
        "LastMaintenanceDate": "2024-09-12T15:26:54.0756059+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-09-12T15:26:54.0287309+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-09-12T15:26:54.0756059+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-09-12T15:26:54.0756059+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>7af7873d-d3c5-475e-9a72-8c7229b14c58</ExperimentFactorId>
                        <ExperimentFactorProduct i:nil="true" />
                        <ExperimentFactorProductId>ec761c42-6eb1-42d6-9df2-4587c08edc2a</ExperimentFactorProductId>
                        <ExperimentFactorValue z:Ref="i3" />
                        <ExperimentFactorValueId>fe938f3e-6a4f-423a-ac61-03b7fff8eeb7</ExperimentFactorValueId>
                        <LastMaintenanceDate>2024-09-12T15:26:54.0756059+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 7</LastMaintenanceName>
                        <SortOrder>4</SortOrder>
                        <Strip i:nil="true" />
                        <StripId>cb3e3242-3b15-44a4-9c44-1721d6e79c40</StripId>
                        <StripValueId>e9fbb01c-d2bf-4f24-bce1-0f34326e3159</StripValueId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentFactor z:Ref="i1" />
              <ExperimentFactorId>7af7873d-d3c5-475e-9a72-8c7229b14c58</ExperimentFactorId>
              <ExperimentFactorValueId>fe938f3e-6a4f-423a-ac61-03b7fff8eeb7</ExperimentFactorValueId>
              <LastMaintenanceDate>2024-09-12T15:26:54.0756059+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-09-12T15:26:54.0756059+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>7af7873d-d3c5-475e-9a72-8c7229b14c58</ExperimentFactorId>
              <ExperimentFactorProductId>8b92c63f-642d-4273-a1e6-141f4595ace0</ExperimentFactorProductId>
              <GEId>4</GEId>
              <LastMaintenanceDate>2024-09-12T15:26:54.0756059+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>7af7873d-d3c5-475e-9a72-8c7229b14c58</ExperimentFactorId>
    <ExperimentFactorProduct>
      <ExperimentFactorProduct z:Ref="i7" />
    </ExperimentFactorProduct>
    <ExperimentFactorValue>
      <ExperimentFactorValue z:Ref="i3" />
    </ExperimentFactorValue>
    <ExperimentId>87478a87-abac-4413-8fa8-226167fa7895</ExperimentId>
    <FieldLayout>sample string 5</FieldLayout>
    <LastMaintenanceDate>2024-09-12T15:26:54.0287309+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <SortOrder>3</SortOrder>
    <StripValue>
      <StripValue z:Ref="i5" />
    </StripValue>
    <TraitId>4</TraitId>
  </ExperimentFactor>
</ArrayOfExperimentFactor>