Get customer notice
Returns the details of a single customer notice.
Request
GET /api/oauth/v2/resource/customer-notices/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | Yes | Unique note ID |
Response
Success (200 OK)
json
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"text": "Patient prefers morning appointments.",
"customDate": "2026-06-08",
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
},
"treatingUser": {
"id": "d4c5b6a7-8901-2345-6789-0abcdef12345",
"firstName": "Maria",
"lastName": "Muster",
"abbreviation": "MM"
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
data.id | string (UUID) | Unique note ID |
data.text | string | Note text (decrypted) |
data.customDate | string | null | Date set by the user for the note (YYYY-MM-DD) |
data.customer | object | null | Assigned customer |
data.customer.id | string (UUID) | Customer ID |
data.customer.firstName | string | null | First name |
data.customer.lastName | string | null | Last name |
data.treatingUser | object | null | Treating staff member |
data.treatingUser.id | string (UUID) | User ID |
data.treatingUser.firstName | string | First name |
data.treatingUser.lastName | string | Last name |
data.treatingUser.abbreviation | string | null | User's abbreviation |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/customer-notices/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
-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 notices not present |
| 404 | not_found | Note not found |