POST ExperimentGroup/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of ExperimentGroupName | Description | Type | Additional information |
---|---|---|---|
ExperimentGroupId | globally unique identifier |
None. |
|
GroupName | string |
None. |
|
Year | integer |
None. |
|
CropId | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Crop | Crop |
None. |
|
ExperimentGrouping | Collection of ExperimentGrouping |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ExperimentGroupId": "0d03e374-cf9d-4b79-bc28-25ff289600d6", "GroupName": "sample string 2", "Year": 3, "CropId": 4, "AddName": "sample string 5", "AddDate": "2024-12-26T05:34:11.1942613+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2024-12-26T05:34:11.1942613+00:00", "ExperimentGrouping": [ { "$id": "2", "ExperimentId": "e4f40126-0f3a-4d02-9879-0aeea7ee165b", "ExperimentGroupId": "0d03e374-cf9d-4b79-bc28-25ff289600d6", "LastMaintenanceName": "sample string 3", "LastMaintenanceDate": "2024-12-26T05:34:11.1942613+00:00", "ExperimentGroup": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ExperimentGrouping": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfExperimentGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ExperimentGroup i:nil="true" /> <ExperimentGroup z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-26T05:34:11.1942613+00:00</AddDate> <AddName>sample string 5</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentGrouping</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ExperimentGrouping"> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Experiment i:nil="true" /> <ExperimentGroup z:Ref="i1" /> <ExperimentGroupId>0d03e374-cf9d-4b79-bc28-25ff289600d6</ExperimentGroupId> <ExperimentId>e4f40126-0f3a-4d02-9879-0aeea7ee165b</ExperimentId> <LastMaintenanceDate>2024-12-26T05:34:11.1942613+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 3</LastMaintenanceName> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Crop i:nil="true" /> <CropId>4</CropId> <ExperimentGroupId>0d03e374-cf9d-4b79-bc28-25ff289600d6</ExperimentGroupId> <ExperimentGrouping> <ExperimentGrouping z:Ref="i3" /> </ExperimentGrouping> <GroupName>sample string 2</GroupName> <LastMaintenanceDate>2024-12-26T05:34:11.1942613+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <Year>3</Year> </ExperimentGroup> </ArrayOfExperimentGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ExperimentGroupName | Description | Type | Additional information |
---|---|---|---|
ExperimentGroupId | globally unique identifier |
None. |
|
GroupName | string |
None. |
|
Year | integer |
None. |
|
CropId | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Crop | Crop |
None. |
|
ExperimentGrouping | Collection of ExperimentGrouping |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ExperimentGroupId": "17d0d2c4-7e0e-4016-bca7-7d9f05134bfd", "GroupName": "sample string 2", "Year": 3, "CropId": 4, "AddName": "sample string 5", "AddDate": "2024-12-26T05:34:11.206004+00:00", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2024-12-26T05:34:11.206004+00:00", "ExperimentGrouping": [ { "$id": "2", "ExperimentId": "89c425d7-9b3c-4c68-8557-ea283e1bfd9d", "ExperimentGroupId": "17d0d2c4-7e0e-4016-bca7-7d9f05134bfd", "LastMaintenanceName": "sample string 3", "LastMaintenanceDate": "2024-12-26T05:34:11.206004+00:00", "ExperimentGroup": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ExperimentGrouping": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfExperimentGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ExperimentGroup i:nil="true" /> <ExperimentGroup z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-26T05:34:11.206004+00:00</AddDate> <AddName>sample string 5</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ExperimentGrouping</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ExperimentGrouping"> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Experiment i:nil="true" /> <ExperimentGroup z:Ref="i1" /> <ExperimentGroupId>17d0d2c4-7e0e-4016-bca7-7d9f05134bfd</ExperimentGroupId> <ExperimentId>89c425d7-9b3c-4c68-8557-ea283e1bfd9d</ExperimentId> <LastMaintenanceDate>2024-12-26T05:34:11.206004+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 3</LastMaintenanceName> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Crop i:nil="true" /> <CropId>4</CropId> <ExperimentGroupId>17d0d2c4-7e0e-4016-bca7-7d9f05134bfd</ExperimentGroupId> <ExperimentGrouping> <ExperimentGrouping z:Ref="i3" /> </ExperimentGrouping> <GroupName>sample string 2</GroupName> <LastMaintenanceDate>2024-12-26T05:34:11.206004+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <Year>3</Year> </ExperimentGroup> </ArrayOfExperimentGroup>