DevelopersDocumentation

UEAD / DEVELOPER REFERENCE

Data models & submissions

Understand the JSON contracts for animal registration and welfare reporting.

Submission flow

Two production submission endpoints

The public API currently accepts animal registrations and animal welfare reports. Other internal UEAD forms are not exposed through this API yet.

POST /animals

Animal registration with animals:write. Allowed fields depend on profile and species.

POST /reports

Welfare report with reports:write. A valid place identifier is required.

Required for production requests: Authorization: Bearer ..., Content-Type: application/json, Idempotency-Key (20–80 characters; [A–Z,a–z,0–9,-]).

01 / animals:write

Animal registration

The request contains fields in data. For organizations, keeping context and custodian role must match the current profile policy.

POST /developers/api/v1/animals · JSON
{
  "locale": "hu",
  "data": {
    "species": "dog",
    "animalName": "Minta kutya",
    "sex": "female",
    "ageKnowledge": "unknown",
    "chipStatus": "unchecked",
    "originCountryStatus": "unknown",
    "currentLocationMode": "owner",
    "keepingContext": "private",
    "custodianRole": "owner"
  }
}
FieldRequired / conditionNotes
data.speciesigen / yesdog, cat, horse, rabbit, cattle, pig; más fajhoz speciesCatalogId is kellhet
data.animalNameigen / yesAz állat neve
data.sexigen / yesmale | female | unknown
data.ageKnowledgeigen / yesexact | estimated | unknown
data.keepingContextigen / yesprivate | shelter | found | organization | livestock, az aktív profil szabályai szerint
data.custodianRoleigen / yesowner | keeper | rescuer | organization | unknown, az aktív profil szabályai szerint
data.originCountryStatusigen / yesknown | unknown; known esetén originCountryCode is szükséges
data.currentLocationModeigen / yesowner | registrar | custom | unspecified; custom esetén currentPlaceId is kell
data.chipStatusfajfüggőknown | none | unchecked (ha az állatfaj előírja)
privacynem / optionalOpcionális adatvédelmi beállítások objektuma

The server derives organization from the authenticated UEAD profile; ownership cannot be overridden by the caller.

02 / reports:write

Welfare report

Alongside data, up to 30 animals and 30 entities entries can be submitted. Reporter identity comes from the authenticated profile.

POST /developers/api/v1/reports · JSON
{
  "locale": "hu",
  "data": {
    "category": "neglect",
    "urgency": "ongoing",
    "eventPlaceId": "HELY_AZONOSITO_A_KATALOGUSBOL",
    "knowledgeSource": "observed",
    "eventDescription": "Tartósan nem megfelelő tartási körülmények.",
    "reporterMode": "identified"
  },
  "animals": [
    {"species": "dog", "count": 1, "description": "Közepes testű kutya"}
  ],
  "entities": []
}
Important: eventPlaceId must be a valid UEAD place ID; the value shown is a placeholder, not a working identifier.
FieldExpected value
data.categoryA report-form kategóriakatalógus egyik kulcsa (például neglect, abuse, welfare_concern)
data.urgencyimmediate | ongoing | past | unknown
data.eventPlaceIdUEAD helyazonosító (kötelező)
data.knowledgeSourceobserved | professional | received | concern
data.eventDescriptionAz esemény szöveges leírása (kötelező)
data.reporterModeAz API azonosított beküldésre állítja (identified)
animals[]species, count (pozitív egész), identifier, description
entities[]type: person | organization | unknown; name, recordId, description

SCHEMA REFERENCE

Additional supported data fields

These fields are recognized by the production validator. Profile, species and context can impose additional restrictions.

Animal – appearance, measurements and identity

speciesCatalogId, otherSpecies, variant, variantType, variantIds, breedIds, colorIds, breed, sterilized, birthDate, estimatedAge, estimatedAgeUnit, sizeCategory, weightKg, withersHeightCm, bodyLengthCm, chestCircumferenceCm, color, coatLength, coatTexture, distinguishingMarks, microchip, purebred.

Animal – care, location and documents

housingType, keepingContext, originCountryCode, currentPlaceId, currentAddress, currentLocationMode, custodianRole, custodianName, foundPlaceId, foundDate, foundDetails, hasPassport, passportNumber, hasPedigree, pedigreeNumber, hasVaccinationBook, vaccinationBookNumber, documentNote, primaryPhotoName.

Report – conditional fields

eventDate, eventTime, eventPlace, eventAddress, locationDetails, animalDetails, advertUrl, activityDetails, vehiclePlate, transportDetails, previousReport, documentNote.

Advertisement links apply to certain breeding/trade cases; vehicle fields apply to transport cases.

03 / sandbox

Sandbox request format

Sandbox uses separate test storage and a smaller schema. Do not submit the production payload unchanged.

Sandbox POST /animals · JSON
{
  "data": {
    "name": "Sandbox tesztállat",
    "species": "dog",
    "sex": "female"
  }
}

Sandbox animals.data: name, species, sex, animalState, microchip. reports.data: category, urgency, place, eventDate, status.

Sandbox values are short strings (up to 150 characters), isolated by app and profile.