POST ExperimentMeasurement/GetExperimentMeasurementByTraitIdAndCrop
Request Information
URI Parameters
None.
Body Parameters
GetExperimentMeasurementByTraitIdAndCropInputName | Description | Type | Additional information |
---|---|---|---|
traitId | integer |
None. |
|
cropCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "traitId": 1, "cropCode": "sample string 2" }
application/xml, text/xml
Sample:
<ExperimentMeasurementController.GetExperimentMeasurementByTraitIdAndCropInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <cropCode>sample string 2</cropCode> <traitId>1</traitId> </ExperimentMeasurementController.GetExperimentMeasurementByTraitIdAndCropInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ExperimentMeasurementName | Description | Type | Additional information |
---|---|---|---|
ExperimentId | globally unique identifier |
None. |
|
TraitId | integer |
None. |
|
IsStripMeasurement | boolean |
None. |
|
IsLocationMeasurement | boolean |
None. |
|
SortOrder | integer |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Experiment | Experiment |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
|
TraitDescription | string |
None. |
|
IsLocationDefault | boolean |
None. |
|
IsStripDefault | boolean |
None. |
|
DefaultTraitSortOrder | integer |
None. |
|
UnitOfMeasureId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "ExperimentId": "ecad9e93-7e70-4d97-9455-65edd20d92be", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-17T00:03:47.7599995+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} }, "TraitDescription": "sample string 8", "IsLocationDefault": true, "IsStripDefault": true, "DefaultTraitSortOrder": 1, "UnitOfMeasureId": 1 }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfExperimentMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ExperimentMeasurement z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DefaultTraitSortOrder>1</DefaultTraitSortOrder> <Experiment i:nil="true" /> <ExperimentId>ecad9e93-7e70-4d97-9455-65edd20d92be</ExperimentId> <IsLocationDefault>true</IsLocationDefault> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripDefault>true</IsStripDefault> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2024-12-17T00:03:47.7599995+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <SortOrder>5</SortOrder> <TraitDescription>sample string 8</TraitDescription> <TraitId>2</TraitId> <UnitOfMeasureId>1</UnitOfMeasureId> </ExperimentMeasurement> <ExperimentMeasurement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfExperimentMeasurement>