POST WeighDevice/GetAllCachedWeighDevices

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WeighDevice
NameDescriptionTypeAdditional information
Code

decimal number

None.

Description

string

None.

Value

decimal number

None.

LastMaintenanceDate

date

None.

LastMaintenanceName

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Code": 1.1,
    "Description": "sample string 2",
    "Value": 1.1,
    "LastMaintenanceDate": "2024-12-11T22:03:23.2092203+00:00",
    "LastMaintenanceName": "sample string 4",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWeighDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <WeighDevice z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Code>1.1</Code>
    <Description>sample string 2</Description>
    <LastMaintenanceDate>2024-12-11T22:03:23.2092203+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 4</LastMaintenanceName>
    <Value>1.1</Value>
  </WeighDevice>
  <WeighDevice z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfWeighDevice>