AgriWebb API
GraphQL/Objects

TagChangeRecord

No description

type TagChangeRecord implements Record {
  recordId: ID!
  recordType: RecordType
  observationDate: Timestamp
  sessionId: ID
  animalId: ID!
  operation: TagChangeOperation!
  addedTags: [AnimalTag]
  removedTags: [AnimalTag]
}

Fields

TagChangeRecord.recordId ● ID!
non-null
scalar

TagChangeRecord.recordType ● RecordType
enum

TagChangeRecord.observationDate ● Timestamp
scalar

TagChangeRecord.sessionId ● ID
scalar

TagChangeRecord.animalId ● ID!
non-null
scalar

TagChangeRecord.operation ● TagChangeOperation!
non-null
enum

The type of tag change operation performed

TagChangeRecord.addedTags ● [AnimalTag]
list
object

Tags added to the animal. Populated for ADD operations and the incoming tag for REPLACE operations.

TagChangeRecord.removedTags ● [AnimalTag]
list
object

Tags removed from the animal. Populated for REMOVE operations and the outgoing tag for REPLACE operations (id only).

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

FieldsTagChangeRecord.recordId ● ID!
non-null
scalar
TagChangeRecord.recordType ● RecordType
enum
TagChangeRecord.observationDate ● Timestamp
scalar
TagChangeRecord.sessionId ● ID
scalar
TagChangeRecord.animalId ● ID!
non-null
scalar
TagChangeRecord.operation ● TagChangeOperation!
non-null
enum
TagChangeRecord.addedTags ● [AnimalTag]
list
object
TagChangeRecord.removedTags ● [AnimalTag]
list
object
InterfacesRecord
interface