AgriWebb API
GraphQL/Objects

WeighRecord

No description

type WeighRecord implements Record {
  recordId: ID!
  recordType: RecordType
  recordInputType: RecordInputType
  weight: Weight
  animalId: ID!
  observationDate: Timestamp
  sessionId: ID
  weighEvent: WeighEventType
}

Fields

WeighRecord.recordId ● ID!
non-null
scalar

WeighRecord.recordType ● RecordType
enum

WeighRecord.recordInputType ● RecordInputType
enum

Describes how it was recorded (e.g. Live or Bulk)

WeighRecord.weight ● Weight
object

Used for individual weight entry, each animal can have a different weight

WeighRecord.animalId ● ID!
non-null
scalar

Id of the animal

WeighRecord.observationDate ● Timestamp
scalar

Timestamp the record was observed

WeighRecord.sessionId ● ID
scalar

Session id

WeighRecord.weighEvent ● WeighEventType
enum

Weigh event type

Interfaces

Record
interface

Polymorphic parent type of various records regularly recorded against an animal. There is generally a 0-n relationship between these records and the individual, ie: the animal may have multiple records of the same type recorded against it over time

On this page

FieldsWeighRecord.recordId ● ID!
non-null
scalar
WeighRecord.recordType ● RecordType
enum
WeighRecord.recordInputType ● RecordInputType
enum
WeighRecord.weight ● Weight
object
WeighRecord.animalId ● ID!
non-null
scalar
WeighRecord.observationDate ● Timestamp
scalar
WeighRecord.sessionId ● ID
scalar
WeighRecord.weighEvent ● WeighEventType
enum
InterfacesRecord
interface