AgriWebb API
GraphQL/Interfaces

Record

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

interface Record {
  recordId: ID!
  recordType: RecordType
  observationDate: Timestamp
  sessionId: ID
}

Fields

Record.recordId ● ID!
non-null
scalar

Record.recordType ● RecordType
enum

Record.observationDate ● Timestamp
scalar

Timestamp the record was observed. Note: this can be substantially different to when it was created as farmers are able to backdate records.

Record.sessionId ● ID
scalar

Returned By

records

query

Member Of

Animal

object
 ● Session
object

Implemented By

AnimalTreatmentRecord

object
 ● FeedRecord
object
 ● LocationChangedRecord
object
 ● PregnancyScanRecord
object
 ● ScoreRecord
object
 ● WeighRecord
object

On this page

FieldsRecord.recordId ● ID!
non-null
scalar
Record.recordType ● RecordType
enum
Record.observationDate ● Timestamp
scalar
Record.sessionId ● ID
scalar
Returned ByMember OfImplemented By