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": "191192e9-e8aa-44ba-b3ce-6b08893b3f6b", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2024-12-10T06:15:18.8882487+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2024-12-10T06:15:18.8882487+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>2024-12-10T06:15:18.8882487+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>2024-12-10T06:15:18.8882487+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>191192e9-e8aa-44ba-b3ce-6b08893b3f6b</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": "3752ab6d-951b-4327-88cf-1c500e710dc9", "TraitId": 2, "IsStripMeasurement": true, "IsLocationMeasurement": true, "SortOrder": 5, "AddName": "sample string 6", "AddDate": "2024-12-10T06:15:19.0853705+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2024-12-10T06:15:19.0853705+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>2024-12-10T06:15:19.0853705+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>2024-12-10T06:15:19.0853705+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>3752ab6d-951b-4327-88cf-1c500e710dc9</LocationId> <SortOrder>5</SortOrder> <TraitId>2</TraitId> </LocationMeasurement>