POST ExperimentMeasurement/GetTraitMeasurementsByExperimentId/{experimentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
experimentId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ExperimentMeasurement
NameDescriptionTypeAdditional 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": "5f312dd7-86b6-428a-b28e-d5ea7e7b7e41",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "LastMaintenanceName": "sample string 6",
    "LastMaintenanceDate": "2024-12-10T01:55:54.9520951+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>5f312dd7-86b6-428a-b28e-d5ea7e7b7e41</ExperimentId>
    <IsLocationDefault>true</IsLocationDefault>
    <IsLocationMeasurement>true</IsLocationMeasurement>
    <IsStripDefault>true</IsStripDefault>
    <IsStripMeasurement>true</IsStripMeasurement>
    <LastMaintenanceDate>2024-12-10T01:55:54.9520951+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>