POST ExperimentMeasurement/Base/Save
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "ExperimentId": "9459a5a4-97f8-4525-b1db-2d4b79f0b302", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-26T05:44:23.5735767+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} }, "TraitDescription": "sample string 8", "IsLocationDefault": true, "IsStripDefault": true, "DefaultTraitSortOrder": 1, "UnitOfMeasureId": 1 }
application/xml, text/xml
Sample:
<ExperimentMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DefaultTraitSortOrder>1</DefaultTraitSortOrder> <Experiment i:nil="true" /> <ExperimentId>9459a5a4-97f8-4525-b1db-2d4b79f0b302</ExperimentId> <IsLocationDefault>true</IsLocationDefault> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripDefault>true</IsStripDefault> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2024-12-26T05:44:23.5735767+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <SortOrder>5</SortOrder> <TraitDescription>sample string 8</TraitDescription> <TraitId>2</TraitId> <UnitOfMeasureId>1</UnitOfMeasureId> </ExperimentMeasurement>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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:
{ "ExperimentId": "d2842394-002e-4834-8e0f-8c5df46579b1", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-26T05:44:23.5835732+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} }, "TraitDescription": "sample string 8", "IsLocationDefault": true, "IsStripDefault": true, "DefaultTraitSortOrder": 1, "UnitOfMeasureId": 1 }
application/xml, text/xml
Sample:
<ExperimentMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <DefaultTraitSortOrder>1</DefaultTraitSortOrder> <Experiment i:nil="true" /> <ExperimentId>d2842394-002e-4834-8e0f-8c5df46579b1</ExperimentId> <IsLocationDefault>true</IsLocationDefault> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripDefault>true</IsStripDefault> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2024-12-26T05:44:23.5835732+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <SortOrder>5</SortOrder> <TraitDescription>sample string 8</TraitDescription> <TraitId>2</TraitId> <UnitOfMeasureId>1</UnitOfMeasureId> </ExperimentMeasurement>