Resource type: appointmentConflicts
This API call checks in real time whether an appointment conflicts with other appointments, for participants, resources, addresses and estates. Conflict notifications can thus be displayed while an appointment is being created or edited, rather than only after saving.
When editing an existing appointment, pass its ID in ignoreAppointmentId. Otherwise the appointment would be reported as a conflict with itself.
Parameters:
data
OBJECT. Appointment data that will be checked for conflicts:start_dt:STRING. Start of the appointment. Format: e.g. 2025-11-18 12:00:00. MANDATORY.end_dt:STRING. End of the appointment. Format: e.g. 2025-11-18 14:00:00. MANDATORY.transitTimePre:STRING. Transit time before the appointment. Time format: e.g. 00:30:00.transitTimePost:STRING. Transit time after the appointment. Time format: e.g. 00:30:00.ganztags:BOOL. All-day appointment?allowTransitTime:BOOL. Enter transit time?ressources:ARRAY. Resources of the appointment that will be checked for conflicts.status:STRING. Appointment status (Terminstatus). Possible values:active,completed,participantsAvailable,canceled.
relatedAddressIds
ARRAY. Address IDs that will be checked for conflicts.relatedEstateId
INTEGER. Estate ID that will be checked for conflicts.location
OBJECT. Place of the appointment, e.g.{"estate": 155}.subscribers
OBJECT. Participants that will be checked for conflicts. Can be users (users) and/or groups (groups).ignoreAppointmentId
INTEGER. ID of an existing appointment that is excluded from the conflict check. Use this parameter when editing an appointment so that the appointment is not reported as a conflict with itself. If the parameter is missing ornull, all appointments are taken into account.
Example:
{
"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get",
"resourceid": "",
"identifier": "",
"resourcetype": "appointmentConflicts",
"parameters": {
"data": {
"start_dt": "2025-11-18 12:00:00",
"end_dt": "2025-11-18 14:00:00",
"transitTimePre": "00:00:00",
"transitTimePost": "00:00:00",
"ganztags": false,
"allowTransitTime": true,
"ressources": ["Firmenfahrzeug", "Konferenzraum"],
"status": "active"
},
"relatedAddressIds": [371, 383],
"relatedEstateId": 325,
"location": {
"estate": 155
},
"subscribers": {
"users": [
21
],
"groups": [
]
},
"ignoreAppointmentId": 10
}
}
Response:
{
"status": {
"code": 200,
"errorcode": 0,
"message": "OK"
},
"response": {
"results": [
{
"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get",
"resourceid": "",
"resourcetype": "appointmentConflicts",
"cacheable": false,
"identifier": "",
"data": {
"meta": {
"cntabsolute": 4
},
"records": [
{
"id": "conflictedUsers",
"type": "",
"elements": [
{
"id": 21
}
]
},
{
"id": "conflictedResources",
"type": "",
"elements": [
{
"id": "Konferenzraum"
}
]
},
{
"id": "conflictedAddresses",
"type": "",
"elements": []
},
{
"id": "conflictedEstates",
"type": "",
"elements": []
}
]
},
"status": {
"errorcode": 0,
"message": "OK"
}
}
]
}
}
Response parameters:
records contains one entry per conflict type. The conflicting items are listed in elements. If there is no conflict of that type, elements is empty.
conflictedUsers
IDs of users who already have an appointment in this period.conflictedResources
Names of resources that are already booked in this period.conflictedAddresses
IDs of addresses that are already linked to an appointment in this period.conflictedEstates
IDs of estates that are already linked to an appointment in this period.
