POST LocationMeasurement/GetLocationMeasurementsByTraitId/{traitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
traitId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LocationMeasurement
NameDescriptionTypeAdditional 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:
[
  {
    "$id": "1",
    "LocationId": "8a7dc270-ba27-4e1c-bfa2-681dfc7f48c3",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "AddName": "sample string 6",
    "AddDate": "2024-12-26T06:23:40.4461278+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-12-26T06:23:40.4461278+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <LocationMeasurement z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AddDate>2024-12-26T06:23:40.4461278+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-26T06:23:40.4461278+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <Location i:nil="true" />
    <LocationId>8a7dc270-ba27-4e1c-bfa2-681dfc7f48c3</LocationId>
    <SortOrder>5</SortOrder>
    <TraitId>2</TraitId>
  </LocationMeasurement>
  <LocationMeasurement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfLocationMeasurement>