List medical fee services
Returns a paginated list of all medical fee services of the company.
Request
GET /api/oauth/v2/resource/medicals
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | integer | No | Start position (default: 0) |
limit | integer | No | Number of results (default: 50, max: 200) |
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-08",
"quantity": 1.0,
"gross": 120.00,
"net": 100.00,
"netPerUnit": 100.00,
"unit": "Einheit",
"billStatus": 0,
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Blutabnahme",
"internalNumber": "02",
"description": null,
"diagnose": null,
"date": "2026-06-08",
"quantity": 1.0,
"gross": 25.00,
"net": 20.83,
"netPerUnit": 20.83,
"unit": null,
"billStatus": 1,
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
}
],
"meta": {
"total": 84,
"offset": 0,
"limit": 50
}
}Response fields
| Field | Type | Description |
|---|---|---|
data | Array | List of medical fee services |
data[].id | string (UUID) | Unique ID of the medical fee service |
data[].name | string | Name of the service |
data[].internalNumber | string | null | Internal service number |
data[].description | string | null | Description of the service |
data[].diagnose | string | null | Diagnosis (e.g. ICD code) |
data[].date | string | null | Service date (YYYY-MM-DD) |
data[].quantity | float | Number of units |
data[].gross | float | Gross amount |
data[].net | float | Net amount total |
data[].netPerUnit | float | Net amount per unit |
data[].unit | string | null | Unit (e.g. "unit", "hour") |
data[].billStatus | integer | null | Billing status (0 = open, 1 = billed) |
data[].customer | object | null | Assigned customer |
data[].customer.id | string (UUID) | Customer ID |
data[].customer.firstName | string | Customer first name |
data[].customer.lastName | string | Customer last name |
meta.total | integer | Total number of medical fee services |
meta.offset | integer | Current start position |
meta.limit | integer | Number of returned entries |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/medicals?offset=0&limit=50" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope medicals not present |