• Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problem mit Funktion getBookings

    ChurchTools Schnittstellen
    getbookings api
    1
    1
    157
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      claus.vogelmann
      last edited by

      Hallo zusammen,
      ich hab ein Problem mit dem Resultat von "getBookings". Für einen Serientermin liefert er mir folgendes Ergebnis:

      {
      	"id": "6556",
      	"cc_cal_id": "3877",
      	"resource_id": "8",
      	"person_id": "338",
      	"startdate": "2019-10-28 18:00:00",
      	"enddate": "2019-10-28 22:00:00",
      	"repeat_id": "32",
      	"repeat_frequence": "1",
      	"repeat_until": "2020-12-28 00:00:00",
      	"repeat_option_id": "6",
      	"status_id": "2",
      	"text": "Gideons (Broger Helmut)",
      	"location": "",
      	"note": "",
      	"show_in_churchcal_yn": "0",
      	"modified_date": "2020-10-10 10:42:57",
      	"create_date": "2019-09-09 17:43:40",
      	"person_name": "Alfred Tröster",
      	"station_id": null,
      	"bezeichnung": "Besprechungszimmer",
      	"version": "6",
      	"category_id": "1",
      	"cal_startdate": "2019-10-28 18:00:00",
      	"cal_enddate": "2019-10-28 22:00:00",
      	"exceptions": {
      		"2759": {
      			"id": "2759",
      			"except_date_start": "2020-03-30 00:00:00",
      			"except_date_end": "2020-03-30 00:00:00"
      		},
      		"2860": {
      			"id": "2860",
      			"except_date_start": "2020-04-27 00:00:00",
      			"except_date_end": "2020-04-27 00:00:00"
      		},
      		"3029": {
      			"id": "3029",
      			"except_date_start": "2020-05-25 00:00:00",
      			"except_date_end": "2020-05-25 00:00:00"
      		},
      		"3098": {
      			"id": "3098",
      			"except_date_start": "2020-10-26 00:00:00",
      			"except_date_end": "2020-10-26 00:00:00"
      		}
      	}
      }
      

      Daraus lese ich, dass sich der Termin wöchentlich bis zum "repeat_until": "2020-12-28 00:00:00" wiederholen soll - mit den Ausnahmen laut "Exceptions-Block".
      Allerdings ist es so, dass der Termin für heute (9.11.) und für nächsten Montag gelöscht wurde und auch nicht mehr im Churchtool aufscheint... Übersehe ich evt. noch was im Ergebnis?

      Vielen Dank!
      LG Claus

      1 Reply Last reply Reply Quote 0
      • First post
        Last post