POST LocationStripTrait/GetLocationStripTraitByTraitId/{traitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
traitId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LocationStripTrait
NameDescriptionTypeAdditional information
LocationStripTraitId

globally unique identifier

None.

LocationStripId

globally unique identifier

None.

TraitId

integer

None.

PlannedExperimentTrait

boolean

None.

Value

decimal number

None.

UnitOfMeasureId

integer

None.

AddName

string

None.

AddDate

date

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

LocationStrip

LocationStrip

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "LocationStripTraitId": "f7c50496-4797-49a0-912d-64e7905c2a16",
    "LocationStripId": "eb773810-511e-4dfc-9408-52848d75c59b",
    "TraitId": 1,
    "PlannedExperimentTrait": true,
    "Value": 1.1,
    "UnitOfMeasureId": 1,
    "AddName": "sample string 3",
    "AddDate": "2024-12-09T05:04:53.5546373+00:00",
    "LastMaintenanceName": "sample string 5",
    "LastMaintenanceDate": "2024-12-09T05:04:53.5546373+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationStripTrait xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <LocationStripTrait z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AddDate>2024-12-09T05:04:53.5546373+00:00</AddDate>
    <AddName>sample string 3</AddName>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <LastMaintenanceDate>2024-12-09T05:04:53.5546373+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <LocationStrip i:nil="true" />
    <LocationStripId>eb773810-511e-4dfc-9408-52848d75c59b</LocationStripId>
    <LocationStripTraitId>f7c50496-4797-49a0-912d-64e7905c2a16</LocationStripTraitId>
    <PlannedExperimentTrait>true</PlannedExperimentTrait>
    <TraitId>1</TraitId>
    <UnitOfMeasureId>1</UnitOfMeasureId>
    <Value>1.1</Value>
  </LocationStripTrait>
  <LocationStripTrait z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfLocationStripTrait>