Migrating from the legacy (PDF / SOAP) interface

Field-by-field mapping from the older SOAP-style interface description to the Claim API v3 (REST/JSON).

The legacy description uses XML-style names (policyNr, itemAmount, blockedAmount, text values such as Nemoc, and OK/NOK results). Claim API v3 uses JSON, numeric codes and numeric result codes. New integrations should use v2 only.

General differences

TopicLegacyClaim API v3
TransportSOAP / XML envelopeHTTPS POST with a JSON body to {baseUrl}/{MethodName}
Gateway authentication-Ocp-Apim-Subscription-Key header
Clinic authenticationUserName, PassworduserName, password in the body
ResultresultCode OK / NOKresultCode 100 = success, others see result codes
StatusText such as 001:Waiting, 002:ResolvedNumeric statusCode + localized status
AmountsStrings, comma or dot ("1 250,50")JSON numbers with a dot (1250.5)
Code valuesCzech texts (Nemoc, Materiál...)Numeric codes
ProcessingAsynchronous, result fetched laterSynchronous by default, or async: true

AddNewClaim

Legacy fieldv2 fieldNotes
policyNrpolicyNumber10-digit string. Mandatory.
claimNameclaimNameMax 200 characters. Mandatory.
causeType (text, Nemoc = illness)causeType1 illness (Nemoc), 2 accident / injury. Mandatory.
detail, causeDescriptiondescriptionMax 10,000 characters. Mandatory.
claimType-Not an input. Set by PetExpert.
incident.incidentDetailincident.medicalReport (or incident.comment)Max 10,000 characters.
incident.clinicalSignsFromincident.clinicalSignsFromyyyy-MM-dd or ""; key mandatory, not null.
incident.incidentStartincident.visitDateyyyy-MM-dd; defaults to today.
incident.preauthorization, preauthorizationincident.preauthorizationJSON boolean. true = simulated incident.
incident.xBankingSSincident.externalidAccepted, not stored.
incident.documentType, incidentCause-Not inputs; returned as labels by GetIncidentDetail.
separateSettlement, lastIncident, treatmentComply, preventionComply-Not inputs. See FAQ.
incident.CostItems.NewCostItem[]incident.items[]At least one item.

Cost items

Legacy fieldv2 fieldNotes
itemNamenameMandatory. Keep to 200 characters.
itemCodecodeMandatory. Send NCD when there is no code.
itemType (text)type (number)See the table below. Mandatory.
itemAmountamountJSON number, dot decimal separator, line total. Mandatory.
itemNoteitemNoteOptional.
-quantity, unitPriceNew, optional, informational. quantity must be an integer.

itemType text to type code

Legacy textv2 typeMeaning
Materiál1Material
Ošetření2Treatment
JinéSlužby3Other services
Medikace4Medication
Krmení5Food
Administrativní6Administration
Jiné7Other

Send the numeric code directly in v2 and pick the most precise category.

AddNewIncident

Legacy fieldv2 fieldNotes
claimNrclaimNumber12 characters (CL...). Mandatory.
inc.incidentNameincident.incidentNameMax 200 characters.
inc.incidentDetailincident.medicalReportMax 10,000 characters.
inc.clinicalSignsFromincident.clinicalSignsFromKey mandatory, not null.
inc.incidentStartincident.visitDateyyyy-MM-dd.
inc.CostItems.NewCostItem[]incident.items[]Same item mapping as above.

Responses

Legacy fieldv2 fieldNotes
resultCode OK / NOKresultCode100 = OK.
claimNrclaimNumber
incidentNrincidentNumber
claimedAmountclaimedNumber.
blockedAmountcoveredBook only for statusCode 856900001 / 856900003. GetIncidentList still uses the name blockedAmount (always 0; use GetIncidentStatus).
claimURLclaimUrl
authentication-Failed login is resultCode 410.
-statusCode, status, currency, directPay, paymentHold, sid, traceNew in v2.

Legacy status texts

Legacy statusv2 statusCode
001:Waiting856900000 Processing, or 999 async pending
002:Resolved856900001 Confirmed
003:Paid856900003 Paid
004:Canceled/Rejected856900002 / 856900004

Methods

Legacy methodClaim API v3
TestConnection, GetAccount, GetActivePolicy, GetCurrentBalance, GetOpenClaims, GetClaimSame name
AddNewClaim, AddNewIncident, ConfirmIncident, CancelIncidentSame name
GetIncidentStatus, GetIncidentDetail, GetIncidentList, UpdateDayreportSame name
GetLastResultDiscontinued. Use GetIncidentStatus / GetIncidentList.
GetPolicyByChipNrAvailable in v3: send chipNr, then use the returned policy number with GetActivePolicy.
AddEdoPolicyPolicy API AddNewPolicy with policy.type: "ex". See Express policy.
RequestPayment, RequestPreauthorizationUse incident.preauthorization: true + ConfirmIncident.