Code lists and field rules

All codes used by the Claim API v3 and Policy API v2.

Contents: Result codes · Settlement status · Cause type · Item type · Identifiers · Mandatory fields · Field lengths · Response-only labels · Languages and markets · Policy API codes

Claim API result codes (resultCode)

Returned with HTTP 200. The text in resultText is localized according to lang.

CodeMeaningWhat to do
100SuccessContinue.
400Mandatory data missing or in the wrong formatFix the request. Do not retry unchanged.
410Clinic authentication failedAsk the clinic to update its PetExpert login.
420Object not found or not in an allowed state (policy, vet benefit, claim, incident, settlement)Show resultText to the user.
510Record could not be createdCheck GetOpenClaims for a partly created claim before retrying.
520Record could not be updatedRetry later or contact support.
999Unknown error, or the settlement could not be read after creationCheck GetOpenClaims / GetIncidentStatus before resubmitting.

Gateway errors use HTTP status codes instead: 401 (subscription key), 429 (rate limit), 5xx.

Settlement status (statusCode)

CodeLabel (en)MeaningcoveredBook insurance payment?CancelIncident
1NewCreated, not yet evaluatedprovisionalNo - poll againallowed
856900000ProcessingUnder manual review by PetExpert0No - poll againallowed
856900001ConfirmedApproved, will be paidpayable amountYesallowed
856900003PaidPayment sentpaid amountYesrefused (420)
856900002Canceled/RejectedNot covered0Norefused (420)
856900004Canceled/RejectedCancelled0Norefused (420)
2InactiveSettlement deactivated0Norefused (420)
999-Asynchronous submission accepted; result not available yet0No - poll GetIncidentStatus-

Cause type (causeType)

ValueMeaning
1Illness
2Accident / injury

Any value other than 1 is treated as accident / injury. The claim type is set by PetExpert and is not an input (there is no claimType field in v2).

Cost item type (items[].type)

ValueMeaningExamples
1MaterialBandages, implants, consumables
2TreatmentExamination, surgery, anaesthesia, hospitalisation
3Other servicesLaboratory, imaging, external services
4MedicationDrugs, vaccines, injections
5FoodDiet and food (usually not covered)
6AdministrationFees, reports, certificates
7OtherAnything else

Send items that are known not to be insured with exclude: true. They are stored but not settled.

Identifiers

FieldFormatExampleSource
policyNumber10 digits, sent as a string1234250115Policy document
claimNumber / claimNrCL + 10 digits (12 characters)CL9025123456AddNewClaim
incidentNumber / incidentNrIN + 10 digits (12 characters)IN9512345678AddNewClaim, AddNewIncident
partnerIDProvider codeVET00123GetAccount (derived from the clinic login)
sid, policyIdGUID6f1c2a3b-4d5e-4f60-8a7b-9c0d1e2f3a4bResponses
trace32 hex characters3f2b9c1e8a7d4b6f9e0a1c2d3e4f5a6bEvery response

Mandatory fields

All clinic methods also need userName and password. Send swName, swVersion and lang on every call.

MethodMandatoryOptional
AddNewClaim policyNumber, claimName, causeType, description, incident.clinicalSignsFrom (key present, not null), incident.items[] (at least one) with name, code, type, amount async, incident.medicalReport, incident.comment, incident.visitDate, incident.preauthorization, incident.externalid, item quantity, unitPrice, exclude, itemNote, mdb
AddNewIncident claimNumber (12 characters), incident.clinicalSignsFrom (key present, not null), incident.items[] as above async, incident.incidentName, incident.medicalReport, incident.visitDate, incident.preauthorization, incident.externalid
GetIncidentStatus, GetIncidentDetail, CancelIncidentincidentNumber-
ConfirmIncidentincidentNumberholdPayment
UpdateDayreportincidentNumber, dayReport-
GetActivePolicy, GetCurrentBalance, GetOpenClaimspolicyNumber-
GetClaimclaimNr-
GetIncidentListpartnerId (from GetAccount, not empty or 0)-
GetPolicyByPolicyIDpolicyId (no clinic login)-

Field lengths

Field (legacy name)MaximumBehaviour when longer
claimName200 charactersTruncated
description (detail, causeDescription)10,000 charactersTruncated
incident.medicalReport / incident.comment (incidentDetail)10,000 charactersTruncated
incident.incidentName (AddNewIncident)200 charactersTruncated
items[].name (itemName)<ITEM_NAME_MAX_LENGTH> - keep to 200Not truncated by the API; may fail when stored
items[].code (itemCode)<ITEM_CODE_MAX_LENGTH> - keep to 100Not truncated by the API
items[].itemNote (itemNote)<ITEM_NOTE_MAX_LENGTH> - keep to 2,000Not truncated by the API

Response-only labels

These fields are returned by GetIncidentDetail as localized text. They are not inputs and their wording can change with lang; do not parse them.

FieldMeaning
incidentCauseIncident reason label set by PetExpert.
documentTypeSource of the incident. Incidents created through the API have the type VetNet.
incidentStatusIncident processing status label (for example New, Settled).
incidentStateActive / Inactive. Cancelled incidents are inactive.
lastIncidentBoolean: the incident closes the claim. Always false for incidents created through the API.
separateSettlementBoolean: the incident has its own settlement. true for incidents created through the API.

Languages and markets

langLanguage
czCzech
skSlovak
plPolish
enEnglish
jpJapanese
MarketPath segmentCurrency
Czech RepublicczCZK
SlovakiaskEUR
PolandplPLN
BelgiumbeEUR

Policy API codes

Policy type (policy.type)

ValueMeaning
stStandard - waits for payment via paylink. Default when type is omitted.
exExpress - issued by a vet clinic, activated by the customer. Must be sent explicitly. See Express policy.
vtStandby - activated later by the customer via a link
ex2Express follow-up
bcBreeder
trTravel

Animal type and sex

FieldValueMeaningAccepted aliases
animal.typed / 856900000DogPes
animal.typec / 856900001CatKočka, Mačka
animal.sex856900000Female dogFena, Suka
animal.sex856900001Female catKočka, Mačka
animal.sex856900002Male dogPes
animal.sex856900003Male catKocour, Kocúr

Policy status (GetPolicyStatus.status)

ValueMeaning
0Waiting for payment
1Active
9Not found
20Not activated - offer cancelled
21Terminated on customer request
22Terminated by insurer
23Not renewed
99Other state, including an express policy not yet activated by the customer

Products and pricing