Update medical fee service
Updates an existing medical fee service. All fields are optional — only send the fields you want to change.
Request
PUT /api/oauth/v2/resource/medicals/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Content-Type | application/json |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | Yes | Unique ID of the medical fee service |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Name of the service |
internalNumber | string | No | Internal service number |
diagnose | string | No | Diagnosis (e.g. ICD code) |
unit | string | No | Unit (e.g. "unit", "hour") |
quantity | float | No | Number of units |
gross | float | No | Gross amount |
date | string | No | Service date (YYYY-MM-DD) |
Response
Success (200 OK)
json
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Erstkonsultation",
"internalNumber": "01",
"description": "Erste ärztliche Untersuchung inkl. Anamnese",
"diagnose": "Z00.0",
"date": "2026-06-10",
"quantity": 2.0,
"gross": 240.00,
"net": 200.00,
"netPerUnit": 100.00,
"unit": "Einheit",
"billStatus": 0,
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
}
}Response fields
See Get medical fee service for the full field description.
Beispiele
bash
curl -X PUT "https://my.offisy.at/api/oauth/v2/resource/medicals/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"name": "Muster GmbH",
"internalNumber": "beispiel",
"diagnose": "beispiel",
"unit": "beispiel",
"quantity": "beispiel",
"gross": "beispiel",
"date": "2026-04-15T10:00:00"
}'Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 400 | validation_error | Invalid request data |
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope medicals not present |
| 404 | not_found | Medical fee service not found |