help implementing freebusys and event to one json file

91 views
Skip to first unread message

NoobCoder

unread,
Dec 24, 2015, 12:30:44 PM12/24/15
to jquery week calendar
Hi,

I need some help please.

i want to implement events and freebusys on week calendar using one json file,

on the examples, i can only find events being fetch from json object without freebusys,

how can i make this possible to fetch both using json objects and display into the calendar?

thank you

Joop Stringer

unread,
Jan 27, 2016, 11:25:04 AM1/27/16
to jquery week calendar
Check this out !

{

"events":
[{"id":8232,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"06512569","contemail":"joop.s...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 11:45","end":"01/27/2016 12:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false},{"id":8238,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"0651256956","contemail":"joop.s...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 12:45","end":"01/27/2016 13:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false}],

"freebusys":
[{"userId":16,"start":"01/25/2016 09:00","end":"01/25/2016 17:00","free":true},{"userId":16,"start":"01/25/2016 12:00","end":"01/25/2016 14:00","free":false},{"userId":16,"start":"01/26/2016 09:00","end":"01/26/2016 17:00","free":true},{"userId":16,"start":"01/27/2016 09:00","end":"01/27/2016 17:00","free":true},{"userId":16,"start":"01/28/2016 09:00","end":"01/28/2016 17:00","free":true},{"userId":16,"start":"01/29/2016 09:00","end":"01/29/2016 17:00","free":true}]

}


Op donderdag 24 december 2015 18:30:44 UTC+1 schreef NoobCoder:
Reply all
Reply to author
Forward
0 new messages