POST ExperimentMeasurement/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ExperimentId": "b9ec75e1-dfa5-42ed-bff6-d1ac8681c9c9",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "LastMaintenanceName": "sample string 6",
    "LastMaintenanceDate": "2024-12-06T17:25:06.6607246+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>b9ec75e1-dfa5-42ed-bff6-d1ac8681c9c9</ExperimentId>
    <IsLocationDefault>true</IsLocationDefault>
    <IsLocationMeasurement>true</IsLocationMeasurement>
    <IsStripDefault>true</IsStripDefault>
    <IsStripMeasurement>true</IsStripMeasurement>
    <LastMaintenanceDate>2024-12-06T17:25:06.6607246+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

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": "ebe518ff-d47c-4c60-a9aa-8cc957afeca4",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "LastMaintenanceName": "sample string 6",
    "LastMaintenanceDate": "2024-12-06T17:25:06.8489167+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>ebe518ff-d47c-4c60-a9aa-8cc957afeca4</ExperimentId>
    <IsLocationDefault>true</IsLocationDefault>
    <IsLocationMeasurement>true</IsLocationMeasurement>
    <IsStripDefault>true</IsStripDefault>
    <IsStripMeasurement>true</IsStripMeasurement>
    <LastMaintenanceDate>2024-12-06T17:25:06.8489167+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>