POST ExperimentFactor/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of ExperimentFactorName | Description | Type | Additional 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": "580cd776-6849-41e4-bfcf-a528710bf52c", "ExperimentId": "bdd5576b-b185-46f7-87c5-268305b56d80", "SortOrder": 3, "TraitId": 4, "FieldLayout": "sample string 5", "AddName": "sample string 6", "AddDate": "2025-06-26T11:36:29.1337962+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-06-26T11:36:29.1341201+00:00", "ExperimentFactorValue": [ { "$id": "2", "ExperimentFactorValueId": "c460b1e0-9f4a-4282-b910-a36ff7c14784", "ExperimentFactorId": "580cd776-6849-41e4-bfcf-a528710bf52c", "SortOrder": 3, "Value": 1.1, "ShortValue": "sample string 4", "AddName": "sample string 5", "AddDate": "2025-06-26T11:36:29.1660884+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2025-06-26T11:36:29.1660884+00:00", "ExperimentFactor": { "$ref": "1" }, "StripValue": [ { "$id": "3", "StripValueId": "3096854c-b1c3-4176-b240-58299c294bf2", "StripId": "9d328837-75b6-43f1-afb7-4315b7677608", "ExperimentFactorId": "580cd776-6849-41e4-bfcf-a528710bf52c", "ExperimentFactorValueId": "c460b1e0-9f4a-4282-b910-a36ff7c14784", "ExperimentFactorProductId": "133a3113-6cee-4f10-a97f-150eee27f1e6", "SortOrder": 4, "AddName": "sample string 5", "AddDate": "2025-06-26T11:36:29.1660884+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2025-06-26T11:36:29.1660884+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": "62fd5606-2d6c-48d7-b697-7f3fc720f4a7", "ExperimentFactorId": "580cd776-6849-41e4-bfcf-a528710bf52c", "BrandId": 3.0, "GEId": 4.0, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2025-06-26T11:36:29.1660884+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-06-26T11:36:29.1660884+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>2025-06-26T11:36:29.1337962+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>2025-06-26T11:36:29.1660884+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>2025-06-26T11:36:29.1660884+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>580cd776-6849-41e4-bfcf-a528710bf52c</ExperimentFactorId> <ExperimentFactorProduct i:nil="true" /> <ExperimentFactorProductId>133a3113-6cee-4f10-a97f-150eee27f1e6</ExperimentFactorProductId> <ExperimentFactorValue z:Ref="i3" /> <ExperimentFactorValueId>c460b1e0-9f4a-4282-b910-a36ff7c14784</ExperimentFactorValueId> <LastMaintenanceDate>2025-06-26T11:36:29.1660884+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <SortOrder>4</SortOrder> <Strip i:nil="true" /> <StripId>9d328837-75b6-43f1-afb7-4315b7677608</StripId> <StripValueId>3096854c-b1c3-4176-b240-58299c294bf2</StripValueId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentFactor z:Ref="i1" /> <ExperimentFactorId>580cd776-6849-41e4-bfcf-a528710bf52c</ExperimentFactorId> <ExperimentFactorValueId>c460b1e0-9f4a-4282-b910-a36ff7c14784</ExperimentFactorValueId> <LastMaintenanceDate>2025-06-26T11:36:29.1660884+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>2025-06-26T11:36:29.1660884+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>580cd776-6849-41e4-bfcf-a528710bf52c</ExperimentFactorId> <ExperimentFactorProductId>62fd5606-2d6c-48d7-b697-7f3fc720f4a7</ExperimentFactorProductId> <GEId>4</GEId> <LastMaintenanceDate>2025-06-26T11:36:29.1660884+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>580cd776-6849-41e4-bfcf-a528710bf52c</ExperimentFactorId> <ExperimentFactorProduct> <ExperimentFactorProduct z:Ref="i7" /> </ExperimentFactorProduct> <ExperimentFactorValue> <ExperimentFactorValue z:Ref="i3" /> </ExperimentFactorValue> <ExperimentId>bdd5576b-b185-46f7-87c5-268305b56d80</ExperimentId> <FieldLayout>sample string 5</FieldLayout> <LastMaintenanceDate>2025-06-26T11:36:29.1341201+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 ExperimentFactorName | Description | Type | Additional 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": "e8714d47-7865-4aa4-8caa-094d1193a20e", "ExperimentId": "ca60b2b4-6566-4fd3-bb28-e36b5231d306", "SortOrder": 3, "TraitId": 4, "FieldLayout": "sample string 5", "AddName": "sample string 6", "AddDate": "2025-06-26T11:36:29.2143564+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-06-26T11:36:29.2143564+00:00", "ExperimentFactorValue": [ { "$id": "2", "ExperimentFactorValueId": "0ad9d9b9-a401-4b85-a68c-79db62c1abb0", "ExperimentFactorId": "e8714d47-7865-4aa4-8caa-094d1193a20e", "SortOrder": 3, "Value": 1.1, "ShortValue": "sample string 4", "AddName": "sample string 5", "AddDate": "2025-06-26T11:36:29.2143564+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2025-06-26T11:36:29.2143564+00:00", "ExperimentFactor": { "$ref": "1" }, "StripValue": [ { "$id": "3", "StripValueId": "8060b627-198c-4c0d-9221-5da316ad4bbf", "StripId": "e4a85db0-77b7-442c-86d3-3a8a0937348e", "ExperimentFactorId": "e8714d47-7865-4aa4-8caa-094d1193a20e", "ExperimentFactorValueId": "0ad9d9b9-a401-4b85-a68c-79db62c1abb0", "ExperimentFactorProductId": "64f4507d-1a55-4dbf-b397-38f581aba8b6", "SortOrder": 4, "AddName": "sample string 5", "AddDate": "2025-06-26T11:36:29.2143564+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2025-06-26T11:36:29.2143564+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": "26631707-258f-4fac-8112-3ac7f1c3c359", "ExperimentFactorId": "e8714d47-7865-4aa4-8caa-094d1193a20e", "BrandId": 3.0, "GEId": 4.0, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2025-06-26T11:36:29.2143564+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-06-26T11:36:29.2143564+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>2025-06-26T11:36:29.2143564+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>2025-06-26T11:36:29.2143564+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>2025-06-26T11:36:29.2143564+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>e8714d47-7865-4aa4-8caa-094d1193a20e</ExperimentFactorId> <ExperimentFactorProduct i:nil="true" /> <ExperimentFactorProductId>64f4507d-1a55-4dbf-b397-38f581aba8b6</ExperimentFactorProductId> <ExperimentFactorValue z:Ref="i3" /> <ExperimentFactorValueId>0ad9d9b9-a401-4b85-a68c-79db62c1abb0</ExperimentFactorValueId> <LastMaintenanceDate>2025-06-26T11:36:29.2143564+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <SortOrder>4</SortOrder> <Strip i:nil="true" /> <StripId>e4a85db0-77b7-442c-86d3-3a8a0937348e</StripId> <StripValueId>8060b627-198c-4c0d-9221-5da316ad4bbf</StripValueId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <ExperimentFactor z:Ref="i1" /> <ExperimentFactorId>e8714d47-7865-4aa4-8caa-094d1193a20e</ExperimentFactorId> <ExperimentFactorValueId>0ad9d9b9-a401-4b85-a68c-79db62c1abb0</ExperimentFactorValueId> <LastMaintenanceDate>2025-06-26T11:36:29.2143564+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>2025-06-26T11:36:29.2143564+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>e8714d47-7865-4aa4-8caa-094d1193a20e</ExperimentFactorId> <ExperimentFactorProductId>26631707-258f-4fac-8112-3ac7f1c3c359</ExperimentFactorProductId> <GEId>4</GEId> <LastMaintenanceDate>2025-06-26T11:36:29.2143564+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>e8714d47-7865-4aa4-8caa-094d1193a20e</ExperimentFactorId> <ExperimentFactorProduct> <ExperimentFactorProduct z:Ref="i7" /> </ExperimentFactorProduct> <ExperimentFactorValue> <ExperimentFactorValue z:Ref="i3" /> </ExperimentFactorValue> <ExperimentId>ca60b2b4-6566-4fd3-bb28-e36b5231d306</ExperimentId> <FieldLayout>sample string 5</FieldLayout> <LastMaintenanceDate>2025-06-26T11:36:29.2143564+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <SortOrder>3</SortOrder> <StripValue> <StripValue z:Ref="i5" /> </StripValue> <TraitId>4</TraitId> </ExperimentFactor> </ArrayOfExperimentFactor>