POST LocationStripTrait/Base/DeleteAll

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "LocationStripTraitId": "610d0aab-f648-4cdf-ba42-2e62be68c6d1",
    "LocationStripId": "364ee2f8-67d1-41b0-8b0c-27db531de89f",
    "TraitId": 1,
    "PlannedExperimentTrait": true,
    "Value": 1.1,
    "UnitOfMeasureId": 1,
    "AddName": "sample string 3",
    "AddDate": "2024-12-07T02:19:59.3115409+00:00",
    "LastMaintenanceName": "sample string 5",
    "LastMaintenanceDate": "2024-12-07T02:19:59.3115409+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-07T02:19:59.3115409+00:00</AddDate>
    <AddName>sample string 3</AddName>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <LastMaintenanceDate>2024-12-07T02:19:59.3115409+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <LocationStrip i:nil="true" />
    <LocationStripId>364ee2f8-67d1-41b0-8b0c-27db531de89f</LocationStripId>
    <LocationStripTraitId>610d0aab-f648-4cdf-ba42-2e62be68c6d1</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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.