POST LocationMeasurement/Base/Save
Request Information
URI Parameters
None.
Body Parameters
LocationMeasurementName | Description | Type | Additional information |
---|---|---|---|
LocationId | globally unique identifier |
None. |
|
TraitId | integer |
None. |
|
IsStripMeasurement | boolean |
None. |
|
IsLocationMeasurement | boolean |
None. |
|
SortOrder | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Location | Location |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocationId": "4fccc3eb-bcc1-4c4c-a1a9-22195724b42c", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2025-04-04T14:30:52.5266432+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-04-04T14:30:52.5266432+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }
application/xml, text/xml
Sample:
<LocationMeasurement 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"> <AddDate>2025-04-04T14:30:52.5266432+00:00</AddDate> <AddName>sample string 6</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2025-04-04T14:30:52.5266432+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>4fccc3eb-bcc1-4c4c-a1a9-22195724b42c</LocationId> <SortOrder>5</SortOrder> <TraitId>2</TraitId> </LocationMeasurement>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LocationMeasurementName | Description | Type | Additional information |
---|---|---|---|
LocationId | globally unique identifier |
None. |
|
TraitId | integer |
None. |
|
IsStripMeasurement | boolean |
None. |
|
IsLocationMeasurement | boolean |
None. |
|
SortOrder | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Location | Location |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
{ "LocationId": "8d9b2b42-1a77-428e-8678-21222c65436c", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2025-04-04T14:30:52.5466312+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2025-04-04T14:30:52.5466312+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }
application/xml, text/xml
Sample:
<LocationMeasurement 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"> <AddDate>2025-04-04T14:30:52.5466312+00:00</AddDate> <AddName>sample string 6</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <IsLocationMeasurement>true</IsLocationMeasurement> <IsStripMeasurement>true</IsStripMeasurement> <LastMaintenanceDate>2025-04-04T14:30:52.5466312+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>8d9b2b42-1a77-428e-8678-21222c65436c</LocationId> <SortOrder>5</SortOrder> <TraitId>2</TraitId> </LocationMeasurement>