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
| Topic | Legacy | Claim API v3 |
| Transport | SOAP / XML envelope | HTTPS POST with a JSON body to {baseUrl}/{MethodName} |
| Gateway authentication | - | Ocp-Apim-Subscription-Key header |
| Clinic authentication | UserName, Password | userName, password in the body |
| Result | resultCode OK / NOK | resultCode 100 = success, others see result codes |
| Status | Text such as 001:Waiting, 002:Resolved | Numeric statusCode + localized status |
| Amounts | Strings, comma or dot ("1 250,50") | JSON numbers with a dot (1250.5) |
| Code values | Czech texts (Nemoc, Materiál...) | Numeric codes |
| Processing | Asynchronous, result fetched later | Synchronous by default, or async: true |
AddNewClaim
| Legacy field | v2 field | Notes |
policyNr | policyNumber | 10-digit string. Mandatory. |
claimName | claimName | Max 200 characters. Mandatory. |
causeType (text, Nemoc = illness) | causeType | 1 illness (Nemoc), 2 accident / injury. Mandatory. |
detail, causeDescription | description | Max 10,000 characters. Mandatory. |
claimType | - | Not an input. Set by PetExpert. |
incident.incidentDetail | incident.medicalReport (or incident.comment) | Max 10,000 characters. |
incident.clinicalSignsFrom | incident.clinicalSignsFrom | yyyy-MM-dd or ""; key mandatory, not null. |
incident.incidentStart | incident.visitDate | yyyy-MM-dd; defaults to today. |
incident.preauthorization, preauthorization | incident.preauthorization | JSON boolean. true = simulated incident. |
incident.xBankingSS | incident.externalid | Accepted, 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 field | v2 field | Notes |
itemName | name | Mandatory. Keep to 200 characters. |
itemCode | code | Mandatory. Send NCD when there is no code. |
itemType (text) | type (number) | See the table below. Mandatory. |
itemAmount | amount | JSON number, dot decimal separator, line total. Mandatory. |
itemNote | itemNote | Optional. |
| - | quantity, unitPrice | New, optional, informational. quantity must be an integer. |
itemType text to type code
| Legacy text | v2 type | Meaning |
Materiál | 1 | Material |
Ošetření | 2 | Treatment |
JinéSlužby | 3 | Other services |
Medikace | 4 | Medication |
Krmení | 5 | Food |
Administrativní | 6 | Administration |
Jiné | 7 | Other |
Send the numeric code directly in v2 and pick the most precise category.
AddNewIncident
| Legacy field | v2 field | Notes |
claimNr | claimNumber | 12 characters (CL...). Mandatory. |
inc.incidentName | incident.incidentName | Max 200 characters. |
inc.incidentDetail | incident.medicalReport | Max 10,000 characters. |
inc.clinicalSignsFrom | incident.clinicalSignsFrom | Key mandatory, not null. |
inc.incidentStart | incident.visitDate | yyyy-MM-dd. |
inc.CostItems.NewCostItem[] | incident.items[] | Same item mapping as above. |
Responses
| Legacy field | v2 field | Notes |
resultCode OK / NOK | resultCode | 100 = OK. |
claimNr | claimNumber | |
incidentNr | incidentNumber | |
claimedAmount | claimed | Number. |
blockedAmount | covered | Book only for statusCode 856900001 / 856900003. GetIncidentList still uses the name blockedAmount (always 0; use GetIncidentStatus). |
claimURL | claimUrl | |
authentication | - | Failed login is resultCode 410. |
| - | statusCode, status, currency, directPay, paymentHold, sid, trace | New in v2. |
Legacy status texts
| Legacy status | v2 statusCode |
001:Waiting | 856900000 Processing, or 999 async pending |
002:Resolved | 856900001 Confirmed |
003:Paid | 856900003 Paid |
004:Canceled/Rejected | 856900002 / 856900004 |
Methods
| Legacy method | Claim API v3 |
TestConnection, GetAccount, GetActivePolicy, GetCurrentBalance, GetOpenClaims, GetClaim | Same name |
AddNewClaim, AddNewIncident, ConfirmIncident, CancelIncident | Same name |
GetIncidentStatus, GetIncidentDetail, GetIncidentList, UpdateDayreport | Same name |
GetLastResult | Discontinued. Use GetIncidentStatus / GetIncidentList. |
GetPolicyByChipNr | Available in v3: send chipNr, then use the returned policy number with GetActivePolicy. |
AddEdoPolicy | Policy API AddNewPolicy with policy.type: "ex". See Express policy. |
RequestPayment, RequestPreauthorization | Use incident.preauthorization: true + ConfirmIncident. |