POST LocationMeasurement/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "LocationId": "66b34012-92aa-4f82-b7fd-edd94592aa45",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "AddName": "sample string 6",
    "AddDate": "2024-12-12T23:01:24.7556169+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-12-12T23:01:24.7556169+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-12T23:01:24.7556169+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-12T23:01:24.7556169+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <Location i:nil="true" />
    <LocationId>66b34012-92aa-4f82-b7fd-edd94592aa45</LocationId>
    <SortOrder>5</SortOrder>
    <TraitId>2</TraitId>
  </LocationMeasurement>
  <LocationMeasurement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfLocationMeasurement>

application/x-www-form-urlencoded

Sample:

Sample not available.

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": "2028853a-f156-44d9-990b-b8f1b1105fb3",
    "TraitId": 2,
    "IsStripMeasurement": true,
    "IsLocationMeasurement": true,
    "SortOrder": 5,
    "AddName": "sample string 6",
    "AddDate": "2024-12-12T23:01:24.7757072+00:00",
    "LastMaintenanceName": "sample string 8",
    "LastMaintenanceDate": "2024-12-12T23:01:24.7757072+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-12T23:01:24.7757072+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-12T23:01:24.7757072+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 8</LastMaintenanceName>
    <Location i:nil="true" />
    <LocationId>2028853a-f156-44d9-990b-b8f1b1105fb3</LocationId>
    <SortOrder>5</SortOrder>
    <TraitId>2</TraitId>
  </LocationMeasurement>
  <LocationMeasurement z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfLocationMeasurement>