POST ExperimentMeasurement/ValidateSave
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": "e80da8b4-6836-4c40-877e-bad95d9ef7f1", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-26T05:31:49.7904761+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>e80da8b4-6836-4c40-877e-bad95d9ef7f1</ExperimentId> <IsLocationDefault>true</IsLocationDefault> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripDefault>true</IsStripDefault> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2024-12-26T05:31:49.7904761+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
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>