AgriWebb API
GraphQL/Mutations

addRecords

Add one or more records of mixed types for one or more animals in a single call. The purchase record creates the animal and records the purchase in one operation. All other record types apply to existing animals, identified by vid, eid, or animalId.

Records are grouped into internal command chunks of up to 50 records each. If a chunk fails, all records within that chunk fail together. Errors are returned per record in the payload.

**scopes required:** write:sessions, write:animals

addRecords(
  input: AddRecordsInput!
): AddRecordsPayload!

Arguments

addRecords.input ● AddRecordsInput!
non-null
input

Type

AddRecordsPayload
object

On this page

ArgumentsaddRecords.input ● AddRecordsInput!
non-null
input
TypeAddRecordsPayload
object